[PD] Bad writesf~ files?

derek holzer derek at x-i.net
Mon Apr 12 23:14:45 CEST 2004


thewade wrote:
> Why is it that writesf~ always makes bad wav files? I always have to open them up in some editing program, like soundforge, and \"save as\" to repair. Lame quits encoding to mp3 with a segmentation fault! Sweep cant even give me an error.

Are you sending the object any additional messages besides filename? If 
so, what? Try sending:

"open -wave -bytes 2 -rate 44100 /tmp/foo.wav"

[or something like that, maybe I have the bytes wrong...] to write a 
proper header, instead of a simple:

"open /tmp/foo.wav"

which may not write a header at all.

good luck,
d.

-- 
derek holzer ::: http://www.umatic.nl
---Oblique Strategy # 165:
"Use an old idea"




More information about the Pd-list mailing list