In this example, the "Setup UI" button in TouchDesinger will create a UI that doesn't have "Cutoff High" because it's on the effect. If we transition from relying on XML to relying on JSON we should be able to more easily build a UI with all the necessary components. In the short term, you can usually just put the effect code in a separate Faust Audio CHOP.
theDsp->buildUserInterface(&m_jsonui); // assume JSONUI m_jsonui; is in header
std::cerr << m_jsonui.JSON(false) << std::endl; // need to give this back to TouchDesigner via Python
Example dsp:
In this example, the "Setup UI" button in TouchDesinger will create a UI that doesn't have "Cutoff High" because it's on the effect. If we transition from relying on XML to relying on JSON we should be able to more easily build a UI with all the necessary components. In the short term, you can usually just put the effect code in a separate Faust Audio CHOP.