]> Shamusworld >> Repos - ardour-manual-diverged/commitdiff
OSC: Corrected positional value types and ranges.
authorLen Ovens <len@ovenwerks.net>
Wed, 27 Jul 2016 15:50:33 +0000 (08:50 -0700)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 12 Aug 2016 00:35:09 +0000 (20:35 -0400)
_manual/22_using-control-surfaces/01_controlling-ardour-with-osc.html
_manual/22_using-control-surfaces/01_controlling-ardour-with-osc/02_feedback-in-osc.html

index 722ead99a771310adfecd323d5ea84c123a714ff..5eda3affb9ed3a69a80d97930f38f302e83c54a6 100644 (file)
@@ -143,10 +143,10 @@ here</em>"/&gt;</kbd>
   Gainmode is a an int that acts as a bool:
   <ul>
          <li><em>0 (or false)</em> dB value as a float from -193 to +6. Sent as
-         /strip/gain RID value. (-193 or below are the same as -inf)</li>
-         <li><em>1 (or true)</em> A positional fader based on the same math as
-         Ardour's GUI.  An Integer from 0 to 1023 (1024 values). Sent as
-         /strip/fader RID value</li>
+         /strip/gain SSID value. (-193 or below are the same as -inf)</li>
+         <li><em>1 (or true)</em> A positional fader based on the same math
+         as Ardour's GUI.  An Float from 0 to 1. Sent as
+         /strip/fader SSID value</li>
   </ul>
 </p>
 <p>
@@ -348,7 +348,7 @@ here</em>"/&gt;</kbd>
   <dt><kbd class="osc">/strip/gain <em>ssid</em>  <em>gain</em></kbd></dt>
   <dd>where <em>gain</em> is a float ranging from -193 to 6 representing the desired gain of the track in dB.</dd>
   <dt><kbd class="osc">/strip/fader <em>ssid</em>  <em>position</em></kbd></dt>
-  <dd>where <em>position</em> is an int ranging from 0 to 1023 representing the fader control position.</dd>
+  <dd>where <em>position</em> is a float ranging from 0 to 1 representing the fader control position.</dd>
   <dt><kbd class="osc">/strip/trimdB <em>ssid</em>  <em>trim_db</em></kbd></dt>
   <dd>where <em>trim_db</em> is a float ranging from -20 to 20 representing the desired trim of the track in dB.</dd>
   <dt><kbd class="osc">/strip/pan_stereo_position <em>ssid</em> <em>position</em></kbd></dt>
@@ -358,15 +358,12 @@ here</em>"/&gt;</kbd>
   <dt><kbd class="osc">/strip/plugin/parameter <em>ssid</em> <em>piid</em> <em>param</em> <em>value</em></kbd></dt>
   <dd>where <em>piid</em> = nth Plugin, <em>param</em> = nth param, <em>value</em>
   is a float ranging from 0 to 1 representing the desired parameter value</dd>
-  <dt><kbd class="osc">/strip/send/gainabs", <em>ssid</em> <em>sendid</em> <em>send_gain</em></kbd></dt>
-  <dd>where <em>sendid</em> = nth_send, <em>send_gain</em> is a float
-  ranging from 0 to 1 representing the desired gain for the send (note this will likey be replaced by a positional control)</dd>
   <dt><kbd class="osc">/strip/send/gain", <em>ssid</em> <em>sendid</em> <em>send_gain</em></kbd></dt>
   <dd>where <em>sendid</em> = nth_send, <em>send_gain</em> is a float
   ranging from -193 to +6 representing the desired gain in dB for the send</dd>
   <dt><kbd class="osc">/strip/send/fader", <em>ssid</em> <em>sendid</em> <em>send_gain</em></kbd></dt>
   <dd>where <em>sendid</em> = nth_send, <em>send_gain</em> is a float
-  ranging from 0 to 1023 representing the desired position for the send as a fader</dd>
+  ranging from 0 to 1 representing the desired position for the send as a fader</dd>
 </dl>
 <h3>Selected Strip Operations</h3>
 <p>
@@ -432,7 +429,7 @@ here</em>"/&gt;</kbd>
   <dt><kbd class="osc">/select/gain <em>gain</em></kbd></dt>
   <dd>Where <em>gain</em> is a float ranging from -193 to 6 representing the desired gain of the track in dB.</dd>
   <dt><kbd class="osc">/select/fader <em>position</em></kbd></dt>
-  <dd>Where <em>position</em> is an int ranging from 0 to 1023 representing the fader control position.</dd>
+  <dd>Where <em>position</em> is an float ranging from 0 to 1 representing the fader control position.</dd>
   <dt><kbd class="osc">/select/trimdB <em>trim_db</em></kbd></dt>
   <dd>where <em>trim_db</em> is a float ranging from -20 to 20 representing the desired trim of the track in dB.</dd>
   <dt><kbd class="osc">/select/pan_stereo_position <em>position</em></kbd></dt>
@@ -450,7 +447,7 @@ here</em>"/&gt;</kbd>
   ranging from -193 to +6 representing the desired gain in dB for the send</dd>
   <dt><kbd class="osc">/select/send_fader", <em>sendid</em> <em>send_gain</em></kbd></dt>
   <dd>where <em>sendid</em> = nth_send, <em>send_gain</em> is a float
-  ranging from 0 to 1023 representing the desired position for the send as a fader</dd>
+  ranging from 0 to 1 representing the desired position for the send as a fader</dd>
   <dt><kbd class="osc">/select/send_enable", <em>sendid</em> <em>state</em></kbd></dt>
   <dd>where <em>sendid</em> = nth_send, <em>state</em> is 1 for enabled and 0 for disabled</dd>
 </dl>
index a65cbb93184ca64f0ec0d374bbedd08d2a64a528..924a52ded857728be602ce4b5c89f6ad47d35de2 100644 (file)
@@ -176,7 +176,7 @@ title: OSC Feedback With Ardour
   <dt><kbd class="osc">/strip/gain <em>ssid</em> <em>gain</em></kbd></dt>
   <dd>where <em>gain</em> is a float ranging from -193 to 6 representing the actual gain of the track in dB.</dd>
   <dt><kbd class="osc">/strip/fader <em>ssid</em>  <em>position</em></kbd></dt>
-  <dd>where <em>position</em> is an int ranging from 0 to 1023 representing the actual gain of the track in dB.</dd>
+  <dd>where <em>position</em> is an float ranging from 0 to 1 representing the actual fader position of the track.</dd>
   <dt><kbd class="osc">/strip/trimdB <em>ssid</em>  <em>trim_db</em></kbd></dt>
   <dd>where <em>trim_db</em> is a float ranging from -20 to 20 representing the actual trim of the track in dB.</dd>
   <dt><kbd class="osc">/strip/pan_stereo_position <em>ssid</em> <em>position</em></kbd></dt>
@@ -202,13 +202,13 @@ title: OSC Feedback With Ardour
   <dt><kbd class="osc">/select/polarity <em>invert</em></kbd></dt>
   <dd>where <em>invert</em> is a bool/int representing the actual polarity of the track</dd>
   <dt><kbd class="osc">/select/pan_stereo_width <em>width</em></kbd></dt>
-  <dd>where <em>width</em> is a float ranging from -1 to 1 representing the actual pan width of the track</dd>
+  <dd>where <em>width</em> is a float ranging from 0 to 1 representing the actual pan width of the track</dd>
   <dt><kbd class="osc">/select/send_gain", <em>sendid</em> <em>send_gain</em></kbd></dt>
   <dd>where <em>sendid</em> = nth_send, <em>send_gain</em>is a float
   ranging from -193 to +6 representing the actual gain in dB for the send</dd>
   <dt><kbd class="osc">/select/send_fader", <em>sendid</em> <em>send_gain</em></kbd></dt>
   <dd>where <em>sendid</em> = nth_send, <em>send_gain</em>is a float
-  ranging from 0 to 1023 representing the actual position for the send as a fader</dd>
+  ranging from 0 to 1 representing the actual position for the send as a fader</dd>
   <dt><kbd class="osc">/select/send_name <em>sendid</em> <em>send_name</em></kbd></dt>
   <dd>where <em>send_name</em> is a string representing the name of the buss
   this send goes to.</dd>