X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fosc58-querying-ardour.html;h=fa2a6f9dd02df26f167b86a44f392acdaf131f8c;hb=10010543f30a3ead3055afc9007a2693135879cc;hp=20de95d449402823fa67d2c8b609a67d52b4c123;hpb=dfec6899ef2a121ccf2ff1d47008e7ac4844cf70;p=ardour-manual diff --git a/include/osc58-querying-ardour.html b/include/osc58-querying-ardour.html index 20de95d..fa2a6f9 100644 --- a/include/osc58-querying-ardour.html +++ b/include/osc58-querying-ardour.html @@ -12,18 +12,20 @@ Here are the commands used to query Ardour: (added in Ardour 5.5)

-
-
/strip/list
-
Ask for a list of strips
-
/strip/sends ssid
-
Asks for a list of sends on the strip ssid
-
/strip/receives ssid
-
Asks for a list of tracks that have sends to the strip ssid points to
-
/strip/plugin/list ssid
-
Asks for a list of plug-ins for strip ssid.
-
/plugin/descriptor ssid piid
-
Asks for a list of descriptors for plug-in piid on strip ssid
-
+ + + + + + + + + + + + + +
/strip/listAsk for a list of strips
/strip/sends ssidAsks for a list of sends on the strip ssid
/strip/receives ssidAsks for a list of tracks that have sends to the strip ssid points to
/strip/plugin/list ssidAsks for a list of plug-ins for strip ssid.
/strip/plugin/descriptor ssid piidAsks for a list of descriptors for plug-in piid on strip ssid
/set_surfaceAsk for the current surface setting. Reply is in the same form as setting the surface would be.

A list of strips

@@ -32,14 +34,22 @@ current session has. Ardour replies with a message for each strip with the following information: After all the strip messages have been sent, one final message is sent with: @@ -47,8 +57,21 @@
  • The text end_route_list
  • The session frame rate
  • The last frame number of the session
  • +
  • Monitor section present
  • +

    + 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 it's 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. @@ -109,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:

    +

    + 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):

    + 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, - 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.