mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
lppro: working gain faders
This commit is contained in:
parent
bc7f25e52c
commit
ee0d5cfc40
2 changed files with 233 additions and 62 deletions
|
|
@ -49,6 +49,7 @@ namespace MIDI {
|
|||
}
|
||||
|
||||
namespace ARDOUR {
|
||||
class AutomationControl;
|
||||
class Port;
|
||||
class MidiBuffer;
|
||||
class MidiTrack;
|
||||
|
|
@ -169,6 +170,13 @@ class LaunchPadPro : public MIDISurface
|
|||
CustomSettings
|
||||
};
|
||||
|
||||
enum FaderBank {
|
||||
VolumeFaders,
|
||||
PanFaders,
|
||||
SendFaders,
|
||||
DeviceFaders
|
||||
};
|
||||
|
||||
static const Layout AllLayouts[];
|
||||
|
||||
struct Pad {
|
||||
|
|
@ -429,6 +437,7 @@ class LaunchPadPro : public MIDISurface
|
|||
PBD::ScopedConnectionList trigger_connections;
|
||||
|
||||
void display_session_layout ();
|
||||
bool did_session_display;
|
||||
void transport_state_changed ();
|
||||
void record_state_changed ();
|
||||
|
||||
|
|
@ -438,6 +447,13 @@ class LaunchPadPro : public MIDISurface
|
|||
void viewport_changed ();
|
||||
void route_property_change (PBD::PropertyChange const &, int x);
|
||||
PBD::ScopedConnectionList route_connections;
|
||||
|
||||
void setup_faders (FaderBank);
|
||||
void map_faders ();
|
||||
void fader_move (int cc, int val);
|
||||
void automation_control_change (int n, std::weak_ptr<ARDOUR::AutomationControl>);
|
||||
PBD::ScopedConnectionList control_connections;
|
||||
FaderBank current_fader_bank;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue