Is it possible to cancel/invalidate an event?


    Cephas Teom's icon
    Cephas Teom's icon
    Cephas Teom
    Nov 24 2022 | 1:23 pm
    Hi all,
    I've built a synth, exported to .wasm, and scheduled a note on and note off event. All is well.
    However, let's say I want to cut all the of the notes currently active in my synth. I could send early note off events for active voices or build some custom functionality in RNBO to cut the notes off following a cut message in an inport. However, the original note off event is still scheduled and will happen.
    This is leading to some odd behaviour - notes triggered after the cut event are being truncated, presumably because the original note off events are hanging around.
    So, it'd be great if there was a way of either: a) cancelling a specific midi event b) cutting all active voices in such a way that the RNBO synth knew how to handle stale note off messages.
    Any suggestions?
    Many thanks!