Csound Csound-dev Csound-tekno Search About

settings of kr for best realtime performance

Date2006-03-16 22:00
FromAtte André Jensen
Subjectsettings of kr for best realtime performance
Hi

I think I got the idea of -B and -b, and found reasonable settings for 
them. But how about kr or ksmps? Is there any magical relationship with 
-B and/or -b? I know that as a general rule a large ksmps should give 
better realtime performance, but besides that?

-- 
peace, love & harmony
Atte

http://www.atte.dk

Date2006-03-17 07:12
FromAtte André Jensen
SubjectRe: settings of kr for best realtime performance
Iain Duncan wrote:

> If you are playing live and want low latency, you need to have a very
> small ksmp in order to get the buffers down low. So something like ( on
> linux with low latency kernel ) ksmp=8 or 4, -b8 -B32 gets dead low
> latency.

Hmm, I'm gonne try that for sure. I have ksmp=20 right now. Will check 
it out tonight, thanks!

-- 
peace, love & harmony
Atte

http://www.atte.dk

Date2006-03-17 08:42
FromIain Duncan
SubjectRe: settings of kr for best realtime performance
> I think I got the idea of -B and -b, and found reasonable settings for
> them. But how about kr or ksmps? Is there any magical relationship with
> -B and/or -b? I know that as a general rule a large ksmps should give
> better realtime performance, but besides that?

If you are playing live and want low latency, you need to have a very
small ksmp in order to get the buffers down low. So something like ( on
linux with low latency kernel ) ksmp=8 or 4, -b8 -B32 gets dead low
latency. Of course this will eat up more cpu use and you'll probably
want to use rtaudio=alsa, -m0, -D, --sched, etc.

iain

Date2006-03-17 15:29
FromIstvan Varga
SubjectRe: settings of kr for best realtime performance
AttachmentsNone