Skip to content
Snippets Groups Projects
Commit 2a67a788 authored by Micah Elizabeth Scott's avatar Micah Elizabeth Scott
Browse files

Add MIDI mappings for Oxygen61 keyboard sliders

parent 635c0556
No related branches found
No related tags found
No related merge requests found
......@@ -97,10 +97,11 @@ input.on 'message', (deltaTime, message) ->
when 0xb # Voice 0, Control Change
switch message[1]
when 7 # "Data entry" slider, brightness
when 7, 33 # "Data entry" / "C1" slider, brightness
brightness = message[2] * 2.0 / 127
when 1 # "Modulation" slider, particle speed
when 1, 34 # "Modulation" / "C2" slider, particle speed
console.log message[2]
particleLifetime = 0.1 + message[2] * 2.0 / 127
when 0xe # Voice 0, Pitch Bend
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment