Re: [LAD] jack-midi? what are the benefits?

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Thu Feb 07 2008 - 18:53:25 EET

On Thu, Feb 07, 2008 at 03:31:53PM +0100, Werner Schweer wrote:

> say you want to create a software synthesizer. With jack midi you can
> do all processing in the jack callback.
> If you use alsa midi, you need an extra realtime thread to collect and
> time stamp alsa midi events and some form of non blocking interprocess
> communication between the midi thread and jack callback.

The main advantage should be better timing. Jack-midi can
specify midi events with a resolution of one sample time.

Having midi arriving in jack's callback is an advantage for
note and controller events, but not necessarily for others
that you don't want to handle there. So you may still need the
extra thread and non-blocking communication to handle those.

-- 
FA
Laboratorio di Acustica ed Elettroacustica
Parma, Italia
Lascia la spina, cogli la rosa.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Feb 7 20:15:08 2008

This archive was generated by hypermail 2.1.8 : Thu Feb 07 2008 - 20:15:08 EET