[ecasound] convert sample rate

From: Enzo <jdespatis@email-addr-hidden>
Date: Wed Jan 23 2008 - 21:33:07 EET

Hi I have an mp3 44100 Hz, stereo I'd like to create a wav mono 11025Hz, so i do: ecasound -i:9645.mp3 -f:16,1,11025 -o:out.wav (or ecasound -i:9645.mp3 -f:s16_le,1,11025 -o:out.wav) ecasound creates a mono wav file, but doesn't change the sample rate, how can i do to convert it also ? Here is the dump of ecasound command: - [ Session created ] ---------------------------------------------------------- - [ Chainsetup created (cmdline) ] --------------------------------------------- - [ Connecting chainsetup ] ---------------------------------------------------- (eca-chainsetup) 'nonrt' buffering mode selected. (eca-chainsetup) Audio object "9645.mp3", mode "read". (audio-io) Format: s16_le, channels 2, srate 44100, interleaved. (eca-chainsetup) Audio object "out.wav", mode "read/write". (audio-io) Format: s16_le, channels 1, srate 44100, interleaved. - [ Chainsetup connected ] ----------------------------------------------------- (eca-control-objects) Connected chainsetup: "command-line-setup". - [ Controller/Starting batch processing ] ------------------------------------- - [ Engine init - Driver start ] ----------------------------------------------- - [ Controller/Batch processing finished (0) ] --------------------------------- (eca-control-objects) Disconnecting chainsetup: "command-line-setup". - [ Chainsetup disconnected ] -------------------------------------------------- Thanks Enzo _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr

-------------------------------------------------------------------------
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 00:16:21 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 24 2008 - 00:16:30 EET