[ecasound] new ecasound jack plugin

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

Subject: [ecasound] new ecasound jack plugin
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Thu Dec 20 2001 - 04:55:16 EET


Just committed to ecasound CVS. Not very stable, but is good enough for
demonstration purposes. :)

ecasound -c \
    -a:1,2 -f:f32_le,2,44100 -i jack,stereo_in \
    -a:1 -efh:400 -f:f32_le,1,44100 -o jack,left_out \
    -a:2 -erc:2,1 -efl:400 -f:f32_le,1,44100 -o jack,right_out

Jackd reports the following:

--cut--
###| ~/apps/jack/bin |$ ./jackd -d hw:0 -r 44100 -p 1024
creating alsa driver ... hw:0|1024|44100
ALSA: set rate to 44099.
ALSA: set rate to 44100.
new client: ALSA I/O, type 1 @ 0x80622e8
ALSA: ports registered, starting driver
new client: ecasound, type 2 @ 0x40303000
client ecasound is on event fd 26
trying to connect ALSA I/O:Input 1 and ecasound:stereo_in_1
trying to connect ALSA I/O:Input 2 and ecasound:stereo_in_2
trying to connect ecasound:left_out_1 and ALSA I/O:Output 1
trying to connect ecasound:right_out_2 and ALSA I/O:Output 2
--cut--

What happens is that we record 2 channels from my ens1371 soundcard,
divide the channels into two ecasound chains, process left channel with a
400Hz highpass filters, the right one with 400Hz lowpass and output the
channels to separate jack output ports, and in the end are played back
by the ens1371.

Using the interactive-mode (-c option), it's possible to modify the
filters params in realtime with acceptable latency (even though we are
using 1024 frames of buffering).

-- 
 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 : Thu Dec 20 2001 - 04:47:41 EET