summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/instrument.h b/src/instrument.h
index fb8aeac..e61d2b8 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -40,7 +40,7 @@ class Instrument {
public:
Instrument();
- Sample *sample(level_t level);
+ Sample *sample(level_t level, size_t pos);
std::string name();
std::string description();
@@ -56,6 +56,9 @@ private:
void addSample(level_t a, level_t b, Sample *s);
std::vector<Sample*> samplelist;
+
+ size_t lastpos;
+ float mod;
};
//typedef std::map< std::string, Instrument > Instruments;