Problem with sound rates

View: New views
2 Messages — Rating Filter:   Alert me  

Problem with sound rates

by kokolisso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I want amplify some wav files, and ecasound amplify ok but seems that save as 16 bit"s16_le, channels 2, srate 44100, interleaved", and I would like save as 24bit "s24_le, channels 2, srate 44100, interleaved"

What can I do? I use this command line and fails

ecasound -i  wav/"$filename".wav -ea:100  -o  level02/"$filename".wav

Also this fails too:
ecasound -i aa1.wav -ea:100  -o aa11.wav -f:s24_le,2,44100

And these fails too:

ecasound -i aa1.wav -ea:100  -o aa11.wav,s24_le,2,44100

What can I do more?

Thanks
Kokolisso



********************************************************************************
*        ecasound v2.4.6.1 (C) 1997-2007 Kai Vehmanen and others    
********************************************************************************
- [ Session created ] ----------------------------------------------------------
- [ Chainsetup created (cmdline) ] ---------------------------------------------
- [ Connecting chainsetup ] ----------------------------------------------------
(eca-chainsetup) 'nonrt' buffering mode selected.
(eca-chainsetup) Audio object "level01/005 - Silencio Fin de Ejercicio KT - Nivel
... 01 - 05 Minutos.wav", mode "read".
(audio-io) Format: s24_le, channels 2, srate 44100, interleaved.
(eca-chainsetup) Audio object "level02/005 - Silencio Fin de Ejercicio KT - Nivel
... 01 - 05 Minutos.wav", mode "read/write".
(audio-io) Format: s16_le, channels 2, 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 ] --------------------------------------------------


Re: Problem with sound rates

by Julien Claassen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey!
   I think this might solve it:
ecasound -f:input_bitrate,2,44100 -i input_file -ea:1000 f:s24_le,2,44100 -o
output_file
   Should do the trick. If not, you might pipe to sndfile-convert or sox, which
both can do bitrate conversion, rather fast.
   Hope that helps!
   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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list