diff --git a/repl/src/tone.ts b/repl/src/tone.ts index 8732342e..3bcc11fa 100644 --- a/repl/src/tone.ts +++ b/repl/src/tone.ts @@ -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':