Re: [LAU] make a VU meter listen to jack output ports

From: Peter P. <peterparker@email-addr-hidden>
Date: Mon Jun 15 2015 - 17:39:53 EEST

* Kjetil Matheussen <k.s.matheussen@email-addr-hidden> [2015-06-14 14:31]:
> On Sun, Jun 14, 2015 at 7:49 PM, Peter P. <peterparker@email-addr-hidden> wrote:
>
> > * Peter P. <peterparker@email-addr-hidden> [2015-06-14 13:22]:
> > [...]
> > > > Strangely this does not work when I start it from fluxbox' menu, ie.
> > > > without a visible (x)terminal. The application (and hence the
> > > > meterbridge) close immediately. Do you have an idea why this could
> > > > happen?
> > >
> > > Sorry, I posted before doing my homework
> > > The --disable-console option helped here.
> >
> > But I am afraid the the meters still don't come up every time.
> > The --no-stdin does not help as well, but has other unpleasant results.
> > It seems that jack_capture needs to have a console it can output things
> > to.
> >
> >
> Maybe it's possible to start an invisible terminal thats jack_capture.
> I don't know how to do that though. Maybe there's a general X option
> for starting a program minimized? (I tried googling it, but didn't find any)
I managed to do something like this with GNU screen:

screen -dm jack_capture -dc --meterbridge --timemachine --port system:playback_1 /dev/null

which fires up the meters, and auto-(re)connects nicely. Now the problem
remains, once I close the meters by closing their window (clicking the X
in my windown manager's window decoration) jack_capture itself will
continue to run, as it is waiting for user input.

> > Furthermore, automatically reconnecting to jack applications which play
> > back audio, does only happen if jack_capture/meterbridge have been
> > started when that application (mplayer in my case) was already playing
> > back.
> >
> >
> But this is only a problem if you don't run it from a terminal?
Yes, when I run from a terminal it reconnects every time indeed.

Thank you so much!
P
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Jun 15 20:15:01 2015

This archive was generated by hypermail 2.1.8 : Mon Jun 15 2015 - 20:15:01 EEST