I think handling it like the current ZynAddSubFX plugin, which receives MIDI
events to handle noteOn and noteOff, is the easiest way since the plugin
doesn't need to keep track of which notes are currently played and which
aren't. However, a plugin using playNote() instead of handleMidiEvent() might
support more features (e.g. per-note-pitch-envelopes)...
What are the advantages/disadvantages of the two approaches? Which should I
Many thanks on advance,
* Just if you wonder why I don't wait for LV2: I really need the plugin now,
and I can not wait for a few months. It's currently the only solution for me.