[LAU] Need help salvaging a recording

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Apr 20 11:10:54 UTC 2010

Erik de Castro Lopo wrote:

> As for salvaging this file, give me a day or two and I'll write a 
> utility to drag your data out of the file.

New program called sndfile-salvage here:


which can be compiled using:

    gcc -Wall `pkg-config --cflags --libs sndfile` sndfile-salvage.c -o sndfile-salvage

If you're on 32 a 32 bit system you should add:


just after gcc in the command line above.

The program is run as:

    sndfile-salvage very-large.wav very-large.w64

and very-large.wav will remain untouched.

This program hasn't had a lot of testing but should work for your
case. Let me know how it goes.

Erik de Castro Lopo

More information about the Linux-audio-user mailing list