wayland/running-median
#pragma XOD evaluate_on_pin disable #pragma XOD evaluate_on_pin enable input_UPD node { void evaluate(Context ctx) { if (isInputDirty<input_UPD>(ctx)) { auto samples = getValue<input_Buffer>(ctx); emitValue<output_Highest>(ctx, samples -> getHighest()); emitValue<output_Done>(ctx, 1); } } }
© 2017–2024XOD Inc
Contact us: hello@xod.io