Code: Select all
function onLoadIntoSlot() defineParameter("Transpose", "Transpose Amount", 12, -96, 96, 1, onTransposeChange) end
So, is there some way to preserve state here such that, it defaults to 12 on load, but will remain unchanged when moved around? Are there best practices documented somewhere that I missed? I know that the state is correct immediately on call to onRemoveFromSlot so that seems like the place to preserve the state, but I can't help but feel like I'm missing something fundamental here.
It would be great to see a good example of a full midi processor written in HalionScript from Steinberg.
BTW: I'm new to this forum, not new to Cubase, new to Halion, not new to programming.