@@ -417,17 +417,6 @@ Console1::eq_band_q (const uint32_t band, uint32_t value)
417
417
session->set_control (control, freq, PBD::Controllable::UseGroup);
418
418
}
419
419
420
- void
421
- Console1::eq_band_q (const uint32_t band, uint32_t value)
422
- {
423
- if (!_current_stripable || !_current_stripable->mapped_control (EQ_BandQ, band)) {
424
- return ;
425
- }
426
- std::shared_ptr<AutomationControl> control = _current_stripable->mapped_control (EQ_BandQ, band);
427
- double freq = midi_to_control (control, value);
428
- session->set_control (control, freq, PBD::Controllable::UseGroup);
429
- }
430
-
431
420
// The Mixbus-Sends are in the EQ section
432
421
// Without Shift:
433
422
// LowMid Shape is Send 11
@@ -931,42 +920,6 @@ Console1::map_eq ()
931
920
}
932
921
}
933
922
934
- void
935
- Console1::map_eq_mode (){
936
- #ifdef MIXBUS
937
- DEBUG_TRACE (DEBUG::Console1, " Enter map_eq_mode()\n " );
938
- if (!_current_stripable)
939
- return ;
940
- std::shared_ptr<ARDOUR::Route> rt = std::dynamic_pointer_cast<ARDOUR::Route>( _current_stripable );
941
- if (!rt)
942
- return ;
943
- EQ_MODE current_eq_mode = EQ_MODE (rt->eq_mode_control () ? rt->eq_mode_control ()->get_value () : -1 );
944
- DEBUG_TRACE (DEBUG::Console1, string_compose (" map_eq_mode() - mode: %1\n " , current_eq_mode));
945
- if (current_eq_mode != strip_eq_mode)
946
- {
947
- strip_eq_mode = current_eq_mode;
948
- EQBandQBindingChange ();
949
- }
950
- #endif
951
- }
952
-
953
-
954
- void
955
- Console1::map_eq_band_q (const uint32_t band)
956
- {
957
- DEBUG_TRACE (DEBUG::Console1, string_compose ( " map_eq_band_q band: %1 \n " , band));
958
- if (shift_state || switch_eq_q_dials) {
959
- DEBUG_TRACE (DEBUG::Console1, " Exit map_eq_band_q 1\n " );
960
- return ;
961
- }
962
- ControllerID controllerID = eq_q_controller_for_band (band);
963
- if (map_encoder (controllerID)) {
964
- std::shared_ptr<AutomationControl> control = _current_stripable->mapped_control (EQ_BandQ, band);
965
- map_encoder (controllerID, control);
966
- }
967
- }
968
-
969
-
970
923
void
971
924
Console1::map_eq_mode ()
972
925
{
@@ -1208,36 +1161,6 @@ Console1::map_comp_emph ()
1208
1161
}
1209
1162
}
1210
1163
1211
- void Console1::eqBandQChangeMapping (){
1212
-
1213
- DEBUG_TRACE (DEBUG::Console1, string_compose (" eqBandQChangeMapping(): band_q_as_send = %1, strip_eq_mode = %2\n " , band_q_as_send, strip_eq_mode));
1214
- Encoder* lme = get_encoder (LOW_MID_SHAPE);
1215
- Encoder* hme = get_encoder (HIGH_MID_SHAPE);
1216
- switch_eq_q_dials = band_q_as_send || (strip_eq_mode == EQM_HARRISON );
1217
-
1218
- if (!lme || !hme)
1219
- {
1220
- DEBUG_TRACE (DEBUG::Console1, " eqBandQChangeMapping: Controller not found \n " );
1221
- return ;
1222
- }
1223
-
1224
- if ( switch_eq_q_dials )
1225
- {
1226
- DEBUG_TRACE (DEBUG::Console1, " eqBandQChangeMapping() set harrison or send mode\n " );
1227
- lme->set_action (std::function<void (uint32_t )> (std::bind (&Console1::mb_send_level, this , 10 , _1)));
1228
- hme->set_action (std::function<void (uint32_t )> (std::bind (&Console1::mb_send_level, this , 11 , _1)));
1229
- map_mb_send_level (10 );
1230
- map_mb_send_level (11 );
1231
- }
1232
- else
1233
- {
1234
- DEBUG_TRACE (DEBUG::Console1, " eqBandQChangeMapping() set ssl q mode\n " );
1235
- lme->set_action (std::function<void (uint32_t )> (std::bind (&Console1::eq_band_q, this , 1 , _1)));
1236
- hme->set_action (std::function<void (uint32_t )> (std::bind (&Console1::eq_band_q, this , 2 , _1)));
1237
- map_eq_band_q (1 );
1238
- map_eq_band_q (2 );
1239
- }
1240
- }
1241
1164
1242
1165
void Console1::eqBandQChangeMapping (bool mapValues)
1243
1166
{
0 commit comments