fix piano velocity
This commit is contained in:
parent
963cfe052a
commit
d8d460f175
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue