Re: [ecasound] convert sample rate

From: Sergei Steshenko <sergstesh@email-addr-hidden>
Date: Thu Jan 24 2008 - 17:16:44 EET

--- Julien Claassen <julien@email-addr-hidden-lab.de> wrote:

> Hi Enzo!
> There is another way of doing it, which I found to be of better quality.
> ecasound -i in.mp3 -o tmp.wav
> sox -r 44100 -c 2 tmp.wav -r 11025 -c 1 out.wav
> rm tmp.wav
> Of course you could do the channel conversion with ecasound, but if
> youalready use sox, why not do two steps in one.
> I found that still ecasound's conversion has its qualitative drawbacks.
> Kindest regards
> Julien
>
> --------
> Music was my first love and it will be my last (John Miles)
>
> ======== FIND MY WEB-PROJECT AT: ========
> http://ltsb.sourceforge.net
> the Linux TextBased Studio guide
> ======= AND MY PERSONAL PAGES AT: =======
> http://www.juliencoder.de
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Ecasound-list mailing list
> Ecasound-list@email-addr-hidden
> https://lists.sourceforge.net/lists/listinfo/ecasound-list
>

IIRC, 'ecasound' has high quality resampler.

http://ccrma.stanford.edu/planetccrma/man/man1/ecasound.1.html :

"
If ecasound was compiled with support for libsamplerate, you can
              use ´resample-hq´ to use the highest quality resampling algo-
              rithm available.
".

Anyway, since output sampling frequency is supposed to be 11025Hz, which is
pretty low, one can't expect high sound quality.

Regards,
  Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

      ____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Thu Jan 24 20:17:32 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 24 2008 - 20:17:32 EET