Csound Csound-dev Csound-tekno Search About

[Csnd] ksmps, kr, b and B (not Bed and Breakfast) ...

Date2012-10-15 11:57
Fromfrancesco
Subject[Csnd] ksmps, kr, b and B (not Bed and Breakfast) ...
Hello All,
another little question about all these values:
for full duplex audio -b must be integer multiple of ksmps.
Easy, just use a power of two (litter or equal -b).
But should not be kr an integer value?
I mean, kr will be integer, but what if i use a sr of 44100
and ksmps, say, of 32 (i.e. kr 1378.125)?
I guess kr will be rounded but is it that an incorrect use?
Because if i apply the rules above and i use 44100 sr i could
only set kr to 1, 2 or 4.
Am i wronging somethings?

Thank You,
ciao,
francesco.






--
View this message in context: http://csound.1045644.n5.nabble.com/ksmps-kr-b-and-B-not-Bed-and-Breakfast-tp5716853.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-10-15 12:12
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] ksmps, kr, b and B (not Bed and Breakfast) ...
kr need not be an integer; ksmps must be


> Hello All,
> another little question about all these values:
> for full duplex audio -b must be integer multiple of ksmps.
> Easy, just use a power of two (litter or equal -b).
> But should not be kr an integer value?
> I mean, kr will be integer, but what if i use a sr of 44100
> and ksmps, say, of 32 (i.e. kr 1378.125)?
> I guess kr will be rounded but is it that an incorrect use?
> Because if i apply the rules above and i use 44100 sr i could
> only set kr to 1, 2 or 4.
> Am i wronging somethings?
>
> Thank You,
> ciao,
> francesco.
>
>
>
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/ksmps-kr-b-and-B-not-Bed-and-Breakfast-tp5716853.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-10-15 12:30
Fromfrancesco
Subject[Csnd] Re: ksmps, kr, b and B (not Bed and Breakfast) ...
Ok,
because kr is a frequency, so no need to be integer.
Right?

Thanks,
ciao,
francesco.




--
View this message in context: http://csound.1045644.n5.nabble.com/ksmps-kr-b-and-B-not-Bed-and-Breakfast-tp5716853p5716857.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-10-15 15:15
FromJustin Smith
SubjectRe: [Csnd] Re: ksmps, kr, b and B (not Bed and Breakfast) ...
Exactly. ksmps must be an integer because it determines the number of
samples in each asig.

On Mon, Oct 15, 2012 at 4:30 AM, francesco  wrote:
> Ok,
> because kr is a frequency, so no need to be integer.
> Right?
>
> Thanks,
> ciao,
> francesco.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/ksmps-kr-b-and-B-not-Bed-and-Breakfast-tp5716853p5716857.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>