[PD] means to read variable strings as file name

Frank Barknecht fbar at footils.org
Tue Mar 25 17:55:06 CET 2003


Hallo,
Jie Ma hat gesagt: // Jie Ma wrote:

> i am sending some name of the files to be read by 'soundfiler'. but it 
> seems that the 'read' message doesn't recognize the $1 sign.
> 
> e.g. sending a.wav 
>              |
>              read -resize $1 arrayname        (in a message box)
>              |
>              soundfiler
> 
> the error message either said there's no such file, or there's some 
> argument/flag error towards 'read'.

Make sure, that you use an absolute path (Linux: "/tmp/some.wav", Win:
"C:\temp\some.wav") in your message to the read message. You can make
sure it works this way with a "bang->openpanel->read $1..." combo.

ciao
-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-list mailing list