13
0

LCXL: Add some Mixbus functionality

in the mixer mode secondary functions
    (Device/Hold) of knobs per track
    will map as follows:

    Send A - trim (same as for Ardour)
    Send B - HPF Freq
    PAN    - Compressor threshold
This commit is contained in:
Jan Lentfer 2018-08-20 20:41:02 +02:00 committed by Robin Gareus
parent d17b6c5eea
commit fa7c8f6013

View File

@ -467,13 +467,21 @@ LaunchControlXL::handle_knob_message (Knob* knob)
}
} else if (knob->id() >= 8 && knob->id() < 16) { // sendB knob
if (buttons_down.find(Device) != buttons_down.end()) { // Device button hold
#ifdef MIXBUS
ac = stripable[chan]->filter_freq_controllable (true);
#else
/* something */
#endif
} else {
ac = stripable[chan]->send_level_controllable (1);
}
} else if (knob->id() >= 16 && knob->id() < 24) { // pan knob
if (buttons_down.find(Device) != buttons_down.end()) { // Device button hold
#ifdef MIXBUS
ac = stripable[chan]->comp_threshold_controllable();
#else
ac = stripable[chan]->pan_width_control();
#endif
} else {
ac = stripable[chan]->pan_azimuth_control();
}