To use the node in your project you should have the vasily/tone library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.
C++ implementation
struct State {
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
//auto inValue = getValue<input_IN>(ctx);
//emitValue<output_OUT>(ctx, inValue);
if (!isInputDirty<input_UPD>(ctx))
return;
auto port = getValue<input_PORT>(ctx);
noTone(port);
}