I want to use the name of an uiLabel as argument in a Lua function call with the purpose this function replaces the displayed text in this uiLabel by a tekst generated by this function.
So, I have by instance this code:
patchNibbles = midi:getData():getRange(8, 24)
— Now I want to call
to build labeltext from value nibbles and set this text in the uiLabel with name ‘patchLabel’.
buildAsciiBytes (patchNibbles, ??? ) –<–how to define this argument?
panel:getLabel(“patchLabel”):setText(newLabel:toString()) — <–This does not work. What is the right construction to set the desired name in the modulator?