Notein->Noteout: Wrong order for NoteOffs ?

ctrlzjones's icon

I want to have a very basic filter for midi notes passing through (could add weighted randomness later) but somehow some of the note offs are not making it, so the some notes are being sustained randomly. I guess that's because the velocities are send before the pitches... How should I address that?

I've tried with [midiparse]-[unpack] too; same problem.

For the moment It's for unison only, but I wouldn't mind to learn how to deal with chords too, dooh.

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

this can't work so because decide might kill only note off,
and leave you with hanging note.
if you want to do this that simple,
block only note on messages.
you will then have extra note off messages

to fix that you would store passed note numbers and pass
only note off messages for them

Max Patch
Copy patch and select New From Clipboard in Max.

ctrlzjones's icon

Today I learned to use coll for nifty temporal storage. Grazie Mille.