From 59028c871f2b5d211d74cc9fcce5d7891427f2c5 Mon Sep 17 00:00:00 2001 From: Michael Deal Date: Sat, 26 Jan 2013 13:53:15 -0800 Subject: [PATCH] tweak Basic demo --- demo-Basic.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo-Basic.html b/demo-Basic.html index b3a3175..9a36a79 100644 --- a/demo-Basic.html +++ b/demo-Basic.html @@ -25,8 +25,9 @@ window.onload = function () { var note = 50; // the MIDI note var velocity = 127; // how hard the note hits // play the note + MIDI.setVolume(0, 127); MIDI.noteOn(0, note, velocity, delay); - MIDI.noteOff(0, note, delay+0.01); + MIDI.noteOff(0, note, delay + 0.75); } }); };