]> git.sesse.net Git - nageru/blob - futatabi/behringer_cmd_pl1.midimapping
Log a warning when we kill a client that is not keeping up.
[nageru] / futatabi / behringer_cmd_pl1.midimapping
1 # Example mapping for the Behringer CMD PL-1. Like akai_midimix.midimapping
2 # for nageru, this one is written by hand, and serves as a simple example
3 # of the basic features. The PL-1 is a DJ controller, not a dedicated slow
4 # motion controller, but it's also something like 1/20th the price of one.
5 # Thus, while the mappings may be slightly confusing, it has basically
6 # everything we need to do efficient slow motion control.
7
8 # The jog wheel.
9 jog: { controller_number: 31 }
10
11 # 1-8 buttons logically switch camera.
12 camera: { button: { note_number: 16 } is_current: { note_number: 16 } }
13 camera: { button: { note_number: 17 } is_current: { note_number: 17 } }
14 camera: { button: { note_number: 18 } is_current: { note_number: 18 } }
15 camera: { button: { note_number: 19 } is_current: { note_number: 19 } }
16 camera: { button: { note_number: 20 } is_current: { note_number: 20 } }
17 camera: { button: { note_number: 21 } is_current: { note_number: 21 } }
18 camera: { button: { note_number: 22 } is_current: { note_number: 22 } }
19 camera: { button: { note_number: 23 } is_current: { note_number: 23 } }
20
21 # Play is naturally mapped to the play button.
22 play: { note_number: 35 }
23 play_ready: { note_number: 35  velocity: 2 }
24 playing: { note_number: 35 }
25
26 # Next is mapped to fast-forward.
27 next: { note_number: 37 }
28 next_ready: { note_number: 37 }
29
30 # Queue is marked to Cue; close enough.
31 queue: { note_number: 34 }
32 queue_enabled: { note_number: 34 }
33
34 # Cue in and out are mapped to Sync and Tap.
35 cue_in: { note_number: 32 }
36 cue_in_enabled: { note_number: 32 }
37 cue_out: { note_number: 33 }
38 cue_out_enabled: { note_number: 33 }
39
40 # Preview is mapped to Scratch. It doesn't really feel right,
41 # but it's also unclear where else it would be.
42 preview: { note_number: 27 }
43 preview_playing: { note_number: 27 }
44 preview_ready: { note_number: 27  velocity: 2 }
45
46 # The slider (pitch bend) is mapped to master speed.
47 master_speed: { controller_number: 128 }
48 master_speed_light: { controller_number: 10 }
49 master_speed_light_min: 1
50 master_speed_light_max: 15
51
52 # Master speed lock is mapped to lock.
53 toggle_lock: { note_number: 25 }
54 locked: { note_number: 25 }
55 locked_blinking: { note_number: 25  velocity: 2 }