From e3bac4b288480f5400b4543307b17e3da8dad817 Mon Sep 17 00:00:00 2001 From: stelian56 Date: Fri, 9 May 2014 19:27:35 -0400 Subject: [PATCH] Updated web console --- bmserver/.gitignore | 1 + bmserver/web/js/bodymusic.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 bmserver/.gitignore diff --git a/bmserver/.gitignore b/bmserver/.gitignore new file mode 100644 index 0000000..5e56e04 --- /dev/null +++ b/bmserver/.gitignore @@ -0,0 +1 @@ +/bin diff --git a/bmserver/web/js/bodymusic.js b/bmserver/web/js/bodymusic.js index 651aa42..44bd757 100644 --- a/bmserver/web/js/bodymusic.js +++ b/bmserver/web/js/bodymusic.js @@ -25,7 +25,7 @@ $(function() { } } var host = "ws://localhost:8080"; - var instruments = {0: [0]}; // key = sensor ID, value = IDs of associated instruments + var instruments = {0: [0], 1: [1]}; // key = sensor ID, value = IDs of associated instruments var staffStep = 2; var staffHeight = 120; var c4Pitch = 48;