[linux-audio-user] Full Duplex woes

Kai Vehmanen kai.vehmanen at wakkanet.fi
Tue Feb 25 06:11:00 EST 2003


On 24 Feb 2003, Jan "Evil Twin" Depner wrote:

> I am assuming that this means Linux.  I have only done multitrack
> recording with SLab and Ardour.  If you're going to just record two
> tracks of 16 bit 44.1KHz at once (while playing other tracks) SLab is
> pretty good (it actually has some very nice effects built in).  If you
> want to handle more tracks or more resolution you'll have to use Ardour
> or something else.  Ardour is *not* trivial to set up (check my web page
> http://myweb.cableone.net/eviltwin69/ALSA_JACK_ARDOUR.html).

Don't forget ecasound (w/ ALSA):
ecasound -a:mon -i drums.wav -o alsa,default \
	 -a:rec1,rec2 -f:16,2,44100 -i alsa,default \
	 -a:rec1 -f:16,1,44100 -o first_rec_channel.wav \
	 -a:rec2 -erc:2,1 -f:16,1,44100 -o second_rec_channel.wav

... with OSS you just replace 'alsa,default' with '/dev/dep' and it'll
work (assuming your OSS drivers support full-duplex).

... with JACK it's even easier:
ecasound -a:mon -f:16,1,44100 -i drums.wav -o jack \
	 -a:rec1 -i jack -o first_rec_channel.wav \
	 -a:rec2 -i jack -o second_rec_channel.wav

... you'll have to use qjackconnect or jack_connect to connect the port to 
the soundcard ports.

.. more examples at:
http://www.wakkanet.fi/~kaiv/ecasound/Documentation/examples.html

And ecasound *is* trivial to set up. :)

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




More information about the Linux-audio-user mailing list