diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-08 15:29:28 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-08 15:29:28 +0200 |
commit | 068bbbba9248fc11c7c852508c916579bd2621e2 (patch) | |
tree | 435e45d4e5706989c7b254b9f9bdde38d8f82127 /src/instrument.h | |
parent | e0d30c06949552671d95a6b75bd905d8162f72e7 (diff) |
Humaniser added. Speedy strokes get lower velocity levels.
Diffstat (limited to 'src/instrument.h')
-rw-r--r-- | src/instrument.h | 5 |
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; |