| Hello,
Is it possible to set the clock of a loop instruction { } using before a b instruction?
The result excepted is to reset forward the clock with a b instruction, then the loop instruction should appear later (?)
In the first example, the first b statement is ignored and there is no effect on the clock, loop starts immediately:
b 2 /* ignored, I guess because there is no i instruction below ?*/
{ 4 TEMPS
b [$TEMPS * 3.75]
#define p2 # 0 #
i1 $p2 2.1 0.25 9.00
i1 $p2 2.1 0.25 9.02
#define p2 # 2 #
i1 $p2 0.4 0.25 7.00
i1 $p2 0.4 0.25 7.05
#define p2 # 2.75 #
i1 $p2 0.2 0.25 7.5
}
In the second example, this is in fact the result excepted, but I would not like to have to set the start time of the loop within the { } statement :
{ 4 TEMPS
b [$TEMPS * 3.75]
#define p2 # 2 #
i1 $p2 2 0.25 9.00
i1 $p2 2 0.25 9.02
#define p2 # 4 #
i1 $p2 0.4 0.25 7.00
i1 $p2 0.4 0.25 7.05
#define p2 # 4.75 #
i1 $p2 0.2 0.25 7.5
}
Thank you very much for help or your responses,
Jean Basile
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 |