It seems to me that none of the replies here have really addressed the original poster's problem, so let me go back to that... On Tue, Aug 03, 2021 at 03:37:39PM +0100, jacopo greco d'alceo wrote: taking the following code, simply inserted into a CSD, and run: > ======================================= > instr inst9B589C8D > print p1 > endin > schedule "inst9B589C8D", 1.0, 0.5 > > instr inst0A7FFD81 > print p1 > endin > schedule "inst0A7FFD81", 2.0, 0.5 > > instr inst0941D201 > print p1 > endin > schedule "inst0941D201", 3.0, 0.5 > ======================================= > I would expect to see this: > instr 1: p1 = 1.000 > instr 2: p1 = 2.000 > instr 3: p1 = 3.000 which is exactly what I see, whether I run it directly or via (my) livecode. Seeing what jacopo sees in livecode: > > instr 41: p1 = 41.000 > instr 41: p1 = 41.000 > instr 42: p1 = 42.000 seems very odd, becaaus the code explicitly calls each instrument once, but the first one apparently gets called twice! (As I understand it, it should be impossible for two instruments to end up with the same number, however it has been derived.) It's also a bit odd that the instruments are not still numbered 1, 2, and 3, but I guess his livecode environment has some already defined blocks. -- Pete -- Csound mailing list Csound@listserv.heanet.ie 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