Re: Splitting up 6gb .wav



In article <-62dncldkOGIl5LeRVn-2Q@xxxxxxxxxxx>,
Joe Kesselman <keshlam-nospam@xxxxxxxxxxx> wrote:
>Sounds like we need a "stream editor" for .wav files... something which
>understands how to simply break it up into chunks with appropriate
>headers. Should be trivial to write, actually, since .wavs are (I
>believe) a relatively simple file format...

There's a set of command line utilities that allow you to extract sections
of .wav files. I know they were written for the SGI and they show up on
Cook's web list of SGI audio utilities, but I am sure they have been ported
to Linux and OSX these days as well.

wav files can be all kinds of things, but the most common format consists
of alternating 16-bit or 32-bit words containing right and left samples,
and a fixed 56-bit header saying what's inside. In fact, all you need to
do is strip the header off, send it to the output, count off to the starting
position, start copying the number of samples desired and copying them to
the output, then ending. You could even do this with sed!
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."
.



Relevant Pages

  • Re: Problem with RIFF tags in audio ripped with WMP11 x64
    ... I am getting the same file header format errors here when I rip to wav using ... difference in the WMP11 RIFF tags here from the RIFF tag headers ripped using ... Non-WMP11 ripped WAV RIFF tag header: ...
    (microsoft.public.windowsmedia)
  • Re: fixing a wav file
    ... Using an mp3 player with voice recorder, I was reading a book, hit ... is no wav to display. ... Some software looks at the header for the length, ...
    (rec.audio.pro)
  • Re: FFmpeg 1.10 and Murnong 1.50 released
    ... headers are telling other apps? ... Which I got from a wave file in CDDA format. ... If you don't get that then either the header is mangled ... then the file isn't a Wav one. ...
    (comp.sys.acorn.apps)
  • Re: WAV File Header Format.
    ... I am trying to append a standard WAV file header (which I believe is ... I am using a utility called HexEdit to view the source RAW file as well ... of the standard WAV format) I'll be really thankful. ...
    (comp.dsp)
  • Re: How to split the wave files into smaller pieces?
    ... > Fabio wrote: ... >> does anyone know how to split the big wave file into smaller pieces? ... Each WAV file has a RIFF header. ...
    (alt.os.linux)