I have created a UI in JUCE to control parameters in the dsp but I would like to pass a calculated value from the dsp to the UI. It seems logical to use [setparam "paramname"], but that doesn't show up in the exported code.
It seems the only way to get out of gen is via an outlet but that equals "gen_xxxx" in the exported code.
I know very little about c++ syntax so I'm wondering if there is any object to do this in gen~ instead of messing with the exported c++.
Thanks in advance.