Am Freitag, den 09.07.2010, 22:35 +0100 schrieb James Morris:
On 9 July 2010 14:18, Ralf Mardorf
<ralf.mardorf(a)alice-dsl.net> wrote:
Is this issue for MIDI inside Linux or when using
the hw MIDI?
Software only. I've partially located the problem but am unsure of why
it occurs so frequently, again down to software.
the call to jack_midi_event_reserve returns NULL every few notes being
sequenced (instead of returning a pointer to the data where the MIDI
events should be written to). So some note-on events are missing
note-off events, and some note-off events are divorced from any
preceding note-on. Definitely s/w.
might try adjusting some JACK settings and see what happens.
Cheers,
James.
You can use the jack_ringbuffer to avoid the event_reserve fail.
greats hermann