Midi note delay break problem

Hi, I have a question regarding MIDI I/O. The MIDI example provided by Oopsy has excellent patches for control-related functions, and I’ve been using them quite stably. However, I’ve encountered some issues when working with MIDI notes. Currently, I’ve tested the patches in midi_raw_in and performed note testing. I’m using a simple cycle test to extract the note, and when I play a 3-4 note arpeggio in arp mode and loop it 5-6 times, a note occasionally drops.

Additionally, when testing on my own program (with 4 oscillators running simultaneously), there is noticeable delay between notes when arpeggio mode starts. The same pitch path works fine when I use a knob and control it through CV, which is stable. I’ve tried to remove unnecessary parts from the midi_raw patch, including internal elements, but the issue persists. Also, when I use both CC and note extraction simultaneously, the notes seem to freeze if I output from Ableton Live.

I hope to get some help on this.

1 Like

I wrote a simple Max program that converts MIDI notes to MIDI CC, and then tested it by using the parameter midi_cc to control pitch. I sent 8 MIDI note messages from Ableton Live. There has been noticeable improvement, but intermittent delays still occur, which doesn’t seem to be an issue with notein. I haven’t received a reply yet. I’m wondering if it’s possible to optimize the MIDI processing by modifying the .js file to remove unnecessary parts.