summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-08 15:29:28 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-08 15:29:28 +0200
commit068bbbba9248fc11c7c852508c916579bd2621e2 (patch)
tree435e45d4e5706989c7b254b9f9bdde38d8f82127 /src/instrument.h
parente0d30c06949552671d95a6b75bd905d8162f72e7 (diff)
Humaniser added. Speedy strokes get lower velocity levels.
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;