I have a sampler that starts like so
[read -resize $1 samp2(
However, I'd like to replace openpanel with a series of [open( messages because i have a fairly large amount of samples to load and I don't want to menu dive every time I run this patch.
If I replace [openpanel] with [open filename.wav, 1( I get the error "usage: read [flags] filename tablename...
flags: -skip <n> -resize -maxsize <n> ...
-raw <headerbytes> <channels> <bytespersamp> <endian (b, l, or n)>."
And if I try to bypass openpanel and the read -... message and run [open filename.wav, 1( directly into [soundfiler] i get the obvious error "soundfiler: no method for 'open'
soundfiler: no method for 'float'"
Any ideas to get soundfiler working with the [open( message?