Csound Csound-dev Csound-tekno Search About

[Csnd] krate stupid question

Date2012-04-11 11:46
Fromfrancesco
Subject[Csnd] krate stupid question
Hello All,
apologies for this really stupid question but it's my daily curiosity ...
If i have a csd that doesn't use k-rate variables can i use a low value
for k-rate (i.e. 1) without influencing the resulting performance?

I guess that k-rate has some influence but am i right?
How k-rate influence the compilation apart for k-rate variables?

Thanks,
ciao,
francesco.


--
View this message in context: http://csound.1045644.n5.nabble.com/krate-stupid-question-tp5632438p5632438.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-04-11 11:55
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] krate stupid question
krate does not juts affect k variables.  a varaiables are vectors on ksmps
and various opcodes only update internal parameters once per k cycle.  A
k-rate of 1 woul dmean the audio vectors would be 44100 (say) samples
long.  It does depend on the opcodes you are using.  Also notes star/end
quantised to the  kcycle, so you could only have events starting/finishing
on a second boundary -- may be what you want....

> Hello All,
> apologies for this really stupid question but it's my daily curiosity ...
> If i have a csd that doesn't use k-rate variables can i use a low value
> for k-rate (i.e. 1) without influencing the resulting performance?
>
> I guess that k-rate has some influence but am i right?
> How k-rate influence the compilation apart for k-rate variables?
>
> Thanks,
> ciao,
> francesco.
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/krate-stupid-question-tp5632438p5632438.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-04-11 12:01
FromVictor Lazzarini
SubjectRe: [Csnd] krate stupid question
It will affect timing of events. As these happen at k-rate boundaries, and latency too.

Victor
On 11 Apr 2012, at 11:46, francesco wrote:

> Hello All,
> apologies for this really stupid question but it's my daily curiosity ...
> If i have a csd that doesn't use k-rate variables can i use a low value
> for k-rate (i.e. 1) without influencing the resulting performance?
> 
> I guess that k-rate has some influence but am i right?
> How k-rate influence the compilation apart for k-rate variables?
> 
> Thanks,
> ciao,
> francesco.
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/krate-stupid-question-tp5632438p5632438.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"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-04-11 12:07
Fromfrancesco
Subject[Csnd] Re: krate stupid question
Yes, thanks, beautiful!
I have a little arpeggio (6 notes in 2 sec) and just discovered
that with kr=sr i will have 2 chords.

For a low level users like me Csound is a daily surprise also due to my low
memory ...

PS: i had a previously message about k-rate and audio in, where audio in
quality is influenced by k-rate (only with ksmps=1 i have good audio);
i guess is for same reasons You explained, right?

Thank You,
ciao,
francesco.


--
View this message in context: http://csound.1045644.n5.nabble.com/krate-stupid-question-tp5632438p5632490.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-04-11 13:22
FromMichael Gogins
SubjectRe: [Csnd] krate stupid question

It will definitely slow down with ksmps of 1. I find that performance is good with ksmps of about 15 our more.

Still, ksmps of 1 will probably sound better because envelopes and cutoffs will be more precise.

On Apr 11, 2012 6:47 AM, "francesco" <ilterzouomo@fastwebnet.it> wrote:
Hello All,
apologies for this really stupid question but it's my daily curiosity ...
If i have a csd that doesn't use k-rate variables can i use a low value
for k-rate (i.e. 1) without influencing the resulting performance?

I guess that k-rate has some influence but am i right?
How k-rate influence the compilation apart for k-rate variables?

Thanks,
ciao,
francesco.


--
View this message in context: http://csound.1045644.n5.nabble.com/krate-stupid-question-tp5632438p5632438.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"