summaryrefslogtreecommitdiff
path: root/client/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-10-10 14:13:15 +0200
committerJules Laplace <julescarbon@gmail.com>2018-10-10 14:13:15 +0200
commit4378f977c385f475826b9680ae4c705e5ebff910 (patch)
tree175f671a01bb794f49ba6d8b2e1af4c8e26a732a /client/index.js
parenta64c4fa7e1913fe14124190086d0d5624445c808 (diff)
deploy
Diffstat (limited to 'client/index.js')
-rw-r--r--client/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/index.js b/client/index.js
index 527fb64..2c9716a 100644
--- a/client/index.js
+++ b/client/index.js
@@ -125,13 +125,13 @@ function play_mass_shootings(i, bounds, diff, note_time, channel="all", exportin
timings = [64, 64]
break
case 3:
- midi_notes.push(play_note( norm(notes[0], min, max) * nx.multiply.value, 43, channel, exporting, mass_rest))
+ midi_notes.push(play_note( norm(notes[0], min, max) * nx.multiply.value, 43, channel, exporting, mass_rest, 0))
midi_notes.push(play_note( norm(notes[1], min, max) * nx.multiply.value, 43, channel, exporting, 0, 43))
midi_notes.push(play_note( norm(notes[2], min, max) * nx.multiply.value, 42, channel, exporting, 0, 85))
timings = [43, 43 ,42]
break
case 4:
- midi_notes.push(play_note( norm(notes[0], min, max) * nx.multiply.value, 32, channel, exporting, mass_rest))
+ midi_notes.push(play_note( norm(notes[0], min, max) * nx.multiply.value, 32, channel, exporting, mass_rest, 0))
midi_notes.push(play_note( norm(notes[1], min, max) * nx.multiply.value, 32, channel, exporting, 0, 32))
midi_notes.push(play_note( norm(notes[2], min, max) * nx.multiply.value, 32, channel, exporting, 0, 64))
midi_notes.push(play_note( norm(notes[3], min, max) * nx.multiply.value, 32, channel, exporting, 0, 96))