Here is a patch that illustrates a bug in [writesf~]'s file type handling. It doesn't read the file extension and use that type, as it seems to say in the help patch. It defaults to .wav instead, regardless of the filename given it.
.hc
#N canvas 90 31 446 354 10; #X msg 23 96 open test.wav; #X obj 29 209 writesf~; #X obj 23 118 writesf~; #X msg 29 190 open test.aiff; #X text 22 3 According to the [writesf~] help file:; #X text 17 26 The soundfile format is determined by the file extent ("foo.wav" , "foo.aiff" , or "foo.snd").; #X obj 30 289 writesf~; #X msg 30 270 open -aiff test.aiff; #X text 23 165 creates a WAV file called test.aiff.wav; #X text 17 71 creates a WAV file called test.wav; #X text 24 245 creates a AIFF file called test.aiff; #X connect 0 0 2 0; #X connect 3 0 1 0; #X connect 7 0 6 0;
________________________________________________________________________ ____
Using ReBirth is like trying to play an 808 with a long stick. -David Zicarelli