Csound Csound-dev Csound-tekno Search About

[Csnd] ksmps

Date2018-05-09 17:36
Fromrmgls
Subject[Csnd] ksmps
hello,

in most examples in the manual i see:

ksmps   32

i would understand the rule to fix this value;
i read, ksmps is the nombre of samples in a period,
but how to fix it really, is it dependant  of the sr value?

Thanks in advance.

Raoul Megelas
rmgls@orange.fr

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-05-09 17:51
Fromjpff
SubjectRe: [Csnd] ksmps
ksmps is independent of the sampl ratw.  Of course sr=kr*ksmps and there 
may be constaints on sr from sound card or such

Larger ksmps give faster operation in general, small ksmps give more 
precision to audio changes; also moderated by the --sample-accurate option

==John ff

On Wed, 9 May 2018, rmgls wrote:

> hello,
>
> in most examples in the manual i see:
>
> ksmps   32
>
> i would understand the rule to fix this value;
> i read, ksmps is the nombre of samples in a period,
> but how to fix it really, is it dependant  of the sr value?
>
> Thanks in advance.
>
> Raoul Megelas
> rmgls@orange.fr
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-05-09 19:37
Fromrmgls
SubjectRe: [Csnd] ksmps
Hello, 

it is  clear now for me.

Thanks
w


> On 9 May 2018, at 18:51, jpff  wrote:
> 
> ksmps is independent of the sampl ratw.  Of course sr=kr*ksmps and there may be constaints on sr from sound card or such
> 
> Larger ksmps give faster operation in general, small ksmps give more precision to audio changes; also moderated by the --sample-accurate option
> 
> ==John ff
> 
> On Wed, 9 May 2018, rmgls wrote:
> 
>> hello,
>> 
>> in most examples in the manual i see:
>> 
>> ksmps   32
>> 
>> i would understand the rule to fix this value;
>> i read, ksmps is the nombre of samples in a period,
>> but how to fix it really, is it dependant  of the sr value?
>> 
>> Thanks in advance.
>> 
>> Raoul Megelas
>> rmgls@orange.fr
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here