[Cs-dev] How Csound Computes ...
| Date | 2012-01-14 20:46 |
| From | z0ic |
| Subject | [Cs-dev] How Csound Computes ... |
How csound computes the lenght of instrument in control periods ? During init-cycle i want to know how much control periods will be processed by instrument, but the formula i used *int(int(sr * p3) / ksmps)* is not correct, as compared with *timeinstk *values. -- View this message in context: http://csound.1045644.n5.nabble.com/How-Csound-Computes-tp5145596p5145596.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
| Date | 2012-01-15 09:06 |
| From | z0ic |
| Subject | Re: [Cs-dev] How Csound Computes ... |
Recently i try to test this piece of code and i discover some interesting
facts ...
sr = 1024
ksmps = 512
instr 1
kX timeinstk
printk2 kX
endin
instr 2
kR release
if kR == 0 kgoto E
kX timeinstk
printk2 kX
E:
endin
i1 0 1
i2 0 1
... as expected instrument 1 shows i1 1.0000 and i1 2.0000, but i2 shows i2
3.0000 (!).
Maybe it is some sort of extra pass with *release* equal to 1.
--
View this message in context: http://csound.1045644.n5.nabble.com/How-Csound-Computes-tp5145596p5146136.html
Sent from the Csound - Dev mailing list archive at Nabble.com.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |
| Date | 2012-01-15 10:41 |
| From | Tito Latini |
| Subject | Re: [Cs-dev] How Csound Computes ... |
| Attachments | None |
| Date | 2012-01-15 16:06 |
| From | z0ic |
| Subject | Re: [Cs-dev] How Csound Computes ... |
Thank you !!! I am just misunderstand the behavior of the release opcode. -- View this message in context: http://csound.1045644.n5.nabble.com/How-Csound-Computes-tp5145596p5146607.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |