Changes
1 changed files (+2/-2)
-
-
@@ -19,11 +19,11 @@ noteRange={{ first: firstNote, last: lastNote }}playNote={(midiNumber) => { console.log(midiNumber); const freq = 880 * (2**((midiNumber - 69)/12)); fetch('http://10.242.6.228:5000/startfreq/' + freq); fetch('http://dubdub.mit.edu:5000/startfreq/' + freq); }} stopNote={(midiNumber) => { const freq = 880 * (2**((midiNumber - 69)/12)); fetch('http://10.242.6.228:5000/stopfreq/' + freq); fetch('http://dubdub.mit.edu:5000/stopfreq/' + freq); }} width={1000} keyboardShortcuts={keyboardShortcuts}
-