From 59cff75ad536298c3c4867ea54f74731fa2ae88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Thu, 21 Oct 2021 13:38:06 +1100 Subject: [PATCH] Editorial: fix event.timeStamp typo --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 8c9f7d5..309f327 100644 --- a/index.html +++ b/index.html @@ -1372,7 +1372,7 @@

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 ); } }