Re: [LAU] audio latency question

From: andy baxter <andy@email-addr-hidden-online.co.uk>
Date: Wed Mar 23 2011 - 17:43:09 EET

> 1) it depends on the synth
>
Do you know what the case is with supercollider? E.g. if I were to
forget about midi and just trigger sc synths directly from python using
this wrapper: http://trac2.assembla.com/pkaudio/wiki/SuperCollider

> 2) with JACK MIDI, there is zero latency and zero jitter between two
> applications. with ALSA MIDI, latency can be up to a few msecs, but is
> generally on the order of tens of usecs. with ALSA, you don't have
> deterministic scheduling of the apps (in general) and that is the main
> source of the latency and jitter. in addition, the MIDI data arrives
> (via ALSA) in the wrong thread, so there is some delay involved in
> getting it injected into the synthesis (process()) thread without
> locks. with JACK, the MIDI data arrives in the right thread, with
> sample accurate timestamps.

Thanks - that's worth knowing.

Cheers.

andy :)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Mar 23 20:15:02 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2011 - 20:15:03 EET