Csound Csound-dev Csound-tekno Search About

[Csnd] Manual entry re. Linux realtime I/O

Date2009-03-06 15:16
FromTobiah
Subject[Csnd] Manual entry re. Linux realtime I/O
The manual mentions:

If both -iadc and -odac are used at the same time, the -b option should be set to an integer multiple of ksmps

So, if I'm using sr = 44100 and kr = 10, then I should set -b to 4410, or 8820?  
Is this accurate?

Thanks

Toby

Date2009-03-06 16:04
FromVictor.Lazzarini@nuim.ie
Subject[Csnd] Re: Manual entry re. Linux realtime I/O
AttachmentsNone  

Date2009-03-06 16:33
FromTobiah
Subject[Csnd] Re: Re: Manual entry re. Linux realtime I/O
Victor.Lazzarini@nuim.ie wrote:
> yes, but it is easier to set ksmps  to power of two,since most drivers prefer their  
> buffers like that.
> eg.:
> sr =44100
> ksmps=64
> -b64 
> -B128

Oh, I was under the impression that ksmps had to be a factor
of sr.  The above would make kr = 816.666...  How does csound
handle that?

Thanks,

Toby

Date2009-03-06 23:23
FromBrent Boylan
Subject[Csnd] Re: Re: Re: Manual entry re. Linux realtime I/O
Actually, the only stipulation I know of is sr must equal ksmps * kr

On Fri, Mar 6, 2009 at 9:33 AM, Tobiah  wrote:
> Victor.Lazzarini@nuim.ie wrote:
>>
>> yes, but it is easier to set ksmps  to power of two,since most drivers
>> prefer their  buffers like that.
>> eg.:
>> sr =44100
>> ksmps=64
>> -b64 -B128
>
> Oh, I was under the impression that ksmps had to be a factor
> of sr.  The above would make kr = 816.666...  How does csound
> handle that?
>
> Thanks,
>
> Toby
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>