I am just revisiting an old patch and wanted to simplify a problem that has eluded me for some time now.
What I want to do is record playing midi notes while they are coming in live and have several spreads with information like note, velocity, length, etc. I have a working version, which is unfortunately terribly ineffective, so I am trying to build a more efficient version of that part.
The new version is working pretty well, but I just cant figure out one of the remaining bugs, which is that sometimes when several notes are playing close to each other the length of the spread decreases again by 1 or 2, which shouldn’t happen, as notes are either in the buffer or stored.
Does someone know of a better way in vvvv or can spot the error in my patch? I have done something similar in Max, where you just have a super simple node that does the hard part of keeping track which notes are still playing so you dont need some sort of buffer, but not sure if something like that exists for vvvv (maybe a plugin).
Here is the new version:
saving_midi_notes.v4p (26.4 KB)