[Jack-Devel] Looking for visual "Clipping indicator" (linux command line interface)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Jack-Devel] Looking for visual "Clipping indicator" (linux command line interface)

Jaime T
Hi all.

Is there software that someone could recommend that would provide a
visual indicator of clipping occuring in a jack stream? Extra points
if the visual indicator remains set until manually reset. Double extra
points if the program can run inside a (linux) command-line
environment?

If there's nothing out there (yet), I'm going to have to try to add
something to jack_meter...

TIA, Jaime
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: Looking for visual "Clipping indicator" (linux command line interface)

Kjetil Matheussen-2
On Fri, Nov 2, 2018 at 11:16 AM Jaime T <[hidden email]> wrote:
>
> Hi all.
>
> Is there software that someone could recommend that would provide a
> visual indicator of clipping occuring in a jack stream? Extra points
> if the visual indicator remains set until manually reset. Double extra
> points if the program can run inside a (linux) command-line
> environment?

You can use jack_capture and record to /dev/null
The red color shown when clipping is reset after around 2 seconds though,
but you can probably fix this quite easily in the source code.
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: Looking for visual "Clipping indicator" (linux command line interface)

Kjetil Matheussen-2
On Fri, Nov 2, 2018 at 12:21 PM Kjetil Matheussen
<[hidden email]> wrote:

>
> On Fri, Nov 2, 2018 at 11:16 AM Jaime T <[hidden email]> wrote:
> >
> > Hi all.
> >
> > Is there software that someone could recommend that would provide a
> > visual indicator of clipping occuring in a jack stream? Extra points
> > if the visual indicator remains set until manually reset. Double extra
> > points if the program can run inside a (linux) command-line
> > environment?
>
> You can use jack_capture and record to /dev/null
> The red color shown when clipping is reset after around 2 seconds though,
> but you can probably fix this quite easily in the source code.

Apply this patch:

diff --git a/jack_capture.c b/jack_capture.c
index 3f77c56..f62e883 100644
--- a/jack_capture.c
+++ b/jack_capture.c
@@ -647,9 +647,11 @@ static void print_console(bool
move_cursor_to_top_doit,bool force_update){
        vu_peaks[ch]    = pos;
        vu_peakvals[ch] = val;
        vu_times[ch]    = 0;
+        /*
      } else if (vu_times[ch]++ > 40) {
        vu_peaks[ch]    = pos;
        vu_peakvals[ch] = val;
+        */
      }

and run this line:

while true ; do jack_capture /dev/null ; done

then you can reset peaks by pressing return.
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: Looking for visual "Clipping indicator" (linux command line interface)

Fons Adriaensen-3
In reply to this post by Jaime T
On Fri, Nov 02, 2018 at 10:16:18AM +0000, Jaime T wrote:
> Hi all.
>
> Is there software that someone could recommend that would provide a
> visual indicator of clipping occuring in a jack stream? Extra points
> if the visual indicator remains set until manually reset. Double extra
> points if the program can run inside a (linux) command-line
> environment?

ebumeter has a peak indicator that will flash yellow at -1 dB and
go red until reset at 0 dB. It will also detect inter-sample peaks.

Ciao,

--
FA

_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: Looking for visual "Clipping indicator" (linux command line interface)

Jaime T
In reply to this post by Jaime T
Kjetil and Fons,

Thank you so much for the recommendations. While I appreciate
ebumeter's adherence to "EBU R-128", jack_capture is much closer to
what I'm looking for: multi-channel, no dependencies on X, and a very
impressive auto-connection strategy. On a side note, I'm surprised
that something similar to jack_capture's auto-connection strategy has
not yet been incorporated back into the jack server, but then again
I'm new round here so perhaps there is a good reason for that
omission.

Thank you again to you both. With best wishes, Jaime
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: Looking for visual "Clipping indicator" (linux command line interface)

John Rigg-16
On Mon, Nov 05, 2018 at 01:29:34PM +0000, Jaime T wrote:
> On a side note, I'm surprised
> that something similar to jack_capture's auto-connection strategy has
> not yet been incorporated back into the jack server

As far as connections are concerned, JACK merely provides the ports to
connect to. It's analogous to a physical patchbay. It's up to (and
fairly easy for) applications to provide autoconnection if that is
required (it isn't always).

John
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org