[LAU] Need help salvaging a recording

Erik de Castro Lopo mle+la at mega-nerd.com
Sun Apr 18 08:33:50 UTC 2010


Shani Hadiyanto Pribadi wrote:

> Hello guys.
> I'm in need of help right now.
> Last night I recorded a show using qtractor.
> I recorded it as two files, the first one is for the first hour, and
> second file is for the rest, about 4 hours.
>
> The first file can be played successfully, but the second file does
> not. It would only play until about 20 minutes, and stop.
> 
> This is the output of soxi
> 
> shani at shanihplaptop ~/Projects/GME/2010 % soxi 6.wav
> soxi WARN wav: wave header missing FmtExt chunk
> 
> Input File     : '6.wav'
> Channels       : 2
> Sample Rate    : 48000
> Precision      : 24-bit
> Duration       : 00:20:50.04 = 60001717 samples ~ 93752.7 CDDA sectors
> File Size      : 4.77G

That file is bigger than 4 Gig and WAV files are limited to 4G due
to the use of an unsigned 32 bit integer in the WAV file header.

> Does it have anything to do with the error.?

More likely to be due to the file size.

> Is there any way to salvage the recording?

Try using sndfile-convert (in the sndfile-programs package in
Debian/Ubuntu) to conver the file to a format which allows
files larger than 4G. Try:

    sndfile-convert  large-file.wav large-file.w64

Let me know if that doesn't work.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the Linux-audio-user mailing list