| sprintfk instead of sprintf for Sscore and
scoreline instead of scoreline_i?
Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
> On 5 Nov 2015, at 17:34, Peiman Khosravi wrote:
>
> I'm getting a bit confused about this.
>
> I need to create a separate Sscore line for every increment in kindex, (the maximum value is defined in the $CHANS macro). But at the moment I think only one scoreline is being generated although I'm setting $CHANS to 2.
>
> instr 1
>
> kindx init 1
>
> while (kindx < $CHANS) do
> Schan sprintfk ".%d", kindx
> Sextension strcat Schan, "$EXT"
> Sfile strcat "$FILE", Sextension
> Sscore sprintf {{ i 2 0 "%f" "%s" }}, $DUR, Sfile
> scoreline_i Sscore
> kindx += 1
> od
>
> endin
>
> 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
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 |