I've built a little patch to read and play stereo WAV files, but soundfiler 
crashes PD completely and exits if I open a mono WAV file.

I'm using "read -resize $1 testsampleL testsampleR" to read into two arrays.

Is there some way in PD to conditionally peek at the WAV header, so that I can 
do that first and only open the file if it has 2 channels?

-ken

_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to