2016-05-27 18:02:56 -04:00
|
|
|
|
|
|
|
<p><em>/set_surface</em> has two values the user needs to calculate before
|
|
|
|
use. In general these will not be calculated at run time, but
|
|
|
|
beforehand. There may be more than one button with different values
|
|
|
|
to turn various kinds of feedback on or off or to determine which
|
|
|
|
kinds of strips are currently viewed/controlled.
|
|
|
|
</p>
|
2017-08-03 21:52:36 -04:00
|
|
|
<p>Both <em>feedback</em> and <em>strip-types</em> use bitsets to keep
|
2016-05-27 18:02:56 -04:00
|
|
|
track what they are doing. Any number in a computer is made out of
|
2016-07-16 20:44:14 -04:00
|
|
|
bits that are on or off, but we represent them as normal base 10
|
2016-05-27 18:02:56 -04:00
|
|
|
numbers. Any one bit turned on will add a unique value to the
|
|
|
|
number as a whole. So for each kind of feedback or strip type
|
|
|
|
to be used, that number should be added to the total.</p>
|
2017-11-10 19:53:25 -05:00
|
|
|
<h2>strip_types</h2>
|
2016-05-27 18:02:56 -04:00
|
|
|
<p>
|
|
|
|
strip_types is an integer made up of bits. The easy way to
|
|
|
|
deal with this is to think of strip_types items being worth a number and
|
|
|
|
then adding all those numbers together for a value to send.
|
2017-01-14 11:43:09 -05:00
|
|
|
Strip Types will determine What kind of strips will be included in
|
2016-05-27 18:02:56 -04:00
|
|
|
bank. This would include: Audio, MIDI, busses, VCAs, Master, Monitor
|
|
|
|
and hidden or selected strips.
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
1: AudioTracks.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
2: MidiTracks.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
4: AudioBusses.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
8: MidiBusses.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
16: VCAs.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
32: Master.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
64: Monitor.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
2016-11-29 23:37:38 -05:00
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
128: Audio Aux.
|
2016-11-29 23:37:38 -05:00
|
|
|
</li>
|
2016-05-27 18:02:56 -04:00
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
256: Selected.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
512: Hidden.
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
1024: Use Group.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
2016-07-16 20:44:14 -04:00
|
|
|
<p class="note">
|
|
|
|
Selected and Hidden bits are normally not needed as Ardour defaults to
|
|
|
|
showing Selected strips and not showing Hidden strips. The purpose of
|
|
|
|
these two flags is to allow showing only Selected strips or only
|
|
|
|
Hidden strips. Using Hidden with other flags will allow Hidden strips
|
|
|
|
to show inline with other strips.
|
|
|
|
</p>
|
2017-11-10 20:34:25 -05:00
|
|
|
<p class="note" id="use-group">
|
2017-11-10 19:53:25 -05:00
|
|
|
Use Group on will tell ardour that any control on a strip that is part
|
|
|
|
of a group will affect all strips within that group. Default is off
|
|
|
|
or the control should only affect the strip the control is applied to.
|
|
|
|
The <code>/use_group f state</code> command can be used to temporarily
|
|
|
|
change this on the fly.
|
2018-11-08 15:47:17 -05:00
|
|
|
</p>
|
2016-05-27 18:02:56 -04:00
|
|
|
<p>
|
2017-11-10 20:34:25 -05:00
|
|
|
Some handy numbers to use might be: 15 (all tracks and busses -
|
|
|
|
1 + 2 + 4 + 8), 31
|
|
|
|
(add VCAs to that - 15 + 16). Master or Monitor strips are generally
|
|
|
|
not useful on a surface that has dedicated controls for these strips
|
|
|
|
as there are /master* and /monitor* commands already. However, on a
|
|
|
|
surface with just a bank of fader strips, adding master or monitor
|
|
|
|
would allow access to them within the banks. Selected would be useful
|
|
|
|
for working on a group or a set of user selected strips. Hidden shows
|
2018-11-08 15:47:17 -05:00
|
|
|
strips the GUI has hidden. As such, a control surface will likely have
|
|
|
|
a number of buttons with different strip_types for convenience.
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
Mixer - All strip types <kbd class="osc">/set_surface/strip_types 159</kbd>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
Audio Tracks - Just Audio tracks that can record <kbd class="osc">/set_surface/strip_types 1</kbd>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
MIDI Tracks - Tracks with at least 1 MIDI input that can record
|
|
|
|
<kbd class="osc">/set_surface/strip_types 2</kbd>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
Busses - A mix of all busses, possibly including VCAs
|
|
|
|
<kbd class="osc">/set_surface/strip_types 156</kbd>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
Selected - All strips that are currently selected
|
|
|
|
<kbd class="osc">/set_surface/strip_types 256</kbd>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
Hidden - All hidden strips <kbd class="osc">/set_surface/strip_types 512</kbd>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
Custom - see <a href="@@osc58-custom-strips">
|
|
|
|
Making a user selected strip list.</a>
|
|
|
|
<kbd class="osc">/strip/custom/mode 1</kbd>
|
|
|
|
</li>
|
2019-07-30 13:23:38 -04:00
|
|
|
|
2018-11-08 15:47:17 -05:00
|
|
|
</ul>
|
2016-05-27 18:02:56 -04:00
|
|
|
</p>
|
2018-11-08 15:47:17 -05:00
|
|
|
<p class="note">
|
2016-11-29 23:37:38 -05:00
|
|
|
Audio Aux? say what? I am sure most people will have noticed that they
|
|
|
|
can find no <em>Aux</em> strips in the Ardour mixer. There are none.
|
2017-02-25 11:46:51 -05:00
|
|
|
There are busses that can be used a number of ways. From analog days,
|
2017-01-14 11:43:09 -05:00
|
|
|
in OSC, a bus is something that gets used as a sub mix before ending up
|
2016-11-29 23:37:38 -05:00
|
|
|
going to Master. An auxiliary bus is used like a separate mixer and
|
2018-11-10 06:05:33 -05:00
|
|
|
its output goes outside the program or computer to be used as:
|
2016-11-29 23:37:38 -05:00
|
|
|
a monitor mix, a back up recording, or what have you. In OSC where
|
|
|
|
controller strips may be limited, it may be useful not to use up a
|
|
|
|
strip for an aux that is not really a part of the mix. It is also
|
2017-02-25 11:46:51 -05:00
|
|
|
useful to get a list of only aux busses if the control surface is a
|
2016-11-29 23:37:38 -05:00
|
|
|
phone used to provide talent monitor mix control on stage. Each
|
|
|
|
performer would be able to mix their own monitor. The user is free
|
2017-02-25 11:46:51 -05:00
|
|
|
to enable both busses and auxes if they would prefer.
|
2016-11-29 23:37:38 -05:00
|
|
|
</p>
|
2018-11-08 15:47:17 -05:00
|
|
|
<h3 id="hidden">Using hidden strips</h3>
|
|
|
|
<p>
|
|
|
|
Ardour allows any of it's strips to be hidden so that they do not show
|
|
|
|
up on the GUI mixer or editor. OSC follows the GUI by default and will
|
|
|
|
not show hidden strips. As of Ardour 6.0 the OSC commands include
|
|
|
|
<kbd class="osc">/select/hide <em>y/n</em></kbd> for the selected
|
|
|
|
strip and <kbd class="osc">/strip/hide <em>ssid</em> <em>y/n</em></kbd>
|
|
|
|
for any strip. This allows the control surface to hide or unhide a strip.
|
|
|
|
What may not be obvious is that hiding a strip makes it disappear and
|
|
|
|
become unselected. So if a selected strip is hidden, it is no longer
|
|
|
|
selected and the select channel will show the default select strip
|
|
|
|
(Master). In order to show a hidden strip, the hidden strips need to
|
|
|
|
be shown first using the <kbd class="osc">/set_surface/strip_types 512</kbd>
|
|
|
|
command to show only hidden strips. Then use the
|
|
|
|
<kbd class="osc">/strip/hide <em>SSID</em> 0</kbd> or
|
|
|
|
<kbd class="osc">/select/hide 0</kbd>
|
|
|
|
to show that strip. Of course, because only hidden strips are showing,
|
|
|
|
the strip you have set to no long hide will seem to vanish. A
|
|
|
|
<kbd class="osc">/set_surface/strip_types 159</kbd> will then show
|
|
|
|
the default strip types or replace the 159 with the desired strip_types.
|
|
|
|
</p>
|
|
|
|
<p class="note">
|
|
|
|
When hiding more than one strip in a row, check the strip name before
|
|
|
|
hiding as the strips will move as each strip is hidden just as it does
|
|
|
|
with the GUI mixer. So to hide strips 5, 6 and 7, the hide button
|
|
|
|
for <code>ssid</code> 5 is pressed 3 times. A more intuitive method
|
|
|
|
would be to hide strips from right to left (7, 6 and 5) which will
|
|
|
|
work as expected.
|
|
|
|
<p>
|
|
|
|
In short, shown strips can only be hidden when they are viewable and
|
|
|
|
hidden strip can only shown (or un-hid) when strip_types include hidden
|
|
|
|
strips.
|
|
|
|
</p>
|
2017-11-10 20:34:25 -05:00
|
|
|
<h2 id="feedback">feedback</h2>
|
2016-05-27 18:02:56 -04:00
|
|
|
<p>Feedback is an integer made up of bits. The easy way to
|
|
|
|
deal with this is to think of feedback items being worth a number and
|
|
|
|
then adding all those numbers together for a value to send.
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
1: Button status for strips.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
2: Variable control values for strips.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
4: Send SSID as path extension.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
8: heartbeat to surface.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
16: Enable master section feedback.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
32: Send Bar and Beat.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
64: Send timecode.
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
128: Send meter as dB (-193 to +6) or 0 to 1 depending on gainmode
|
2016-05-31 17:36:17 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
256: Send meter a 16 bit value where each bit is a level
|
2016-05-31 17:36:17 -04:00
|
|
|
and all bits of lower level are on. For use in a LED strip. This
|
|
|
|
will not work if the above option is turned on.
|
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
512: Send signal present, true if level is higher than -40dB
|
2016-07-16 20:44:14 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
1024: Send position in samples
|
2016-07-16 20:44:14 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
2048: Send position in time, hours, minutes, seconds and milliseconds
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
8192: Turn on select channel feedback
|
2016-05-27 18:02:56 -04:00
|
|
|
</li>
|
2016-10-29 13:28:01 -04:00
|
|
|
<li>
|
2017-11-10 19:53:25 -05:00
|
|
|
16384: Use OSC 1.0 /reply instead of #reply
|
2016-10-29 13:28:01 -04:00
|
|
|
</li>
|
2016-05-27 18:02:56 -04:00
|
|
|
</ul>
|
|
|
|
<p>
|
2017-11-10 20:34:25 -05:00
|
|
|
So using a value of 19 (1 + 2 + 16) would turn on feedback for strip
|
|
|
|
and master controls, but leave meters, timecode and bar/beat feedback off.
|
2016-05-27 18:02:56 -04:00
|
|
|
</p>
|
2017-02-13 14:53:37 -05:00
|
|
|
|