[Csnd] ksmps

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] ksmps

rmgls
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
[hidden email]

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] ksmps

jpff
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
> [hidden email]
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] ksmps

rmgls
Hello,

it is  clear now for me.

Thanks
w


> On 9 May 2018, at 18:51, jpff <[hidden email]> 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
>> [hidden email]
>>
>> Csound mailing list
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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