@impression said:
Lets say I want 32 polyphony, that would be an insane effort.
IMO this all comes down to data structure design. A bad design will require insane effort. A good design will scale up to any amount of polyphony you need.
What's the input? From your MIDI keyboard?
What do you need to do with the notes afterward? Just spit the MIDI events back out, or quantize them, etc etc?
[text sequence] is a nice way to store note sequences. Each entry starts with the time delta before this note, followed by the note data, which may be anything you want (e.g., note number, sustain time, velocity, suitable for [makenote] when playing back).
It would really help if you could explain the goal, to help design a way to un-insane the insane effort.
hjh