Re: [ecasound] mp3 and other problems

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] mp3 and other problems
From: S. Massy (theanaloguekid@tak.net.dhis.org)
Date: Fri Aug 25 2000 - 19:26:09 EEST


On Fri, 25 Aug 2000, Dave Phillips wrote:

> "S. Massy" wrote:
>
> > It looks like your mp3's are at different sampling rates; ecasound
> > always assumes that it's being fed with data sampled at 44100Hz,
> > stereo. You have to tell it the truth using the -f switch. For
> > example, if you're playing a stereo mp3 that's been downsampled to 32 KHz
> > you would do:
> > # ecasound -f:16le,2,32000 -i:file.mp3
>
> Got it. I didn't realize ecasound didn't auto-adjust for various rates.
>
> Btw, is there a simple way to determine the sr of an MP3 before playing
> it ?
There must surely be a shorter way; you could write yourself a little
program to do that... Anyway, here's what I do:
(assuming you have mpg123 installed)
# mpg123 -t -v file.mp3
It will print many infoes, including the sampling rate, channel count and
bit width...

Hope this helps,
S. Massy

>
> Best regards,
>
> == Dave Phillips
>
> http://www.bright.net/~dlphilp/index.html
> http://www.bright.net/~dlphilp/linuxsound/
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request@wakkanet.fi>.
>

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Aug 25 2000 - 19:43:45 EEST