Value = value + 8 * flagTremolo:getModulatorValue() Value = value + 4 * flagVibrato:getModulatorValue() Value = value + 2 * flagSustain:getModulatorValue() If flagSustain ~= nil and flagTremolo ~= nil and flagVibrato ~= nil then "VibratoFlag")įlagTremolo = panel:getModulatorByName(op. "SustainFlag")įlagVibrato = panel:getModulatorByName(op. A complete implementation with access to all parameters is feasible, especially since Ctrlr supports LUA as a scripting language.Įxample: following code handles the OPx flags, which are located in a single parameter at different bit positions:įlagSustain = panel:getModulatorByName(op.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |