Reply To: Correctly adding a Modulator Expression in Lua

Home Forums General Programming Correctly adding a Modulator Expression in Lua Reply To: Correctly adding a Modulator Expression in Lua

#13220
atom
Keymaster
  • Topics: 159
  • Replies: 2945
  • Total: 3104
  • ★★★★★

Well just add 32 then

byte23 = panel:getModulatorByName("DCO 1 LFO Mod Amt"):getModulatorValue() + 32

byte32 will be just 32 larger then the value of the modulator, byte23 is a normal number (integer), you can do whatever arithmetics with it you like

Ctrlr