Confused / String Array and Table Parameters

Yes, I was trying to help with lulu m’s script which didn’t run in Sonic and was thinking of what you said about getElement(), but I wasn’t sure I was right though.

The manual’s thread section talks about “controller” and “processor”, so I thought - UI and module. I ran a few versions of lulu m’s script with initialisation functions to see if it helped and got some errors. I know where I wen’t wrong now. A controller function can run in the Script Module, but not inside a processor function. (unless you use runAsync()).

I didn’t pay attention to the block comment in the first example where this was explained.

In our instruments we did the majority of the scripting in the MIDI module. The UI script was only used to control page switching, etc.

I noticed this after a while when things became less confusing.