A simple script that displays amplitude in db of the output of a jack device as plain text. This is a fork/rework of Nicholas J. Humfrey's jackmeter
but with a much more simplified output that works well with status bar programs like i3blocks
and i3status
.
Run the command:
jack_meter_simple SuperCollider:out_1
Set several ports (which will be mixed to mono before analysis)
jack_meter_simple "PulseAudio JACK Sink:front-left" "PulseAudio JACK Sink:front-right"
[jack_db]
align=left
command=$HOME/code/c/jack_meter_simple/jack_meter_simple SuperCollider:out_1
interval=persist
label=<span color="#B57614">db: </span>
git clone https://github.com/madskjeldgaard/jack_meter_simple
cd jack_meter_simple
./autogen.sh && make
This is a fork of Nicholas J. Humfrey's jack_meter. He did all the hard work, so thanks to him! For the latest version of Jack Meter, please see: https://www.aelius.com/njh/jackmeter/