Re: [linux-audio-user] Audio file format

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] Audio file format
From: Erik de Castro Lopo (erikd-lad_AT_mega-nerd.com)
Date: Mon Mar 31 2003 - 23:31:10 EEST


On Mon, 31 Mar 2003 20:16:44 +0200
Robert Epprecht <epprecht_AT_solnet.ch> wrote:

> I thought WAVE was a format without compression? The duration of the files
> (when played by 'play') shows that this is not possible. So what is it?

WAV files allow for about 100 different kinds of compression as well as
PCM encoding. Microsoft ADPCM is one of the more common compression types.

> BTW: The file (loaded like a text file in emacs ;-) starts with
> RIFFBä^BWAVEfmt 2 (where ^B is *one* byte)

If you grab and install libsndfile:

     http://www.zip.com.au/~erikd/libsndfile/

You will find an example program called 'sndfile-info' which prints out
information about a sndfile.

Erik

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam_AT_mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
Running MS-Windows on a Pentium is like having a brand new Porsche 
but only being able to drive backwards with the handbrake on.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Apr 01 2003 - 00:45:25 EEST