A simple question about converting polyphonic midi to monophonic midi for CV output



I have been starting to play around with Max, and lately I’ve been working on a very simple M4L device that allows me to control my modular synth through a DC coupled audio interface using the new multichannel output features. Most of it works now, but I’m stuck with a very simple issue: whenever a note off message is received, the note drops out entirely, even if another note is being held at that time. I understand why it occurs on the patch I currently have, and were this JavaScript I’d have an easy time writing a solution,