Re: [LAD] midi stream error analysis

From: hermann <brummer-@web.de>
Date: Sat Jul 10 2010 - 04:49:19 EEST

Am Freitag, den 09.07.2010, 22:35 +0100 schrieb James Morris:
> On 9 July 2010 14:18, Ralf Mardorf <ralf.mardorf@email-addr-hidden-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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Jul 10 08:15:01 2010

This archive was generated by hypermail 2.1.8 : Sat Jul 10 2010 - 08:15:01 EEST