| In my (unofficial) realtime version for Win95 I added a GEN 23 which
reads numeric values from an external ascii file
Maybe in the future jpff will port it to the official version.
Syntax:
f# time size -23 "filename.txt"
The numeric values contained in "filename.txt" (which indicates the
complete pathname of the ascii
file to be read), can be separated by spaces, tabs, newline characters
or commas.
Also words that contains non-numeric characters can be used as comments
since they are ignored.
All characters following ';' (comment) are ignored until next line
(numbers too).
--
Gabriel Maldonado
http://www.agora.stm.it/G.Maldonado/home2.htm
Mark Polishook wrote:
> I'm still looking to find a way to bring a table of 512 (or more
> values) into
> Csound. As per a suggestion below:
>
> Bertolt Sobolik wrote:
> > Why not just write the values to a file and read them in with GEN 1?
>
> I'm assuming that the table should look like
>
> f1 0 512 -1 "voss" 0 4 0
>
> and the file, called "voss," holds 512 values. But when using this
> snippet,
> Csound complains that the table does not have a header:
>
> Is there a way to bring this table into Csound?
>
> Thanks,
>
> -mp
> X-UIDL: 322398efeff948bd829079fc25e76f51
|