mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 21:58:31 +00:00
fix piano velocity
This commit is contained in:
parent
963cfe052a
commit
d8d460f175
@ -44,7 +44,7 @@ Pattern.prototype.tone = function (instrument) {
|
||||
break;
|
||||
case 'Piano':
|
||||
note = getPlayableNoteValue(event);
|
||||
instrument.keyDown({ note, time, velocity: 0.5 });
|
||||
instrument.keyDown({ note, time, velocity });
|
||||
instrument.keyUp({ note, time: time + event.duration, velocity });
|
||||
break;
|
||||
case 'Sampler':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user