Csound Csound-dev Csound-tekno Search About

Tools for reading wav and mp3 properties, creating wave graphics etc...

Date2007-08-05 22:04
FromJonas Nyström
SubjectTools for reading wav and mp3 properties, creating wave graphics etc...
AttachmentsNone  None  

Date2007-08-05 22:14
FromErik de Castro Lopo
SubjectRe: Tools for reading wav and mp3 properties, creating wave graphics etc...
Jonas Nyström wrote:

> Hi audio programming experts!
> 
> Could anyone point me in the direction of some tool(s) for finding
> properties of audio files (wav and mp3)?
> For example finding
> 
>    - Length (seconds, milliseconds)
>    - Exact file size
>    - Properties like nr of channels, bit-depth, sampling-freq, bitrate,
>    encoding type...
>    - Peak level (dB)

The sndfile-info program distributed as part of libsndfile does all
of those things.

> I prefer open source tools (well, who doesn't?) and I want to run them on my
> Linux Ubuntu 7.04 server.

     apt-get install sndfile-programs

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Imagine if every Thursday your shoes exploded if you tied them
the usual way.  This happens to us all the time with computers,
and nobody thinks of complaining." -- Jef Raskin

Date2007-08-06 14:10
Fromluis jure
SubjectRe: Tools for reading wav and mp3 properties, creating wave graphics etc...
El Sun, 5 Aug 2007 23:04:00 +0200
"Jonas Nyström"  escribió:

 
> Could anyone point me in the direction of some tool(s) for finding
> properties of audio files (wav and mp3)?

for mp3 files you can use tools like mp3info and mp3info2 to read
information stored in the ID3 tags. 

midentify (part of mplayer/mencoder) prints not all but much of the
information you want, like bitrate, length, sample rate, channels, etc.