i want to save the path of a soundfile with [openpanel] via [textfile] to a textfile and read out the textfile with a bang and feed it into soundfiler.
this all works so far, i can print out the content of the textfile to the pd window, but it seems, that the output of textfile will not be recognized from [soundfiler] as a valid path? when i use:
[bang(
|
[t b b b]
| | |
[bang( [rewind( [read filepath.txt(
| | |
[textfiler]
|
[read -resize $1 array1(
|
[soundfiler]
pd tells me, that $1's argument number is out of range.
any help?