there is also the opcode scoreline_i which you can use, you can format the whole scoreline as a string, with sprintf.
----- Original Message -----
From: Art Hunkins <abhunkin@uncg.edu>
Date: Wednesday, January 30, 2013 11:09 pm
Subject: [Csnd] Passing diskin a filename?
To: csound@lists.bath.ac.uk
> I need the event opcode to pass a filename to diskin in the
> called
> instrument.
>
> The filename is "1.wav".
>
> The problem? Event (or schedkwhen for that matter) does not take
> a string as
> an argument.
>
> Also, if I simply pass the numeric variable "1", I see no way of
> converting
> that to the string "1.wav". What am I missing?
>
> (I would like to pass filenames "1.wav" through maybe "10.wav"
> to the same
> called instrument, BTW.)
>
> Art Hunkins
>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe csound"
>
Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth