3 Feedback from the Ardour to the the control surface is very useful for
4 a number of things. Motor faders need to know where the the track
5 they have been attached to is at before they were assigned otherwise
6 the DAW fader will jump to where the controller fader is. Likewise,
7 the buttons on each strip need to know what their value is so they can
8 light their LED correctly. Transport controls should let you know if
9 they are active too. This is what feedback is all about.
12 Ardour does feedback by sending the same path back that is used to
13 control the same function. As such any controls that have feedback
14 have a parameter that is the value of the control or it's state
15 (on or off). In the case of OSC paths listed on the main OSC page
16 as having no parameter, if they have feedback, they will also work
17 with a 1 for button press and 0 for button release. This is because
18 many OSC controllers will only use exactly the same path for feedback
19 as for control. For example:
23 <tr><th><kbd class="osc">/transport_stop</kbd></th>
26 <p>can be used also in the form:</p>
29 <tr><th><kbd class="osc">/transport_stop <em>press</em></kbd></th>
30 <td>where <em>press</em> is an int/bool indicating if the button is pressed or not.</td></tr>
34 The feedback does not have the same meaning as the control message.
35 Where the button release sent to Ardour will be ignored and has no
36 meaning. Both states have meaning in feedback to the controller.
41 <tr><th><kbd class="osc">/transport_stop <em>state</em></kbd></th>
42 <td>where <em>state</em> is an int/bool indicating if the transport is stopped or not.</td></tr>
45 With feedback turned on, OSC control commands that try to change a
46 control that does not exist will get feedback that resets that control
47 to off. For example, sending a /strip/recenable to a buss will not work
48 and Ardour will try to turn the controller LED off in that case. Also
49 note that Pan operation may be limited by pan width in some cases.
50 That is with pan width at 100% (or -100%) there is no pan position
54 It may come as a surprise, but feedback often generates more network
55 traffic than control itself does. Some things are more obvious like
56 head position or meters. But even a simple button push like transport
57 start sends not only a signal to turn on the play LED, but also one to
58 turn off the stop LED, the Rewind LED, the Fast Forward LED and the
59 Loop LED. That is still minor, think instead of a surface refresh
60 such as happens when the surface is first connected and then most of
61 that happens every time the fader strips are banked. This is why
62 feedback is enabled in sections so that as little feedback as is
63 actually needed is sent. This is also a consideration if the surface
64 is connected via wifi.
66 <h2>List of OSC feedback messages</h2>
68 <h3>Feedback only</h3>
70 These messages are feedback only. They are sent as status from Ardour
71 and some of them may be enabled separately from other feedback. See:
72 <a href="@@osc58-feedback-and-strip-types-values#feedback">
73 Calculating Feedback and Strip-types Values.</a>
76 See strip section below for info about ssid and wrapping it into the
77 path. Also /master and /monitor support what the /strip does.
80 In the case where Gainmode is set to position, the track name will
81 show the dB value while values are changing.
84 <tr><th><kbd class="osc">/strip/name <em>ssid</em> <em>track_name</em></kbd></th>
85 <td>where <em>track_name</em> is a string representing the name of the track</td></tr>
86 <tr><th><kbd class="osc">/strip/*/automation_name <em>ssid</em> <em>name</em></kbd></th>
87 <td>where <em>name</em> is a string representing the current automation mode for the control.
88 <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
89 <tr><th><kbd class="osc">/session_name <em>session_name</em></kbd></th>
90 <td>where <em>session_name</em> is a string representing the name of the session</td></tr>
91 <tr><th><kbd class="osc">/strip/meter <em>ssid</em> <em>meter</em></kbd></th>
92 <td>where <em>meter</em> is a value repesenting the current audio level.
93 (the exact math used is determined by the feedback bits set)</td></tr>
94 <tr><th><kbd class="osc">/strip/signal <em>ssid</em> <em>signal</em></kbd></th>
95 <td>where <em>signal</em> is a float indicating the instantaneous
96 audio level is -40dB or higher.</td></tr>
97 <tr><th><kbd class="osc">/position/smpte <em>time</em></kbd></th>
98 <td>where <em>time</em> is a string with the current play head time. Seconds as per smpte.</td></tr>
99 <tr><th><kbd class="osc">/position/bbt <em>beat</em></kbd></th>
100 <td>where <em>beat</em> is a string with the current play head bar/beat.</td></tr>
101 <tr><th><kbd class="osc">/position/time <em>time</em></kbd></th>
102 <td>where <em>time</em> is a string with the current play head time. Seconds are in milliseconds</td></tr>
103 <tr><th><kbd class="osc">/position/samples <em>samples</em></kbd></th>
104 <td>where <em>samples</em> is a string with the current play head position in samples.</td></tr>
105 <tr><th><kbd class="osc">/heartbeat <em>LED</em></kbd></th>
106 <td>where <em>LED</em> is a float that cycles 1/0 at 1 second intervals.</td></tr>
107 <tr><th><kbd class="osc">/record_tally <em>state</em></kbd></th>
108 <td>Some record enable is true or "ready to record". For a "Recording" sign at studio door.</td></tr>
111 <h3>Transport Control</h3>
113 <tr><th><kbd class="osc">/transport_stop <em>state</em></kbd></th>
114 <td><em>state</em> is true when transport is stopped</td></tr>
115 <tr><th><kbd class="osc">/transport_play <em>state</em></kbd></th>
116 <td><em>state</em> is true when transport speed is 1.0</td></tr>
117 <tr><th><kbd class="osc">/ffwd <em>state</em></kbd></th>
118 <td><em>state</em> is true when transport is moving forward but not at speed 1.0</td></tr>
119 <tr><th><kbd class="osc">/rewind <em>state</em></kbd></th>
120 <td><em>state</em> is true when transport speed is less than 0.0</td></tr>
121 <tr><th><kbd class="osc">/loop_toggle <em>state</em></kbd></th>
122 <td><em>state</em> is true when loop mode is true</td></tr>
123 <tr><th><kbd class="osc">/cancel_all_solos <em>state</em></kbd></th>
124 <td>Where <em>state</em> true indicates there are active solos that can be canceled.</td></tr>
125 <tr><th><kbd class="osc">/jog/mode/name <em>name</em></kbd></th>
126 <td>Where <em>name</em> is a string indicating the name of the current jog mode.</td></tr>
129 <h3>Recording control</h3>
131 <!--dt><kbd class="osc">/toggle_punch_in</kbd></th>
133 <tr><th><kbd class="osc">/toggle_punch_out</kbd></th>
135 <tr><th><kbd class="osc">/rec_enable_toggle <em>state</em></kbd></th>
136 <td>Master record enabled.</td></tr>
139 <h3>Master and monitor strips</h3>
141 Master and monitor strips are similar to track strips but do not use
142 the SSID. Rather they use their name as part of the path:
145 <tr><th><kbd class="osc">/master/gain <em>dB</em></kbd></th>
146 <td>where <em>dB</em> is a float ranging from -193 to +6 representing the actual gain of master in dB</td></tr>
147 <tr><th><kbd class="osc">/master/fader <em>position</em></kbd></th>
148 <td>where <em>position</em> is an int ranging from 0 to 1023 representing the fader control position</td></tr>
149 <tr><th><kbd class="osc">/master/trimdB <em>dB</em></kbd></th>
150 <td>where <em>dB</em> is a float ranging from -20 to +20 representing the actual trim for master in dB</td></tr>
151 <tr><th><kbd class="osc">/master/pan_stereo_position <em>position</em></kbd></th>
152 <td>where <em>position</em> is a float ranging from 0 to 1 representing the actual pan position for master</td></tr>
153 <tr><th><kbd class="osc">/master/mute <em>state</em></kbd></th>
154 <td>where <em>state</em> is a bool/int representing the actual mute state of the Master strip</td></tr>
155 <tr><th><kbd class="osc">/monitor/gain <em>dB</em></kbd></th>
156 <td>where <em>dB</em> is a float ranging from -193 to 6 representing the actual gain of monitor in dB</td></tr>
157 <tr><th><kbd class="osc">/monitor/fader <em>position</em></kbd></th>
158 <td>where <em>position</em> is an int ranging from 0 to 1023 representing the fader control position</td></tr>
159 <tr><th><kbd class="osc">/monitor/mute <em>state</em></kbd></th>
160 <td>where <em>state</em> is a bool/int representing the actual mute state of the Monitor strip</td></tr>
161 <tr><th><kbd class="osc">/monitor/dim <em>state</em></kbd></th>
162 <td>where <em>state</em> is a bool/int representing the actual dim state of the Monitor strip</td></tr>
163 <tr><th><kbd class="osc">/monitor/mono <em>state</em></kbd></th>
164 <td>where <em>state</em> is a bool/int representing the actual mono state of the Monitor strip</td></tr>
167 <h3>Track specific operations</h3>
169 For each of the following, <em>ssid</em> is the surface strip ID for the track
172 Some Surfaces (many Android applets) are not able to deal with more
173 than one parameter in a command. However, the two parameter commands
174 below can also be sent as /strip/command/ssid param. Feedback can be
175 set to match this with the /set_surface/feedback <em>state</em>
177 href="@@osc58-feedback-and-strip-types-values#feedback">
178 Calculating Feedback and Strip-types Values.</a>
182 <tr><th><kbd class="osc">/bank_up <em>LED</em></kbd></th>
183 <td>where <em>LED</em> is a bool that indicates another bank_up operation is possible.</td></tr>
184 <tr><th><kbd class="osc">/bank_down <em>LED</em></kbd></th>
185 <td>where <em>LED</em> is a bool that indicates another bank_down operation is possible.</td></tr>
186 <tr><th><kbd class="osc">/strip/name <em>ssid</em> <em>track_name</em></kbd></th>
187 <td>where <em>track_name</em> is a string representing the name of the track
188 (note there is no coresponding command to set the track name)</td></tr>
189 <tr><th><kbd class="osc">/strip/mute <em>ssid</em> <em>mute_st</em></kbd></th>
190 <td>where <em>mute_st</em> is a bool/int representing the actual mute state of the track</td></tr>
191 <tr><th><kbd class="osc">/strip/solo <em>ssid</em> <em>solo_st</em></kbd></th>
192 <td>where <em>solo_st</em> is a bool/int representing the actual solo state of the track</td></tr>
193 <tr><th><kbd class="osc">/strip/monitor_input <em>ssid</em> <em>monitor_st</em></kbd></th>
194 <td>where <em>monitor_st</em> is a bool/int. True/1 meaning the track is force to monitor input</td></tr>
195 <tr><th><kbd class="osc">/strip/monitor_disk <em>ssid</em> <em>monitor_st</em></kbd></th>
196 <td>where <em>monitor_st</em> is a bool/int. True/1 meaning the track is force to monitor disk,
197 where both disk and input are false/0, auto monitoring is used.</td></tr>
198 <tr><th><kbd class="osc">/strip/recenable <em>ssid</em> <em>rec_st</em></kbd></th>
199 <td>where <em>rec_st</em> is a bool/int representing the actual rec state of the track</td></tr>
200 <tr><th><kbd class="osc">/strip/record_safe <em>ssid</em> <em>rec_st</em></kbd></th>
201 <td>where <em>rec_st</em> is a bool/int representing the actual record safe state of the track</td></tr>
202 <tr><th><kbd class="osc">/strip/gain <em>ssid</em> <em>gain</em></kbd></th>
203 <td>where <em>gain</em> is a float ranging from -193 to 6 representing the actual gain of the track in dB.</td></tr>
204 <tr><th><kbd class="osc">/strip/fader <em>ssid</em> <em>position</em></kbd></th>
205 <td>where <em>position</em> is an float ranging from 0 to 1 representing the actual fader position of the track.</td></tr>
206 <tr><th><kbd class="osc">/strip/*/automation <em>ssid</em> <em>mode</em></kbd></th>
207 <td>where <em>mode</em> is an int ranging from 0 to 3 representing the actual automation mode for the control.
208 <a href="@@osc58-automation">See OSC Automation.</a></td></tr>
209 <tr><th><kbd class="osc">/strip/trimdB <em>ssid</em> <em>trim_db</em></kbd></th>
210 <td>where <em>trim_db</em> is a float ranging from -20 to 20 representing the actual trim of the track in dB.</td></tr>
211 <tr><th><kbd class="osc">/strip/pan_stereo_position <em>ssid</em> <em>position</em></kbd></th>
212 <td>where <em>position</em> is a float ranging from 0 to 1 representing the actual pan position of the track</td></tr>
214 <h3>Selected Operations</h3>
216 Selection feedback is the same as for strips, only the path changes
217 from <em>/strip</em> to <em>/select</em> and there is no <em>ssid</em>.
218 there are some extra feedback and commands that will be listed here.
221 <tr><th><kbd class="osc">/select/n_inputs <em>number</em></kbd></th>
222 <td>where <em>number</em> number of inputs for this strip</td></tr>
223 <tr><th><kbd class="osc">/select/n_outputs <em>number</em></kbd></th>
224 <td>where <em>number</em> number of outputs for this strip</td></tr>
225 <tr><th><kbd class="osc">/select/comment <em>text</em></kbd></th>
226 <td>where <em>text</em> is the strip comment</td></tr>
227 <tr><th><kbd class="osc">/select/solo_iso <em>state</em></kbd></th>
228 <td>where <em>state</em> is a bool/int representing the Actual solo isolate state of the track</td></tr>
229 <tr><th><kbd class="osc">/select/solo_safe <em>state</em></kbd></th>
230 <td>where <em>state</em> is a bool/int representing the actual solo safe/lock state of the track</td></tr>
231 <tr><th><kbd class="osc">/select/polarity <em>invert</em></kbd></th>
232 <td>where <em>invert</em> is a bool/int representing the actual polarity of the track</td></tr>
233 <tr><th><kbd class="osc">/select/pan_stereo_width <em>width</em></kbd></th>
234 <td>where <em>width</em> is a float ranging from 0 to 1 representing the actual pan width of the track</td></tr>
235 <tr><th><kbd class="osc">/select/send_gain", <em>sendid</em> <em>send_gain</em></kbd></th>
236 <td>where <em>sendid</em> = nth_send, <em>send_gain</em>is a float
237 ranging from -193 to +6 representing the actual gain in dB for the send</td></tr>
238 <tr><th><kbd class="osc">/select/send_fader", <em>sendid</em> <em>send_gain</em></kbd></th>
239 <td>where <em>sendid</em> = nth_send, <em>send_gain</em>is a float
240 ranging from 0 to 1 representing the actual position for the send as a fader</td></tr>
241 <tr><th><kbd class="osc">/select/send_name <em>sendid</em> <em>send_name</em></kbd></th>
242 <td>where <em>send_name</em> is a string representing the name of the buss
243 this send goes to.</td></tr>
245 <h3>Menu actions</h3>
247 Every single menu item in Ardour's GUI is accessible via OSC. However,
248 there is no provision for returning the state of anything set this way.
249 This is not a bad thing as most menu items either do not have an on/off
250 state or that state is quite visible. Bindings that affect other parameters
251 that OSC does track will show on those OSC controls. Examples of this
252 might be track record enable for tracks 1 to 32, play or stop.