Re: Lua in CTRLR 101

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

#2976
msepsis
Participant
  • Topics: 219
  • Replies: 732
  • Total: 951
  • ★★★

Ok. I think you meant something like this, Atom
this works now. finally moving the hell on <img loading=” 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

Ctrlr