X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=include%2Fosc58-querying-ardour.html;h=c94ec1009810981b6beec4a83cc4d69253bc033f;hb=372c87ab37e826d1c79811087a9a2a4d7f1d16a7;hp=fed62f370f8b9bef6bb9202def3a99846339e694;hpb=7be4f507991a0b87174a0e78831a4e7e9e96bcbe;p=ardour-manual diff --git a/include/osc58-querying-ardour.html b/include/osc58-querying-ardour.html index fed62f3..c94ec10 100644 --- a/include/osc58-querying-ardour.html +++ b/include/osc58-querying-ardour.html @@ -5,7 +5,7 @@ information. These set of commands are for smarter control surfaces That have the logic to figure out what to do with the information. These are not of value for mapped controllers like touchOSC and - friends. The controller will need to send these queries to ardour + friends. The controller will need to send these queries to Ardour as often as it needs this information. It may well make sense to use regular feedback for things that need to be updated often such as position or metering. @@ -21,8 +21,12 @@
end_route_list
+ The /set_surface
should be set before this is called. That way
+ The right set of strips will be sent in return (though the default is good
+ for most uses) and feedback will start correctly.
+
+ If the surface is using /strip/list
, the surface needs to know
+ if the strips have changed. This would be true if a strip gets moved, created or
+ deleted. When this happens Ardour sends /strip/list
to the surfaces
+ that have previously requested a /strip/list
. This lets the
+ surface know that its list of strips is no longer valid.
+
A bus will not have a record enable and so a bus message will have one less parameter than a track. It is the controllers - responsability to deal with this. + responsibility to deal with this.
/strip/receives ssid
will return a list of
tracks that have sends to the bus at the ssid. The reply will
- contain the following information for each track conntected to this
+ contain the following information for each track connected to this
bus:
- /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:
+ After all the parameters have been sent this way, one final message"
+ /strip/plugin/descriptor_end
is sent with these parameters:
+
The flag bitset above has been defined as (from lsb):
While this seems complex, it is really not that bad. Minimum, - maximum and value will in most cases give you all you need. + maximum and value will in most cases give you all you need. For simpler + access to plug-ins, the /select/plugin/ set of commands will handle most + needs. +
+
+ Ardour can work with more than one OSC control surface at a time.
+ Sometimes it is useful to know the information stored about all
+ surfaces. Sending /surface/list
from any surface or selecting:
+ Print surface information to Log window from
+ the Debug dropdown in the OSC setup dialog,
+ will list all the information Ardour uses to calculate the feedback
+ it sends. The Log window can be opened from the menu with
+ Window > Log.
+ This would be useful information to include with any OSC
+ related Bug report. The output is printed in this format:
+
+