]> Shamusworld >> Repos - ardour-manual/commitdiff
Add touch command to OSC pages
authorLen Ovens <len@ovenwerks.net>
Tue, 16 May 2017 22:41:08 +0000 (15:41 -0700)
committerLen Ovens <len@ovenwerks.net>
Tue, 16 May 2017 22:41:08 +0000 (15:41 -0700)
include/osc58-automation.html
include/osc58-controlling-ardour-with-osc.html

index bbd990dcdc52d01df212ea3bf17967611e761444..22115139931abdbadbd372161ae1b29627feb02c 100644 (file)
        as feedback. A surface may choose to use only the first character of the string (M, P, W or T) instead of
        the whole string (this is in git now).
 </p>
        as feedback. A surface may choose to use only the first character of the string (M, P, W or T) instead of
        the whole string (this is in git now).
 </p>
+<p>
+       The touch mode needs more input so there is a Touch command as well (added post 5.9). It is almost identical
+       to the automation command:
+</p>
+<p>
+       <code>/strip/[control]/touch ii ssid touch</code>
+</p>
+<p>
+       The only difference is the last parameter is 1 for touched and 0 for touch released. All of the rest
+       of the explanation above applies.       
+</p>
index fdd7c521500207598ca60df9b87611421415ccf5..bc40af549b0155082ef7292fa6ef43d538561206 100644 (file)
@@ -354,6 +354,9 @@ here</em>"/&gt;</kbd>
   <tr><th><kbd class="osc">/strip/*/automation <em>ssid</em>  <em>mode</em></kbd></th>
   <td>where <em>mode</em> is an int ranging from 0 to 3 representing the desired automation mode for the control.
   <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
   <tr><th><kbd class="osc">/strip/*/automation <em>ssid</em>  <em>mode</em></kbd></th>
   <td>where <em>mode</em> is an int ranging from 0 to 3 representing the desired automation mode for the control.
   <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
+  <tr><th><kbd class="osc">/strip/*/touch  <em>ssid</em> <em>state</em></kbd></th>
+  <td>where <em>state</em> is an int of 1 for touched and 0 for released.
+  <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
   <tr><th><kbd class="osc">/strip/trimdB <em>ssid</em>  <em>trim_db</em></kbd></th>
   <td>where <em>trim_db</em> is a float ranging from -20 to 20 representing the desired trim of the track in dB.</td></tr>
   <tr><th><kbd class="osc">/strip/pan_stereo_position <em>ssid</em> <em>position</em></kbd></th>
   <tr><th><kbd class="osc">/strip/trimdB <em>ssid</em>  <em>trim_db</em></kbd></th>
   <td>where <em>trim_db</em> is a float ranging from -20 to 20 representing the desired trim of the track in dB.</td></tr>
   <tr><th><kbd class="osc">/strip/pan_stereo_position <em>ssid</em> <em>position</em></kbd></th>
@@ -463,6 +466,9 @@ here</em>"/&gt;</kbd>
   <tr><th><kbd class="osc">/select/*/automation  <em>mode</em></kbd></th>
   <td>where <em>mode</em> is an int ranging from 0 to 3 representing the desired automation mode for the control.
   <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
   <tr><th><kbd class="osc">/select/*/automation  <em>mode</em></kbd></th>
   <td>where <em>mode</em> is an int ranging from 0 to 3 representing the desired automation mode for the control.
   <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
+  <tr><th><kbd class="osc">/select/*/touch  <em>state</em></kbd></th>
+  <td>where <em>state</em> is an int of 1 for touched and 0 for released.
+  <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
   <tr><th><kbd class="osc">/select/trimdB <em>trim_db</em></kbd></th>
   <td>where <em>trim_db</em> is a float ranging from -20 to 20 representing the desired trim of the track in dB.</td></tr>
   <tr><th><kbd class="osc">/select/pan_stereo_position <em>position</em></kbd></th>
   <tr><th><kbd class="osc">/select/trimdB <em>trim_db</em></kbd></th>
   <td>where <em>trim_db</em> is a float ranging from -20 to 20 representing the desired trim of the track in dB.</td></tr>
   <tr><th><kbd class="osc">/select/pan_stereo_position <em>position</em></kbd></th>