Ardour  8.7-14-g57a6773833
console1.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Holger Dehnhardt <holger@dehnhardt.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef ardour_surface_console1_h
20 #define ardour_surface_console1_h
21 
22 #include <list>
23 #include <map>
24 #include <set>
25 
26 #define ABSTRACT_UI_EXPORTS
27 #include "pbd/abstract_ui.h"
28 
30 
32 #include "control_protocol/types.h"
33 
36 
37 namespace MIDI {
38 class Parser;
39 class Port;
40 }
41 
42 namespace ARDOUR {
43 class AsyncMIDIPort;
44 class Bundle;
45 class Port;
46 class Plugin;
47 class Processor;
48 class ReadOnlyControl;
49 class Route;
50 class Session;
51 class MidiPort;
52 }
53 
54 namespace PBD {
55 class Controllable;
56 }
57 
58 class MIDIControllable;
59 class MIDIFunction;
60 class MIDIAction;
61 
62 namespace ArdourSurface {
63 
64 class C1GUI;
65 
66 // XXX TODO: these classes should not be in the ArdourSurface namespace
67 // which is shared with all other ctrl surfaces.
68 //
69 // ArdourSurface::Meter etc may cause conflicts.
70 // best add a C1 prefix, or additional namespace
71 
72 class Controller;
73 class ControllerButton;
74 class MultiStateButton;
75 class Meter;
76 class Encoder;
77 
78 // 'using' in header files is frowned upon.
79 // it may cause conflicts or result in amgibuities
80 using Controllable = std::shared_ptr<PBD::Controllable>;
82 
83 class ControlNotFoundException : public std::exception
84 {
85 public:
87 };
88 
89 class Console1 : public MIDISurface
90 {
91 
92  friend Controller;
95  friend Meter;
96  friend Encoder;
97 
98 public:
101 
102  void map_p ();
103 
104  int set_active (bool yn) override;
105 
106  bool has_editor () const override { return true; }
107  void* get_gui () const override;
108  void tear_down_gui () override;
109 
110  std::string input_port_name () const override;
111  std::string output_port_name () const override;
112 
113  XMLNode& get_state () const override;
114  int set_state (const XMLNode&, int version) override;
115 
118 
119  PBD::Signal0<void> ConnectionChange;
120 
121  /* Timer Events */
122  PBD::Signal1<void, bool> BlinkIt;
123  PBD::Signal0<void> Periodic;
124 
125  /* Local Signals */
126  PBD::Signal0<void> BankChange;
127  PBD::Signal1<void, bool> ShiftChange;
128  PBD::Signal1<void, bool> PluginStateChange;
129 
131  {
133  VOLUME = 7,
134  PAN = 10,
135  MUTE = 12,
136  SOLO = 13,
137  ORDER = 14,
138  DRIVE = 15,
140  CHARACTER = 18,
141  FOCUS1 = 21,
160  FOCUS20 = 40,
161  COMP = 46,
165  COMP_PAR = 50,
167  SHAPE = 53,
172  PRESET = 58,
173  HARD_GATE = 59,
176  EQ = 80,
177  HIGH_GAIN = 82,
178  HIGH_FREQ = 83,
185  LOW_GAIN = 91,
186  LOW_FREQ = 92,
187  LOW_SHAPE = 93,
188  PAGE_UP = 96,
189  PAGE_DOWN = 97,
190  DISPLAY_ON = 102,
191  LOW_CUT = 103,
192  MODE = 104,
193  HIGH_CUT = 105,
194  GAIN = 107,
195  PHASE_INV = 108,
200  SHAPE_METER = 114,
201  COMP_METER = 115,
202  TRACK_COPY = 120,
203  TRACK_GROUP = 123,
204 
205  };
206 
207  using ControllerMap = std::map<std::string, ControllerID>;
208 
209  ControllerMap controllerMap{ { "CONTROLLER_NONE", ControllerID::CONTROLLER_NONE },
210  { "VOLUME", ControllerID::VOLUME },
211  { "PAN", ControllerID::PAN },
212  { "MUTE", ControllerID::MUTE },
213  { "SOLO", ControllerID::SOLO },
214  { "ORDER", ControllerID::ORDER },
215  { "DRIVE", ControllerID::DRIVE },
216  { "EXTERNAL_SIDECHAIN", ControllerID::EXTERNAL_SIDECHAIN },
217  { "CHARACTER", ControllerID::CHARACTER },
218  { "FOCUS1", ControllerID::FOCUS1 },
219  { "FOCUS2", ControllerID::FOCUS2 },
220  { "FOCUS3", ControllerID::FOCUS3 },
221  { "FOCUS4", ControllerID::FOCUS4 },
222  { "FOCUS5", ControllerID::FOCUS5 },
223  { "FOCUS6", ControllerID::FOCUS6 },
224  { "FOCUS7", ControllerID::FOCUS7 },
225  { "FOCUS8", ControllerID::FOCUS8 },
226  { "FOCUS9", ControllerID::FOCUS9 },
227  { "FOCUS10", ControllerID::FOCUS10 },
228  { "FOCUS11", ControllerID::FOCUS11 },
229  { "FOCUS12", ControllerID::FOCUS12 },
230  { "FOCUS13", ControllerID::FOCUS13 },
231  { "FOCUS14", ControllerID::FOCUS14 },
232  { "FOCUS15", ControllerID::FOCUS15 },
233  { "FOCUS16", ControllerID::FOCUS16 },
234  { "FOCUS17", ControllerID::FOCUS17 },
235  { "FOCUS18", ControllerID::FOCUS18 },
236  { "FOCUS19", ControllerID::FOCUS19 },
237  { "FOCUS20", ControllerID::FOCUS20 },
238  { "COMP", ControllerID::COMP },
239  { "COMP_THRESH", ControllerID::COMP_THRESH },
240  { "COMP_RELEASE", ControllerID::COMP_RELEASE },
241  { "COMP_RATIO", ControllerID::COMP_RATIO },
242  { "COMP_PAR", ControllerID::COMP_PAR },
243  { "COMP_ATTACK", ControllerID::COMP_ATTACK },
244  { "SHAPE", ControllerID::SHAPE },
245  { "SHAPE_GATE", ControllerID::SHAPE_GATE },
246  { "SHAPE_SUSTAIN", ControllerID::SHAPE_SUSTAIN },
247  { "SHAPE_RELEASE", ControllerID::SHAPE_RELEASE },
248  { "SHAPE_PUNCH", ControllerID::SHAPE_PUNCH },
249  { "PRESET", ControllerID::PRESET },
250  { "HARD_GATE", ControllerID::HARD_GATE },
251  { "FILTER_TO_COMPRESSORS", ControllerID::FILTER_TO_COMPRESSORS },
252  { "HIGH_SHAPE", ControllerID::HIGH_SHAPE },
253  { "EQ", ControllerID::EQ },
254  { "HIGH_GAIN", ControllerID::HIGH_GAIN },
255  { "HIGH_FREQ", ControllerID::HIGH_FREQ },
256  { "HIGH_MID_GAIN", ControllerID::HIGH_MID_GAIN },
257  { "HIGH_MID_FREQ", ControllerID::HIGH_MID_FREQ },
258  { "HIGH_MID_SHAPE", ControllerID::HIGH_MID_SHAPE },
259  { "LOW_MID_GAIN", ControllerID::LOW_MID_GAIN },
260  { "LOW_MID_FREQ", ControllerID::LOW_MID_FREQ },
261  { "LOW_MID_SHAPE", ControllerID::LOW_MID_SHAPE },
262  { "LOW_GAIN", ControllerID::LOW_GAIN },
263  { "LOW_FREQ", ControllerID::LOW_FREQ },
264  { "LOW_SHAPE", ControllerID::LOW_SHAPE },
265  { "PAGE_UP", ControllerID::PAGE_UP },
266  { "PAGE_DOWN", ControllerID::PAGE_DOWN },
267  { "DISPLAY_ON", ControllerID::DISPLAY_ON },
268  { "LOW_CUT", ControllerID::LOW_CUT },
269  { "MODE", ControllerID::MODE },
270  { "HIGH_CUT", ControllerID::HIGH_CUT },
271  { "GAIN", ControllerID::GAIN },
272  { "PHASE_INV", ControllerID::PHASE_INV },
273  { "INPUT_METER_L", ControllerID::INPUT_METER_L },
274  { "INPUT_METER_R", ControllerID::INPUT_METER_R },
275  { "OUTPUT_METER_L", ControllerID::OUTPUT_METER_L },
276  { "OUTPUT_METER_R", ControllerID::OUTPUT_METER_R },
277  { "SHAPE_METER", ControllerID::SHAPE_METER },
278  { "COMP_METER", ControllerID::COMP_METER },
279  { "TRACK_COPY", ControllerID::TRACK_COPY },
280  { "TRACK_GROUP", ControllerID::TRACK_GROUP } };
281 
282 private:
283  std::string config_dir_name = "c1mappings";
284  /* GUI */
285  mutable C1GUI* gui;
286  void build_gui ();
287 
288  /* Configuration */
289  const uint32_t bank_size = 20;
290 
291  // Shift button
292  bool shift_state = false;
293  bool in_plugin_state = false;
294 
295  bool rolling = false;
296  uint32_t current_bank = 0;
298 
299  uint32_t max_strip_index = 0;
300  uint32_t master_index = 0;
301 
302  int32_t current_plugin_index = -1;
303 #ifdef MIXBUS
304  int32_t selected_intern_plugin_index = -1;
305 #endif
306 
307  std::shared_ptr<ARDOUR::AutomationControl> current_pan_control = nullptr;
308 
309  std::shared_ptr<ARDOUR::Stripable> _current_stripable;
310  std::weak_ptr<ARDOUR::Stripable> pre_master_stripable;
311  std::weak_ptr<ARDOUR::Stripable> pre_monitor_stripable;
312 
314  boost::function<void (uint32_t)> action,
315  boost::function<void (uint32_t)> shift_action = 0);
316 
317  void setup_controls ();
318 
319  bool strip_recenabled = false;
321 
322  int begin_using_device () override;
323  int stop_using_device () override;
324 
325  int device_acquire () override { return 0; }
326  void device_release () override {}
327 
328  void connect_session_signals () override;
330 
331  void run_event_loop ();
333 
334  /* MIDI-Message handler - we only have controller messages */
336 
338 
339  /* Strip inventory */
340  typedef std::map<uint32_t, order_t> StripInventoryMap;
341 
343 
345 
348  }
349 
350  order_t get_inventory_order_by_index (const uint32_t index);
352 
353  void select_rid_by_index (const uint32_t index);
354 
355  /* Controller Maps*/
356  typedef std::map<ControllerID, ArdourSurface::ControllerButton*> ButtonMap;
357  typedef std::map<ControllerID, ArdourSurface::MultiStateButton*> MultiStateButtonMap;
358  typedef std::map<ControllerID, ArdourSurface::Meter*> MeterMap;
359  typedef std::map<ControllerID, ArdourSurface::Encoder*> EncoderMap;
360 
363 
366 
369 
372 
373  typedef std::map<uint32_t, ControllerID> SendControllerMap;
375  { 3, HIGH_FREQ }, { 4, LOW_GAIN }, { 5, LOW_MID_GAIN },
376  { 6, HIGH_MID_GAIN }, { 7, HIGH_GAIN }, { 8, LOW_MID_SHAPE },
377  { 9, HIGH_MID_SHAPE }, { 10, LOW_MID_SHAPE }, { 11, HIGH_MID_SHAPE } };
378 
380 
381  /* */
382  void all_lights_out ();
383 
385  void notify_solo_active_changed (bool) override;
386 
387  sigc::connection periodic_connection;
388 
389  bool periodic ();
391 
392  // Meter Handlig
393  uint32_t last_output_meter_l = 0;
394  uint32_t last_output_meter_r = 0;
395 
396  std::shared_ptr<ARDOUR::ReadOnlyControl> gate_redux_meter = 0;
397  uint32_t last_gate_meter = 0;
398 
399  std::shared_ptr<ARDOUR::ReadOnlyControl> comp_redux_meter = 0;
400  uint32_t last_comp_redux = 0;
401 
402  sigc::connection blink_connection;
403  typedef std::list<ControllerID> Blinkers;
406  bool blinker ();
409 
410  void set_current_stripable (std::shared_ptr<ARDOUR::Stripable>);
412  /*void use_master ();
413  void use_monitor ();*/
414  void stripable_selection_changed () override;
415  /*PBD::ScopedConnection selection_connection;*/
419 
421 
422  void notify_parameter_changed (std::string) override;
423 
424  /* operations (defined in c1_operations.cc) */
425 
426  void bank (bool up);
427  void drive (uint32_t value);
428  void gain (const uint32_t value);
429  void mute (const uint32_t);
430  void pan (const uint32_t value);
431  void phase (const uint32_t);
432  void rude_solo (const uint32_t);
433  void select (const uint32_t i);
434  void shift (const uint32_t);
435  void plugin_state (const uint32_t);
436  void solo (const uint32_t);
437  void trim (const uint32_t value);
438  void window (const uint32_t value);
439  void zoom (const uint32_t value);
440 
441  // Filter Section
442  void filter (const uint32_t value);
443  void low_cut (const uint32_t value);
444  void high_cut (const uint32_t value);
445 
446  // Gate Section
447  void gate (const uint32_t value);
448  void gate_scf (const uint32_t value);
449  void gate_listen (const uint32_t value);
450  void gate_thresh (const uint32_t value);
451  void gate_depth (const uint32_t value);
452  void gate_release (const uint32_t value);
453  void gate_attack (const uint32_t value);
454  void gate_hyst (const uint32_t value);
455  void gate_hold (const uint32_t value);
456  void gate_filter_freq (const uint32_t value);
457 
458  // EQ section
459  void eq (const uint32_t);
460  void eq_freq (const uint32_t band, uint32_t value);
461  void eq_gain (const uint32_t band, uint32_t value);
462  void eq_high_shape (const uint32_t value);
463  void eq_low_shape (const uint32_t value);
464 
466  {
467  ControllerID eq_freq_id;
468  switch (band) {
469  case 0:
470  eq_freq_id = ControllerID::LOW_FREQ;
471  break;
472  case 1:
473  eq_freq_id = ControllerID::LOW_MID_FREQ;
474  break;
475  case 2:
476  eq_freq_id = ControllerID::HIGH_MID_FREQ;
477  break;
478  case 3:
479  eq_freq_id = ControllerID::HIGH_FREQ;
480  break;
481  }
482  return eq_freq_id;
483  }
484 
486  {
487  ControllerID eq_gain_id;
488  switch (band) {
489  case 0:
490  eq_gain_id = ControllerID::LOW_GAIN;
491  break;
492  case 1:
493  eq_gain_id = ControllerID::LOW_MID_GAIN;
494  break;
495  case 2:
496  eq_gain_id = ControllerID::HIGH_MID_GAIN;
497  break;
498  case 3:
499  eq_gain_id = ControllerID::HIGH_GAIN;
500  break;
501  }
502  return eq_gain_id;
503  }
504 
505  // Mixbus sends
506  void mb_send_level (const uint32_t n, const uint32_t value);
507 
508  // Comp Section
509  void comp (const uint32_t value);
510  void comp_mode (const uint32_t value);
511  void comp_thresh (const uint32_t value);
512  void comp_attack (const uint32_t value);
513  void comp_release (const uint32_t value);
514  void comp_ratio (const uint32_t value);
515  void comp_makeup (const uint32_t value);
516  void comp_emph (const uint32_t value);
517 
518  bool map_encoder (ControllerID controllerID);
519  void map_encoder (ControllerID controllerID, std::shared_ptr<ARDOUR::AutomationControl> control);
520 
521  void map_bank ();
522  void map_drive ();
523  void map_gain ();
524  void map_monitoring ();
525  void map_mute ();
526  void map_pan ();
527  void map_phase ();
528  void map_recenable ();
529  void map_select ();
530  void map_shift (bool shift);
531  void map_plugin_state (bool state);
532  void map_solo ();
533  void map_trim ();
534 
535  // Filter Section
536  void map_filter ();
537  void map_low_cut ();
538  void map_high_cut ();
539 
540  // Gate Section
541  void map_gate ();
542  void map_gate_scf ();
545  void map_gate_depth ();
548  void map_gate_hyst ();
549  void map_gate_hold ();
551 
552  // EQ section
553  void map_eq ();
554  void map_eq_freq (const uint32_t band);
555  void map_eq_gain (const uint32_t band);
558 
559  // MB Sends
560  void map_mb_send_level (const uint32_t n);
561 
562  // Comp Section
563  void map_comp ();
564  void map_comp_mode ();
568  void map_comp_ratio ();
570  void map_comp_emph ();
571 
573 
574  float calculate_meter (float dB);
575  uint32_t control_to_midi (Controllable controllable, float val, uint32_t max_value_for_type = 127);
576  float midi_to_control (Controllable controllable, uint32_t val, uint32_t max_value_for_type = 127);
577 
579  {
581  bool shift = false;
582  bool is_switch = false;
583  std::string name;
585  };
586 
587  using ParameterMap = std::map<uint32_t, PluginParameterMapping>;
588 
590  {
591  std::string id;
592  std::string name;
594  };
595 
596  /* plugin handling */
598  uint32_t load_mappings ();
599  bool load_mapping (XMLNode* fin);
600  void create_mapping (const std::shared_ptr<ARDOUR::Processor> proc, const std::shared_ptr<ARDOUR::Plugin> plugin);
601 
602  bool spill_plugins (const int32_t plugin_index);
603 
604  /* plugin operations */
606  std::shared_ptr<ARDOUR::Processor> find_plugin (const int32_t plugin_index);
607  bool select_plugin (const int32_t plugin_index);
608 
609  bool map_select_plugin (const int32_t plugin_index);
610 
611  using PluginMappingMap = std::map<std::string, PluginMapping>;
613 };
614 }
615 #endif /* ardour_surface_console1_h */
void strip_inventory_changed(ARDOUR::RouteList &)
Definition: console1.h:346
std::map< std::string, PluginMapping > PluginMappingMap
Definition: console1.h:611
PBD::Signal1< void, bool > ShiftChange
Definition: console1.h:127
float midi_to_control(Controllable controllable, uint32_t val, uint32_t max_value_for_type=127)
Meter * get_meter(ControllerID) const
void eq_low_shape(const uint32_t value)
void comp_mode(const uint32_t value)
ARDOUR::MonitorState monitor_state
Definition: console1.h:320
StripInventoryMap strip_inventory
Definition: console1.h:342
void gate_listen(const uint32_t value)
int device_acquire() override
Definition: console1.h:325
std::weak_ptr< ARDOUR::Stripable > pre_monitor_stripable
Definition: console1.h:311
uint32_t last_output_meter_r
Definition: console1.h:394
Encoder * get_encoder(ControllerID) const
void rude_solo(const uint32_t)
std::string output_port_name() const override
PBD::Signal0< void > Periodic
Definition: console1.h:123
std::shared_ptr< ARDOUR::ReadOnlyControl > gate_redux_meter
Definition: console1.h:396
bool has_editor() const override
Definition: console1.h:106
PluginMappingMap pluginMappingMap
Definition: console1.h:612
void comp_makeup(const uint32_t value)
void start_blinking(ControllerID)
uint32_t last_output_meter_l
Definition: console1.h:393
void create_mapping(const std::shared_ptr< ARDOUR::Processor > proc, const std::shared_ptr< ARDOUR::Plugin > plugin)
ControllerID eq_gain_controller_for_band(const uint32_t band)
Definition: console1.h:485
void window(const uint32_t value)
void zoom(const uint32_t value)
void notify_parameter_changed(std::string) override
ControllerID get_send_controllerid(uint32_t)
void plugin_state(const uint32_t)
void comp_ratio(const uint32_t value)
std::map< std::string, ControllerID > ControllerMap
Definition: console1.h:207
void gate_hold(const uint32_t value)
bool spill_plugins(const int32_t plugin_index)
int set_state(const XMLNode &, int version) override
order_t get_inventory_order_by_index(const uint32_t index)
Console1(ARDOUR::Session &)
void map_eq_freq(const uint32_t band)
void notify_transport_state_changed() override
SendControllerMap send_controllers
Definition: console1.h:374
void comp(const uint32_t value)
void gate_filter_freq(const uint32_t value)
PBD::Signal1< void, bool > PluginStateChange
Definition: console1.h:128
std::map< uint32_t, order_t > StripInventoryMap
Definition: console1.h:340
void comp_thresh(const uint32_t value)
void low_cut(const uint32_t value)
void filter(const uint32_t value)
std::shared_ptr< ARDOUR::Processor > find_plugin(const int32_t plugin_index)
void gate_depth(const uint32_t value)
void set_current_stripable(std::shared_ptr< ARDOUR::Stripable >)
bool map_encoder(ControllerID controllerID)
const uint32_t bank_size
Definition: console1.h:289
void map_shift(bool shift)
void trim(const uint32_t value)
void gate_attack(const uint32_t value)
bool map_select_plugin(const int32_t plugin_index)
float calculate_meter(float dB)
void shift(const uint32_t)
PBD::Signal1< void, bool > BlinkIt
Definition: console1.h:122
void select(const uint32_t i)
void gate_scf(const uint32_t value)
void high_cut(const uint32_t value)
void eq_freq(const uint32_t band, uint32_t value)
void solo(const uint32_t)
void connect_session_signals() override
void phase(const uint32_t)
void map_plugin_state(bool state)
int32_t current_plugin_index
Definition: console1.h:302
std::map< ControllerID, ArdourSurface::ControllerButton * > ButtonMap
Definition: console1.h:356
int stop_using_device() override
PBD::ScopedConnectionList console1_connections
Definition: console1.h:417
void mb_send_level(const uint32_t n, const uint32_t value)
PBD::ScopedConnectionList stripable_connections
Definition: console1.h:416
std::shared_ptr< ARDOUR::ReadOnlyControl > comp_redux_meter
Definition: console1.h:399
void map_encoder(ControllerID controllerID, std::shared_ptr< ARDOUR::AutomationControl > control)
std::map< ControllerID, ArdourSurface::MultiStateButton * > MultiStateButtonMap
Definition: console1.h:357
ControllerButton * get_button(ControllerID) const
void map_mb_send_level(const uint32_t n)
void gate_hyst(const uint32_t value)
std::map< uint32_t, PluginParameterMapping > ParameterMap
Definition: console1.h:587
void drive(uint32_t value)
void stop_blinking(ControllerID)
std::shared_ptr< ARDOUR::Stripable > _current_stripable
Definition: console1.h:309
void map_eq_gain(const uint32_t band)
void notify_solo_active_changed(bool) override
void device_release() override
Definition: console1.h:326
uint32_t get_index_by_inventory_order(order_t order)
void tear_down_gui() override
ControllerID eq_freq_controller_for_band(const uint32_t band)
Definition: console1.h:465
void eq_high_shape(const uint32_t value)
std::map< ControllerID, ArdourSurface::Encoder * > EncoderMap
Definition: console1.h:359
void eq_gain(const uint32_t band, uint32_t value)
ControllerMap controllerMap
Definition: console1.h:209
std::map< ControllerID, ArdourSurface::Meter * > MeterMap
Definition: console1.h:358
MultiStateButton * get_mbutton(ControllerID id) const
void mute(const uint32_t)
uint32_t current_strippable_index
Definition: console1.h:297
void eq(const uint32_t)
int begin_using_device() override
PBD::Signal0< void > BankChange
Definition: console1.h:126
bool select_plugin(const int32_t plugin_index)
void * get_gui() const override
void comp_emph(const uint32_t value)
void create_encoder(ControllerID id, boost::function< void(uint32_t)> action, boost::function< void(uint32_t)> shift_action=0)
void gate(const uint32_t value)
void gate_thresh(const uint32_t value)
PBD::Signal0< void > ConnectionChange
Definition: console1.h:119
std::map< uint32_t, ControllerID > SendControllerMap
Definition: console1.h:373
void handle_midi_controller_message(MIDI::Parser &, MIDI::EventTwoBytes *tb) override
uint32_t last_gate_meter
Definition: console1.h:397
int set_active(bool yn) override
PBD::ScopedConnectionList plugin_connections
Definition: console1.h:418
std::shared_ptr< ARDOUR::AutomationControl > current_pan_control
Definition: console1.h:307
sigc::connection periodic_connection
Definition: console1.h:387
XMLNode & get_state() const override
sigc::connection blink_connection
Definition: console1.h:402
std::string config_dir_name
Definition: console1.h:283
void comp_release(const uint32_t value)
void pan(const uint32_t value)
uint32_t control_to_midi(Controllable controllable, float val, uint32_t max_value_for_type=127)
std::list< ControllerID > Blinkers
Definition: console1.h:403
void gate_release(const uint32_t value)
void stripable_selection_changed() override
uint32_t max_strip_index
Definition: console1.h:299
void select_rid_by_index(const uint32_t index)
std::weak_ptr< ARDOUR::Stripable > pre_master_stripable
Definition: console1.h:310
void gain(const uint32_t value)
MultiStateButtonMap multi_buttons
Definition: console1.h:364
void comp_attack(const uint32_t value)
bool load_mapping(XMLNode *fin)
std::string input_port_name() const override
uint32_t last_comp_redux
Definition: console1.h:400
Definition: xml++.h:114
PBD::PropertyDescriptor< uint32_t > order
std::list< std::shared_ptr< Route > > RouteList
ARDOUR::PresentationInfo::order_t order_t
Definition: console1.h:81
std::shared_ptr< PBD::Controllable > Controllable
Definition: console1.h:80
Definition: axis_view.h:42