TooTallNate / node-wav

`Reader` and `Writer` streams for Microsoft WAVE audio files
MIT License
181 stars 37 forks source link

generated .wav files from pcm are not playable in OS X Quicklook #15

Open WeeJeWel opened 8 years ago

WeeJeWel commented 8 years ago

Maybe the file (headers?) are corrupt. Another .wav can be played in Quicklook (press spacebar when the file is selected).

Attached a .zip with the .pcm and the generated .wav (using https://github.com/athombv/pcm2wav)

what-is-the-weather.zip

LinusU commented 8 years ago

Yep, this is because the FileWriter is broken, #17 fixes this a bit (but I think it will cut the first 44 bytes which will probably misalign the rest of the file)...