[Csnd] Default values does not fit in the equation: ksmps =sr/kr
Date | 2013-03-04 17:37 |
From | Bjoern Houdorf |
Subject | [Csnd] Default values does not fit in the equation: ksmps =sr/kr |
Hi everyone In the Canonical Csound Reference Manual there is a section called »Orchestra Header Statements« where we can read this: sr = (optional) -- set sampling rate to iarg samples per second per channel. The default value is 44100. kr = (optional) -- set control rate to iarg samples per second. The default value is 1000. ksmps = (optional) -- set the number of samples in a control period. This value must equal sr/kr. The default value is 10. The default values (44100, 1000, 10) does not fit in the equation: ksmps =sr/kr If we omit all 3 of them, then we will have: ksmps = sr/kr = 44100/1000 = 10, and that is wrong! What is the default values for sr, kr, and ksmps, if we omit them all ? -- View this message in context: http://csound.1045644.n5.nabble.com/Default-values-does-not-fit-in-the-equation-ksmps-sr-kr-tp5720716.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-03-04 18:03 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Default values does not fit in the equation: ksmps =sr/kr |
The manual is wrong. The default kr is 4410. On 4 Mar 2013, at 17:37, Bjoern Houdorf wrote: > Hi everyone > > > In the Canonical Csound Reference Manual there is a section called > »Orchestra Header Statements« where we can read this: > > sr = (optional) -- set sampling rate to iarg samples per second per channel. > The default value is 44100. > > kr = (optional) -- set control rate to iarg samples per second. The default > value is 1000. > > ksmps = (optional) -- set the number of samples in a control period. This > value must equal sr/kr. The default value is 10. > > > The default values (44100, 1000, 10) does not fit in the equation: ksmps > =sr/kr > If we omit all 3 of them, then we will have: > > ksmps = sr/kr = 44100/1000 = 10, and that is wrong! > > What is the default values for sr, kr, and ksmps, if we omit them all ? > > > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Default-values-does-not-fit-in-the-equation-ksmps-sr-kr-tp5720716.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 |
Date | 2013-03-04 19:39 |
From | menno |
Subject | [Csnd] Re: Default values does not fit in the equation: ksmps =sr/kr |
Hello Bjoern, i am looking in the section on http://www.csounds.com/manual/html/OrchTop.html#OrchHeader, but i do not see the things you mention. Can you give a link please? -- View this message in context: http://csound.1045644.n5.nabble.com/Default-values-does-not-fit-in-the-equation-ksmps-sr-kr-tp5720716p5720723.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-03-05 17:00 |
From | Bjoern Houdorf |
Subject | [Csnd] Re: Default values does not fit in the equation: ksmps =sr/kr |
Victor Lazzarini wrote > The manual is wrong. The default kr is 4410. Thanks, now it make more sense. menno wrote > Hello Bjoern, > > i am looking in the section on > http://www.csounds.com/manual/html/OrchTop.html#OrchHeader, but i do not > see the things you mention. > Can you give a link please? Your link is correct, but you have to click on "sr", "kr", and "ksmps" (written with blue letters) and then you will visit these links: http://www.csounds.com/manual/html/sr.html http://www.csounds.com/manual/html/kr.html http://www.csounds.com/manual/html/ksmps.html /Bjørn -- View this message in context: http://csound.1045644.n5.nabble.com/Default-values-does-not-fit-in-the-equation-ksmps-sr-kr-tp5720716p5720754.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-03-05 19:28 |
From | menno |
Subject | [Csnd] Re: Default values does not fit in the equation: ksmps =sr/kr |
The default value of kr is now 4410, in git. Thank you for your report. -- View this message in context: http://csound.1045644.n5.nabble.com/Default-values-does-not-fit-in-the-equation-ksmps-sr-kr-tp5720716p5720761.html Sent from the Csound - General mailing list archive at Nabble.com. |