summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
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/drumgizmo.cc
parente0d30c06949552671d95a6b75bd905d8162f72e7 (diff)
Humaniser added. Speedy strokes get lower velocity levels.
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index b7b2841..7da5947 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -122,7 +122,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples)
continue;
}
- Sample *s = i->sample(evs[e].velocity);
+ Sample *s = i->sample(evs[e].velocity, evs[e].offset + pos);
if(s == NULL) {
printf("Missing Sample.\n");