Re: [LAU] Need help salvaging a recording

From: Erik de Castro Lopo <mle+la@email-addr-hidden-nerd.com>
Date: Sun Apr 18 2010 - 11:33:50 EEST

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@email-addr-hidden ~/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/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Apr 18 12:15:03 2010

This archive was generated by hypermail 2.1.8 : Sun Apr 18 2010 - 12:15:04 EEST