Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Passing diskin a filename?

Date2013-01-31 19:33
From"Art Hunkins"
SubjectRe: [Csnd] Passing diskin a filename?
Thanks, Victor. Yes, I'd forgotten about scoreline.
 
As I mentioned to Steven, it is so difficult to find an opcode you need searching the Csound manual. It would be wonderful (and an enormous project) for the manual to grow a useful index. It just is not possible often to find what you want - especially not being able to use the precise terminology of the manual.
 
I really appreciate all the time and expertise you contribute to dealing with practical issues like this.
 
Art Hunkins
----- Original Message -----
Sent: Thursday, January 31, 2013 2:28 AM
Subject: Re: [Csnd] Passing diskin a filename?


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