OSC: Corrected positional value types and ranges.

This commit is contained in:
Len Ovens 2016-07-27 08:50:33 -07:00 committed by Paul Davis
parent 2e10a3afc0
commit 0bce50d87a
2 changed files with 11 additions and 14 deletions

View 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>

View 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>