Hi everyone !
Getting back into using a matrix after a while.
I currently have these simple buttons set up:
I would like each of the buttons to send multiple messages as follow:
//for "CHECK" button 1
send("midi:my_midi_device", "/control", 1, 15, 2)
send("midi:my_midi_device", "/control", 1, 47, 67)
send("midi:my_midi_device", "/control", 1, 15, 2)
send("midi:my_midi_device", "/control", 1, 47, 3)
//For "CHECK" button 2
send("midi:my_midi_device", "/control", 2, 36, 5)
send("midi:my_midi_device", "/control", 2, 12, 3)
send("midi:my_midi_device", "/control", 2, 24, 10)
send("midi:my_midi_device", "/control", 2, 17, 27)
etc...
My current props
is:
JS{{
var props = {}
var labels = ["CHECK"]
var colors = ["purple"]
props.mode = "toggle"
props.label = labels
props.colorWidget = colors
props.address = "/control"
props.preArgs = ???
props.target = "midi:my_midi_device"
return props
}}
I tried to create a variable for the preArgs
but couldn't find a way to make it happen.
Any ideas ?