- Make the abstraction at right. Save it as "abstest.pd"
- Create a new patcher and use
[abstest name-of-soundfile.wav]
.
(Edit: Add screenshot...)
In the console you can see:
0-sf: no such table
load: read -resize mid-chain2.wav 0-sf
The "read" message seems to be properly constructed (with $0 replaced by a number) but the read command produces "no such table." (It doesn't help if I [delay] the loadbang either. The error is not produced if I disconnect the loadbang, so it is definitely coming from the "read" message.)
I thought that $0 everywhere in an abstraction gets replaced, on instantiation, by an ID unique to that instance.
Is it supported to use a uniquely-named array in an abstraction? Or do I have to make the name another symbol argument?
hjh