-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.mim
43 lines (35 loc) · 941 Bytes
/
example.mim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Device "Launch Control"
//display value 0:127 for knobs 21-28
Command controller
id=21:28
shell='echo "Knob #$id ch$channel:$value"'
//display value -100:100 for knob 41 on channel 0
Command controller
id=41
channel=0
remap=-100:100
shell='echo "Knob #$id ch0:$value r:$rawvalue"'
//display value 0:1:0 for knob 41 on channel 1 (first half)
Command controller
id=42
channel=1
range=0:63
remap=0:1
float=true
shell='echo "Knob #$id ch1:$value r:$rawvalue"'
//display value 0:1:0 for knob 41 on channel 1 (second half)
Command controller
id=42
channel=1
range=64:127
remap=1:0
float=true
shell='echo "Knob #$id ch1:$value r:$rawvalue"'
Device "Launchpad S"
//display any note pressed and its velocity
Command note
shell=echo Note $id on velocity:$velocity
//display any note off
Command note
trigger=0
shell=echo Note $id off