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.