>From the init function `release_set' (OOps/midiout.c:50) p->h.insdshead->xtratim = EXTRA_TIME; where EXTRA_TIME is 1 xtratim is the release time in control periods (1/csound->ekr second units) tito On Sun, Jan 15, 2012 at 01:06:25AM -0800, z0ic wrote: > 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 > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ 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