Subject: Re: [ecasound] mp3 and other problems
From: S. Massy (firstname.lastname@example.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
Hope this helps,
> Best regards,
> == Dave Phillips
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <email@example.com>.
-- To unsubscribe send message 'unsubscribe' in the body of the message to <firstname.lastname@example.org>.
This archive was generated by hypermail 2b28 : Fri Aug 25 2000 - 19:43:45 EEST