Re: Splitting up 6gb .wav
- From: kludge@xxxxxxxxx (Scott Dorsey)
- Date: 26 Aug 2005 09:12:09 -0400
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."
.
- References:
- Splitting up 6gb .wav
- From: Jonny Durango
- Re: Splitting up 6gb .wav
- From: Joe Kesselman
- Splitting up 6gb .wav
- Prev by Date: Re: Best $100 vocal mic: SM57?
- Next by Date: Re: Behringer ADA8000 tweak?
- Previous by thread: Re: Splitting up 6gb .wav
- Next by thread: Re: Splitting up 6gb .wav
- Index(es):
Relevant Pages
|