Re: [proaudio] Real-time for audio |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [proaudio] Real-time for audio
- From: Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
- Date: Wed, 5 May 2010 15:48:54 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=6mqi/CyeU6xhKHamklN1ctamp3hVOK62oKFSoaLCGxc=; b=tWeRHT08MMA+ubOly1yyYBqegIX1MWKdTlUwNgmCPDZxWQiRmG9+ykT2y4C+qDwyrn xHRCIUFkR/XKi/m5nJgpzCpuHvkzhBC6HNeOPKVPXgsfzPu6TMO84Air25ma9qyrEeI0 EaA9OiannfQEw05AQH+tf3hpZ9sJvYBeiWNds=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=SJ7/4Mf16D7RouR1laNPN6mwny8GPdYuOZp/dAzdp3diB/CBDXYPZ2Dl+wiOe3ef1J 6NsU6cp3qLbx6Dgpo93lIrbKVVYf8D63yIPJOt20DrndwCgofXxtRhFRdveOZaAIaah0 reKDMFRdCEbHYYPAA2jkmd9J9ww3bm0jLNrA4=
On Tuesday 04 May 2010 17:03:56 Grant wrote:
> I'm trying to set up a real-time system for audio playback via mpd.
> I've booted to rt-sources with CONFIG_PREEMPT_RT enabled. Do I need
> to set up jack and follow the real-time instructions here:
>
> http://jackaudio.org/faq
>
> Is there anything else I need to do?
>
> - Grant
Hi there
I'm not familiar with mpd at all but a realtime kernel for this seems a bit
overkill. The way I see it is a realtime kernel is tuned for low latency
interactivity for things like soft synths, effects and where you need the
responsiveness of live input with minimal delay.
The reason is because playing a soft synth live via a midi keyboard is just
unplayable when you have say a hundred millisecond delay from playing a note
until when you actually hear it. With a realtime kernel you can get very low
latency and soft synths and the like become much more usable. For a daemon
playing music I don't see how this would make much difference but as I say I'm
not familiar with mpd.
It seems you went down the right track though, one thing I might add is that
if you followed the jack faq, you need to add yourself to the audio group to
have realtime functionality for processes that you run. Or you could add the
username that mpd runs as to limits.conf instead, however I'm not sure of the
consequences of this.
Hope this helps and the best of luck in your endeavour.
Best regards
Gavin