From 26d592b95119669e5121a4f34862ded1e9a6915e Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Sun, 15 May 2016 07:50:13 -0700 Subject: [PATCH] OSC: Fader mode edited to match the code. --- .../01_controlling-ardour-with-osc.html | 40 ++++++++----------- 1 file changed, 16 insertions(+), 24 deletions(-) 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 05e7855..3aa6815 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 @@ -70,9 +70,9 @@ here"/>
  • Bank Size: 0 - No banking (or infinite bank size).
  • Strip Types: All strip types except hidden.
  • Feedback: Off.
  • -
  • Fader Mode: ABS - Absolute gain.
  • +
  • Fader Mode: 0 - gain in dB
  • - These values give the same behaviour as prior versions of Ardour. + These values give the same behaviour as prior versions of Ardour. (or the closest possible)

    /set_surface bank_size strip_types @@ -97,9 +97,10 @@ here"/> hidden or selected strips.

    feedback

    -

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

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

    • 1 - feedback values of controls in strips. @@ -108,7 +109,7 @@ here"/> 2 - Send meter values (not coded yet).
    • - 4 - Send timecode (not codeed yet). + 4 - Send timecode (not coded yet).
    • 8 - Send Bar and Beat (not coded yet). @@ -117,24 +118,19 @@ here"/> 16 - Enable master section feedback (not coded yet).
    +

    So using a value of 17 would turn on feedback for strip and master controls, but leave meters, timecode and bar/beat feedback off.

    gainmode

    - Gainmode is a string that is one of: + Gainmode is a an int that acts as a bool:

      -
    • ABS Absolute Gain as a float value from 0.0 to 2.0 - sent in the same manner as the OSC command. For example: - /strip/gainabs RID Value.
    • -
    • DB dB value as a float from -200 to +6. Sent as - /strip/gaindB RID value.
    • -
    • FADER A positional fader based on the same math as - Ardour's GUI. A float from 0.0 to 1.0. - Sent as /strip/fader RID value
    • -
    • INT1024 Also a positonal value, but an Integer from - 0 to 1023 (1024 values) for controllers with no FPU. Sent as - /strip/fader1024 RID value
    • +
    • 0 (or false) dB value as a float from -193 to +6. Sent as + /strip/gain RID value. (-193 or below are the same as -inf)
    • +
    • 1 (or true) 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

    @@ -232,14 +228,10 @@ here"/>
    where solo_st is a bool/int representing the desired solo state of the track
    /strip/recenable rid 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/fader1024 rid fader1024
    -
    where fader1024 is an int ranging from 0 to 1023 representing the fader control position.
    +
    /strip/gain rid gain
    +
    where gain is a float ranging from -193 to 6 representing the desired gain of the track in dB.
    +
    /strip/fader rid position
    +
    where position is an int ranging from 0 to 1023 representing the fader control position.
    /strip/trimabs rid 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
    -- 2.37.2