[Csnd] score loop inside macro

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] score loop inside macro

lucianozanattaterra
Hi
I have some questions about the sintax of score loop. 

There's a technical reason for the kind of code below be illegal or it's just a design option?

#define MACROWITHLOOP (nRep)
#
{$nRep

some score statements

}
#

$MACROWITHLOOP(2)
$MACROWITHLOOP(5)
$MACROWITHLOOP(3)

Also, would be feasible have a third optional argument 'wait', which if used specify a time between loop repetitions? 

{NN Macro 5; wait 5 seconds before the loop repeats 

some code

}
 Could these be feature requests?

Cheers
Csound mailing list [hidden email] 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