From 2ecd619a726e9b8991aa6094316e8b089633d879 Mon Sep 17 00:00:00 2001
From: Len Ovens
Date: Wed, 14 Jun 2017 07:16:06 -0700
Subject: [PATCH] Add new controls to OSC for plugins and paging
---
.../osc58-controlling-ardour-with-osc.html | 43 ++++++++++++++++---
1 file changed, 38 insertions(+), 5 deletions(-)
diff --git a/include/osc58-controlling-ardour-with-osc.html b/include/osc58-controlling-ardour-with-osc.html
index bc40af54..6bd2377f 100644
--- a/include/osc58-controlling-ardour-with-osc.html
+++ b/include/osc58-controlling-ardour-with-osc.html
@@ -79,10 +79,12 @@ here"/>
If /set_surface is not sent, the default values are used:
- - Bank Size: 0—No banking (or infinite bank size).
- - Strip Types: All strip types except hidden and special.
- - Feedback: 0—All off.
- - Fader Mode: 0—gain in dB (not relevant with feedback off)
+ - Bank Size: 0— No banking (or infinite bank size).
+ - Strip Types: 0— All strip types except hidden and special.
+ - Feedback: 0— All off.
+ - Fader Mode: 0— gain in dB (not relevant with feedback off)
+ - Send Page Size: 0— No Send Paging.
+ - Plugin Page Size: 0— No Plugin Paging.
@@ -90,11 +92,18 @@ here"/>
/set_surface bank_size strip_types
- feedback fadermode |
+ feedback fadermode send_page_size plugin_page_size
See below for an explanation of each parameter.
|
+
+ The /set_surface message may have all values except the last in-line.
+
+
+ The /set_surface message may have less than the full set of parameters.
+ those left out will remain as they were before.
+
bank_size
Bank Size is the number of channel strips the controller supports
@@ -168,6 +177,24 @@ here"/>
Gain mode can also be set with /set_surface/gainmode gainmode.
+send_page_size
+
+ Send_page_size is an int for the number of send channels that can be controlled
+ at one time. Each channel has a name, level and enable control.
+
+
+ Send page size can also be set with /set_surface/send_page_size send_page_size.
+
+plugin_page_size
+
+ plugin_page_size is an int for the number of plugin controls that can be controlled
+ at one time. Each control has a name and level. As each plugin is different (as is each
+ parameter), the surface should expect to control the plugin parameters with a variable
+ control (pot or slider) with a float value from 0 to 1 (even on/off switches).
+
+
+ Plugin page size can also be set with /set_surface/plugin_page_size plugin_page_size.
+
Querying Ardour for information
@@ -489,6 +516,12 @@ here"/>
ranging from 0 to 1 representing the desired position for the send as a fader
/select/send_enable", sendid state |
where sendid = nth_send, state is 1 for enabled and 0 for disabled |
+ /select/send_page", delta |
+ where delta is an int or float selecting another send as a delta from the current send. |
+ /select/plugin_page", delta |
+ where delta is an int or float selecting another plugin parameter as a delta from the current parameter. |
+ /select/plugin/parameter", plugin parameter value |
+ where plugin = nth plugin, parameter = nth parameter and value is a float from 0 to 1 |
Menu actions