Home › Forums › General › Programming › Lua in CTRLR 101 › Re: Lua in CTRLR 101
July 19, 2011 at 12:50 am
#2976
Ok. I think you meant something like this, Atom
this works now. finally moving the hell on ” title=”Smile” />
[code:hthdvtvn]
OscPitchBend = function(modulator, newValue)
bend = panel:getModulatorByName("PitchBend"):getModulatorValue()
pbOsc1 = panel:getModulatorByName("Osc1Pitch")
pbOsc2 = panel:getModulatorByName("Osc2Pitch")
pbOsc1:setModulatorValue (bend, true, true, true)
pbOsc2:setModulatorValue (bend, true, true, true)
end
[/code:hthdvtvn]
Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen