zmidimap/example.mim
2019-06-16 22:59:24 +02:00

72 lines
1.3 KiB
Text

[
{
name=Launch Control
commands=[
{
//=KNOB HA
//=displays value 0:127 for knobs 21-28
type=controller
id=21:28
shell=echo "Knob #$id ch$channel:$value"
},
{
//=KNOB L1
//=displays value 0:127 for knob 41 from any channel
type=controller
id=41
channel=*
shell=echo "Knob #$id ch$channel:$value"
},
{
//=KNOB L2
//=displays value -100:100 for knob 42 on channel 0
type=controller
id=42
channel=0
remap=-100:100
shell=echo "Knob #$id ch$channel:$value r:$rawvalue"
},
{
//=KNOB L3 H1
//=displays value 0:1:0 for knob 42 on channel 1 (first half)
type=controller
id=42
channel=1
range=0:63
remap=0:1
float=true
shell=echo "Knob #$id ch$channel:$value"
},
{
//=KNOB L3 H2
//=displays value 0:1:0 for knob 42 on channel 1 (second half)
type=controller
id=42
channel=1
range=64:127
remap=1:0
float=true
shell=echo "Knob #$id ch$channel:$value"
}
]
}
,
{
name=Launchpad S
commands=[
{
type=note
id=*
shell=echo "Note $id on velocity:$velocity"
},
{
type=note
id=*
trigger=0
shell=echo "Note $id off"
}
]
}
]