Re: Lua in CTRLR 101

Home Forums General Programming Lua in CTRLR 101 Re: Lua in CTRLR 101

#2969
netchose
Participant
    • Topics: 15
    • Replies: 70
    • Total: 85

    i think someting like that

    [code:3ehofbxe]OscPitchBend = function(modulator, newValue)
    bend = panel:getModulatorValue("pitchbend")
    pbOsc1 = panel:getModulatorByName("Osc1pitchBend")
    pbOsc2 = panel:getModulatorByName("Osc12pitchBend")

    v=bend :getModulatorValue()

    pbOsc1 = setModulatorValue (v, true, true, true)
    pbOsc2 = setModulatorValue (v, true, true, true)

    end[/code:3ehofbxe]

    Ctrlr