On Tue, 10 Sep 2024 09:57:00 +0100
Will Godfrey <willgodf...@musically.me.uk> wrote:

>There is a potential weakness in MIDI_Learn in that if the 'in_place' flag is
>set (which is usually sent by LV2), then instead of being buffered it calls
>directly into:
>       synth->interchange.commandSend(putData);
>        synth->interchange.returns(putData);
>This is done to ensure sample accurate synchronisation.
>Will J Godfrey

Another thought...

In '/Interface/MidiLearn::writeMidi(,
Try changing the line 'if (in_place)' to 'if (false)' so that it always
goes through the buffer. While that means you lose sample accuracy, a very
large number of controls at ones won't block the whole system. If the buffer
gets filled the rest just get dropped.

-- 
Will J Godfrey


_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to