From 59cff75ad536298c3c4867ea54f74731fa2ae88d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
input port to the console log.
function onMIDIMessage( event ) { - var str = "MIDI message received at timestamp " + event.timestamp + "[" + event.data.length + " bytes]: "; + var str = "MIDI message received at timestamp " + event.timeStamp + "[" + event.data.length + " bytes]: "; for (var i=0; i<event.data.length; i++) { str += "0x" + event.data[i].toString(16) + " "; } @@ -1414,7 +1414,7 @@function echoMIDIMessage( event ) { if (output) { - output.send( event.data, event.timestamp ); + output.send( event.data, event.timeStamp ); } }