X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=_manual%2F22_using-control-surfaces%2F01_controlling-ardour-with-osc.html;h=3c474aa629b777490edcc88620a879ccb78dd604;hb=a60b658792bf330afde26b2a8d86aa10d5b3db5f;hp=e60041949890adf388e78b47958101cd3f284688;hpb=cc226236a12fa5c18dc98dee5663905db424fde1;p=ardour-manual-diverged diff --git a/_manual/22_using-control-surfaces/01_controlling-ardour-with-osc.html b/_manual/22_using-control-surfaces/01_controlling-ardour-with-osc.html index e600419..3c474aa 100644 --- a/_manual/22_using-control-surfaces/01_controlling-ardour-with-osc.html +++ b/_manual/22_using-control-surfaces/01_controlling-ardour-with-osc.html @@ -48,7 +48,10 @@ here"/> than one controller at a time. The two controllers can bank independantly and even use different math for faders. This could be used to allow talent to adjust their own monitor mix using a tablet - or phone that can run an OSC controller. + or phone that can run an OSC controller. For a full explanation of + how Ardour's feedback works please read + OSC feedback In Ardour.

Control Surface Set Up

@@ -60,24 +63,48 @@ here"/> to valuse set by Aurdour's GUI or automation, What kind of math the faders use and more.

+

+ Any time the /set_surface command is sent, the current bank + is recalculated and if feedback is turned on, the values of each + strip's controls are sent (or refreshed) as well. This will also + refresh the Master feedback setup. +

+

If /set_surface is not sent, the default values are used: +

+ These values give the same behaviour as prior versions of Ardour. (or the closest possible) +

/set_surface bank_size strip_types feedback fadermode
-
where bank_size is an int ranging from 0 to about 65000 - (16bits) The value 0 means no banking (or infinite bank size). - strip_types (when implemented) is a bitset that will - determine what kind of channels will be included in the bank. - feedback is a bitset that determines what things should send - feedback to the control surface. fadermode is a string that - tells Ardour what kind of math the control surface's faders use.
+
+ See below for an explaination of each parameter. +
-

- Strip Types Coming soon... check for more info sometime. +

bank_size

+

+ Bank Size is the number of channel strips the controller supports + without banking. Setting this to 0 turns banking off by setting the + bank size to infinite.

-

- Feedback This is an integer made up of bits. The easy way to +

strip_types

+

+ Strip Types are coming soon... check for more info sometime. For now + just use 0 (or anything else) as this is ignored. I don't know the bit + order just yet, but it will work similar to feedback below. Strip Types + will determine What kind of strips will be included in a bank. This would + include: Audio, MIDI, busses, VCAs, Master, Monitor and hopefully + hidden or selected strips. +

+

feedback

+

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. +

-

-

- Gainmode is a string that is one of: -

- Any time the /set_surface command is sent, the current bank - is recalculated and if feedback is turned on, the values of each - strip's controls are sent (or refreshed) as well. + So using a value of 17 would turn on feedback for strip and master + controls, but leave meters, timecode and bar/beat feedback off.

-

If /set_surface is not sent, the default values of: +

gainmode

+

+ Gainmode is a an int that acts as a bool:

- These values give the same behaviour as prior versions of Ardour.

List of OSC messages

@@ -134,14 +144,17 @@ here"/>

Master and Monitor strip control

-
/masterabs abs
-
where abs is a float ranging from 0.0f to 2.0f
-
/masterdB dB
-
where dB is a float ranging from -200f to 6f
-
/masterfader fader
-
where fader is a float ranging from 0.0f to 1.0f
-
/master1024 fader
-
where fader is an int ranging from 0 to 1023
+
/master/gain dB
+
where dB is a float ranging from -193 to +6 representing the desired gain of master in dB
+
/master/fader position
+
where position is an int ranging from 0 to 1023 representing the fader control position
+
/master/mute yn
+
where yn is a bool/int representing the desired mute state of the track
+
/monitor/gain dB
+
where dB is a float ranging from -193 to 6 representing the desired gain of monitor in dB
+
/monitor/fader position
+
where position is an int ranging from 0 to 1023 representing the fader control position
+

Transport Control

@@ -198,39 +211,35 @@ here"/>

Track specific operations

- For each of the following, rid is the remote ID for the track + For each of the following, ssid is the Surface Strip ID for the track

- RID has a different meaning than in Ardour version 4.7 and before. - Effectively, banking is always being used and the RID is generated on - the fly. The RID is the possition of the strip within bank as an int + SSID has a different meaning than RID in Ardour version 4.7 and before. + Effectively, banking is always being used and the SSID is generated on + the fly. The SSID is the possition of the strip within bank as an int 1 to bank size. There are no gaps as there have been in the past. Depending on the value of strip_types sent to Ardour, Master and - Monitor, may be included in the list of RIDs or not as the controller - sets. + Monitor, may be included in the list of SSIDs or not as set in + /set_surface.

/bank_up
Change bank to the next higher bank.
/bank_down
Change bank to the next lower bank.
-
/strip/mute rid mute_st
+
/strip/mute ssid mute_st
where mute_st is a bool/int representing the desired mute state of the track
-
/strip/solo rid solo_st
+
/strip/solo ssid solo_st
where solo_st is a bool/int representing the desired solo state of the track
-
/strip/recenable rid rec_st
+
/strip/recenable ssid rec_st
where rec_st is a bool/int representing the desired rec state of the track
-
/strip/gainabs rid gain_abs
-
where gain_abs is a float ranging from 0 to 2 (0 being -infinite, 1 being 0dB and 2 being +6dB).
-
/strip/gaindB rid gain_db
-
where gain_db is a float ranging from -200 to 6 representing the desired gain of the track in dB.
-
/strip/fader rid fader position
-
where fader position is a float ranging from 0 to 1 representing the fader control position.
-
/strip/gaindB rid gain_db
-
where fader1024 is an int ranging from 0 to 1023 representing the fader control position.
-
/strip/trimabs rid trim_abs
+
/strip/gain ssid gain
+
where gain is a float ranging from -193 to 6 representing the desired gain of the track in dB.
+
/strip/fader ssid position
+
where position is an int ranging from 0 to 1023 representing the fader control position.
+
/strip/trimabs ssid trim_abs
where trim_abs is a float ranging from 0.1 to 10 (-20dB to +20dB). (since 4.1)
-
/strip/trimdB rid trim_db
+
/strip/trimdB ssid trim_db
where trim_db is a float ranging from -20 to 20 representing the desired trim of the track in dB. (since 4.1)
@@ -816,3 +825,5 @@ here"/>
Zoom/zoom-focus-playhead
Zoom Focus Playhead
Zoom/zoom-focus-right
Zoom Focus Right
+ +{% children %}