Re: [ecasound] ecasound transforms mono in stereo

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Wed Feb 27 2008 - 19:57:10 EET

Hi,

On Tue, 22 Jan 2008, Enzo wrote:

> I launch the command :
> ecasound -a:1 -i:/tmp/1087985/1.ewf -ea:100 -t 81.526 -a:all -o /tmp/1087985/output.wav
[...]
> 10.wav has only one channel, but output has 2 channels, and i'd like to
> only have 1 channel, how can i do that ?

this is a feature/bug of ecasound: unless you specify the audio format
explicitly (with -f:bits,channels,srate,ileave-or-not) for each audio
object, the default params will be used (-f:16,2,44100,i).

But, but, in some cases ecasound recognizes some special cases (like a
chainsetup with exactly one input and one output), and tries to be clever:
use audio format of input in creating the output. Unfortunately, when
ecasound opens 'output.wav', it has not yet parsed the ewf-header and thus
does not yet know that '1.ewf' in fact will produce only one channel. And
in the end, the default audio params (-f:16,2,44100,i) will be used to
create 'output.wav'.

-- 
  links, my public keys, etc at http://eca.cx/kv
-------------------------------------------------------------------------
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 Wed Feb 27 20:15:07 2008

This archive was generated by hypermail 2.1.8 : Wed Feb 27 2008 - 20:15:07 EET