Re: [linux-audio-user] why is my mp3 file bigger than my wav file?

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

Subject: Re: [linux-audio-user] why is my mp3 file bigger than my wav file?
From: Frank Barknecht (barknech_AT_ph-cip.uni-koeln.de)
Date: Mon Feb 04 2002 - 21:15:21 EET


Laura Conrad hat gesagt: // Laura Conrad wrote:

> >>>>> "Frank" == Frank Barknecht <barknech_AT_ph-cip.uni-koeln.de> writes:
>
> Frank> If you play the files with ecasound, what gets printed after the name of
> Frank> the audio files?
>
> [lconrad_AT_tuba wg-1201]$ ecasound -i lingham.wav
> ****************************************************************************
> * ecasound v2.0.4 (C) 1997-2001 Kai Vehmanen *
> ****************************************************************************
> - [ Chainsetup/Enabling audio inputs ] -------------------------------------
> (eca-audio-objects) Audio object "lingham.wav", mode "read".
> (audio-io) Format: u8, channels 1, srate 8000, interleaved.
> - [ Chainsetup/Enabling audio outputs ] ------------------------------------
> (eca-audio-objects) Audio object "/dev/dsp", mode "write".
> (audio-io) Format: s16_le, channels 2, srate 44100, interleaved.

Ok, this explains it all. Like Kai also suspected, you have here one
mono 8-bit audio file (lingham.wav), that is sampled only 8000 times
per second. No wonder, that this one is very small, and it sure sounds
terrible. I suspect, that you did something wrong when saving the file
with snd. No problem, this has happend to me also ;)

If you select "File->Save As" in snd, make sure you have useful values
selected. For example "header: wave", "data: short" and "srate: 44100"
give you a CD audio quality wav file, that will be bigger, than its
mp3-counterpart.

bye,

-- 
                                                 __    __
 Frank Barknecht       ____ ______   ____ __ trip\ \  / /wire ______
                      / __// __  /__/ __// // __  \ \/ /  __ \\  ___\	
                     / /  / ____/  / /  / // ____// /\ \\  ___\\____ \	
                    /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                /_/    \_\ 


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

This archive was generated by hypermail 2b28 : Mon Feb 04 2002 - 21:05:38 EET