1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

[CLOSED] Recording automation of a knob scriptly-modified

Discussion in 'Scripting Workshop' started by masterglob, Aug 1, 2015.

  1. masterglob

    masterglob New Member

    Messages:
    4
    Hello,

    I am writing a KSP script in Kontakt 5.5.1

    I use a Knob (named $knobBank) which represent the MIDI bank I want to send on a MIDI controller.
    declare ui_knob $knobBank(0,9,1)
    declare $knobBank_ID
    $knobBank_ID := get_ui_id($knobBank)

    I also use different buttons which intend at setting the right value in $knobBank.
    Those buttons activate the following line, when a change is detected due to a UI action:
    set_control_par($knobBank_ID,$CONTROL_PAR_VALUE,$current_bank_num)

    $knobBank is the only persistent variable that I want to automate and it almost works, but I still have a problem:
    When I record automations, it only works if I manually change the knob itself, but not when it is indirectly modified by another button.

    Is there a way to force the automation to be recorded? (I known that the VST-interface provides this parameter when a parameter is updated, so as to avoid recursive updates of eventsI guess...)

    Thanks for any Idea :)
     
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Automation is done for each widget individually. You cannot chain/inherit automation between widgets.
     
  3. masterglob

    masterglob New Member

    Messages:
    4
    Thanks for your quick answer. Actually, I guessed the answer but hoped for a tricky workaround....