i have the following line in my codec:
Code: Select all
{name="ModEnvDest", input="value", output="value", min=0, max=5},
If im right, then it should be possible to create a function and call it from local inputs:
Code: Select all
{pattern="b? 10 xx", name="ModEnvDest", value="set_new_value()"},
My goal is to increment the extracted value by 1 if an input is recognized on the given item. Therefore, i have a button inside a TouchOSC template that sends the value 1 if pressed. Remote than should recognize the input and increment the value. One can than press a button on the touch device and cycle, for example, through the different waveforms on oscillators.
I have little knowledge in C, but no experience in Lua.
Thank you.