summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/subview_modes.h
diff options
context:
space:
mode:
authorPhil <philsuess@yahoo.com>2020-03-27 08:46:45 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2020-04-07 14:35:09 -0600
commit69067b9d99c3e15f66723da77dcfc19c5a65519f (patch)
treec75ea0ce0581ef2b69935579fc39b0cac16ace5b /libs/surfaces/mackie/subview_modes.h
parentff41232d1663d4d6b8385e912d03fa270b110d69 (diff)
add plugin support for mackie units
Main features: Plugin (Select & Edit) 1. Plugin Select: When a track is selected that has PluginInserts, pushing the "Plug-In" button on a mackie will list these across the strips. Clicking a vpot of a strip enables editing the parameters of this selected plugin. 2. Plugin Edit: When a Plugin is selected for editing, the input parameters of the plugin are shown across the channel strips and the vpot is assigned the corresponsing AutomationControl for the parameter. Minor features - When the number of plugins or the number of parameters exceeds the number of strips available on the surface, one can flip through "pages" of views using the Cursor Left and Right keys (this logic I took from http://www.emagic.de/media/support/content/manuals/LogicControl_en.pdf) - When in the Plugin Select mode, rearranging the plugins in the mixer strip is reflected on the surface. - When in Plugin Edit mode, rearranging the plugins in the mixer strip still retains the edit view of the selected plugin (rearranging does not take away the current subview) - When removing a plugin in the mixer strip, this is reflected in Plugin Select, while the view jumps to Pan/Surround (the None subview) when in Plugin Edit mode. - Removing a track resets the subview to None - When in a Subview that is track-specific (Track, EQ, Send, Plug-In, Inst), selecting a different track retains the subview but updates the channel displays and vpot assignments accordingly. When in Plugin Edit mode for track A, and track B is selected, it changes to Plugin Select mode for track B (if plugins are present).
Diffstat (limited to 'libs/surfaces/mackie/subview_modes.h')
-rw-r--r--libs/surfaces/mackie/subview_modes.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/subview_modes.h b/libs/surfaces/mackie/subview_modes.h
new file mode 100644
index 0000000000..f2b34da52a
--- /dev/null
+++ b/libs/surfaces/mackie/subview_modes.h
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2006-2007 John Anderson
+ * Copyright (C) 2012-2015 Paul Davis <paul@linuxaudiosystems.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef __ardour_mackie_control_protocol_subview_modes_h__
+#define __ardour_mackie_control_protocol_subview_modes_h__
+
+namespace ArdourSurface {
+
+namespace Mackie {
+
+enum SubViewMode {
+ None,
+ EQ,
+ Dynamics,
+ Sends,
+ TrackView,
+ Plugin,
+};
+
+}
+}
+
+#endif /* __ardour_mackie_control_protocol_subview_modes_h__ */