Re: [ecasound] eca sound mixer

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] eca sound mixer
From: Kai Vehmanen (k_AT_eca.cx)
Date: Wed Oct 31 2001 - 13:56:56 EET


On Wed, 31 Oct 2001, Matthew Flax wrote:

> You see I have this 3D audio library (link is at the end of this e-mail),
> and I am looking for a good subsystem to modularise it with.
> This library needs to be able to pan a discreete sound source over all
> speakers which are connected.
> Firstly does ecasound have the capacity to drive arbitrary speaker counts

To the last question, yes, although ecasound does not actually know about
physical speakers. But ecasound can mix to multiple channels (either one
multichannel ALSA or /dev/dsp device or multiple mono devices).

Hmm, one good concept is to check whether you can perform all the
required tasks from ecasound's iactive-mode. For instance:

ecasound -f:16,4,44100 -i 4ch_input.wav -o alsa,default \
    -eac:100,1 -eac:100,2 -eac:100,3 -eac:100,4 -c

The 'eac' is a channel-amplify effect (gain for one channel). Once in
iactive start operation with 'start', and then you can dynamically adjust
the channel gains with (ch1: 'cop-set 1,1,105', ch2; 'cop-set:2,1,105).

If this seems plausible, ecasound might be a good choise. You can do the
above from an ECI program (C,C++,perl,python).

Another good alternative is writing your 3d-processor as an LADSPA plugin
(www.ladspa.org).

> Then if that is possible can someone point me to online documentation for
> the ecasound mixer API ?

http://www.eca.cx/ecasound -> Developer

-- 
 http://www.eca.cx
 Audio software for Linux!

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Oct 31 2001 - 13:51:27 EET