diff --git a/demo-Basic.html b/demo-Basic.html index 66e73c5..b3a3175 100644 --- a/demo-Basic.html +++ b/demo-Basic.html @@ -1,7 +1,7 @@ - + @@ -9,8 +9,8 @@ - + @@ -26,6 +26,7 @@ window.onload = function () { var velocity = 127; // how hard the note hits // play the note MIDI.noteOn(0, note, velocity, delay); + MIDI.noteOff(0, note, delay+0.01); } }); }; diff --git a/demo-MIDIPlayer.html b/demo-MIDIPlayer.html index 62f44c6..ce3e76d 100644 --- a/demo-MIDIPlayer.html +++ b/demo-MIDIPlayer.html @@ -3,9 +3,9 @@ MIDI.js - Sequencing in Javascript. - + - + @@ -20,8 +20,9 @@ - - + + + diff --git a/demo-MultipleInstruments.html b/demo-MultipleInstruments.html index 328ff1e..2d25885 100644 --- a/demo-MultipleInstruments.html +++ b/demo-MultipleInstruments.html @@ -1,14 +1,16 @@ + - - + + + diff --git a/demo-WhitneyMusicBox.html b/demo-WhitneyMusicBox.html index 4505ccc..134bed1 100644 --- a/demo-WhitneyMusicBox.html +++ b/demo-WhitneyMusicBox.html @@ -2,6 +2,7 @@ Whitney Music Box in HTML5 + @@ -12,10 +13,11 @@ - - + + + - +