From 10010543f30a3ead3055afc9007a2693135879cc Mon Sep 17 00:00:00 2001
From: Len Ovens
Date: Wed, 8 Nov 2017 18:07:54 -0800
Subject: [PATCH 1/1] OSC: plugin descriptors are now sent in multiple
messages. Some plugins have a lot of parameters.
---
include/osc58-querying-ardour.html | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)
diff --git a/include/osc58-querying-ardour.html b/include/osc58-querying-ardour.html
index d112a2f..fa2a6f9 100644
--- a/include/osc58-querying-ardour.html
+++ b/include/osc58-querying-ardour.html
@@ -132,17 +132,17 @@
A list of a plug-in's parameters
- /plugin/descriptor ssid piid
will
+ /strip/plugin/descriptor ssid piid
will
return the plug-in parameters for ppid plug-in on the ssid strip. The
- reply will contain the following information:
+ reply will be sent as a number of messages, one for each parameter.
+ Each message will contain the following information:
- Ssid of the strip the plug-in is in
- The plug-in id for the plug-in
- - The plug-in's name
- - Information about each parameter
+ - The plug-in parameter id for the plug-in
+ - The plug-in parameter's name
+ - Information about that parameter:
- - The parameter id
- - The parameter's name
- A bitset of flags (see below)
- Data type
- Minimum value
@@ -153,18 +153,27 @@
+
+ After all the parameters have been sent this way, one final message"
+ /strip/plugin/descriptor_end
is sent with these parameters:
+
+ - Ssid of the strip the pulgin is in
+ - The plug-in id for the plug-in
+
+
The flag bitset above has been defined as (from lsb):
- 0—enumeration
- 1—integer step
- 2—logarithmic
- - 3—max unbound
- - 4—min unbound
- 5—sample rate dependent
- 6—toggled
- 7—controllable
+ - 8—hidden
+ Bits 3 and 4 are not used, they were max unbound and min unbound in
+ previous versions and always zero.
While this seems complex, it is really not that bad. Minimum,
--
2.37.2