Re: [ecasound] Multiple instances of jackd and ecasound / ecasignalview

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Fri May 11 2007 - 10:55:51 EEST


On Wed, 9 May 2007, Dan Macklin wrote:

> jackd -v -R -doss -C /dev/dsp7
> I then run ecasignalview like this :-
> ecasignalview jack_auto
> However I would like to be able to capture and monitor the output from a
> number of my /dev/dsp devices at the same time.

hmm, you could of course skip jackd altogether and run ecasignalview

ecasignalview /dev/dsp7 null
ecasignalview /dev/dsp8 null

... and so on.

> The only way I can see to do this is to run jackd many times, with a
> different name for each device using the --name option of jackd. For
> example :-
> jackd --name dan -v -R -doss -C /dev/dsp7
> jackd --name dan2 -v -R -doss -C /dev/dsp7
> My question is how do I get ecasignalview to recognise each of these jackd
> servers ?

Now jackd is not really designed for this. The official solution is to
bind your soundcards into one virtual device (possible, although not
exacty straighforward, at least with ALSA, probably also with the
commercial OSS -- haven't used it for a while).

A huge dirty hack is to compile multiple binaries of jackd and ecasound,
with different prefixes:

cd jack ; ./configure --prefix=~/apps/jack1 --with-default-tmpdir=/tmp/jack1 ; ...
cd ecasound ; ./configure --prefix=~/apps/jack1 ; ...
cd jack ; ./configure --prefix=~/apps/jack2 --with-default-tmpdir=/tmp/jack2 ; ...
cd ecasound ; ./configure --prefix=~/apps/jack2 ; ...

So you'd have separate binaries and libraries for each soundcard. This is
ultra-clumsy, dirty hack, but will work. ;) When running ecasignalview,
you have to point it to the right ecasound binary:

sh> ECASOUND=~/apps/jack1/bin/ecasound ecasignalview jack_auto
sh> ECASOUND=~/apps/jack2/bin/ecasound ecasignalview jack_auto

And so on...

  links, my public keys, etc at
This email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Ecasound-list mailing list
Received on Fri May 11 12:15:06 2007

This archive was generated by hypermail 2.1.8 : Fri May 11 2007 - 12:15:06 EEST