fix piano velocity

This commit is contained in:
Felix Roos 2022-03-16 23:02:54 +01:00
parent 963cfe052a
commit d8d460f175

View File

@ -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':