jack-mixer / jack_mixer

A multi-channel audio mixer desktop application for the JACK Audio Connection Kit.
https://rdio.space/jackmixer/
GNU General Public License v2.0
95 stars 20 forks source link

Option to disable VU meter analysis/displays? #102

Open mxmilkiib opened 3 years ago

mxmilkiib commented 3 years ago

I don't need to see the levels moving all the time and it's adding to the system lag I'm getting on this older laptop now I'm running a JACK/PipeWire first system.

Maybe there is a middle ground between bars and nothing that could at least denote there has not been silence on a channel in the last second?

SpotlightKid commented 3 years ago

I'm currently working on disabling at least the added processing for the K14 and K20 metering, when it isn't used. I haven't measured whether this actually has a positive performance impact yet.

Adding "no meter" meter scale option should be easy to do. The backend will still update the meter values, but the impact of that is minimal.

SpotlightKid commented 3 years ago

Also, note that you can set the meter update interval in jack_mixer.py:

https://github.com/jack-mixer/jack_mixer/blob/9c4add82e72b3731d0b3d583c2280105c9d38d3d/jack_mixer.py#L120

It is currently set to 33 (ms). Setting it to 100 or even higher should lessen the burden on your CPU a bit, though the meters are a bit jumpy then.

mxmilkiib commented 3 years ago

How about exposing that as a user option?

SpotlightKid commented 3 years ago

Yes, that's the plan, but there are a lot of feature requests already, so I can't promise that it will happen soon.

dsheeler commented 3 years ago

@SpotlightKid, @mxmilkiib: what should be displayed in the "no meter" meter scale case? Fader takes up whole channel width and meter disappears altogether, or a blank meter that takes up space or ...?

dsheeler commented 3 years ago

Would we show the peak values?

dsheeler commented 3 years ago

https://user-images.githubusercontent.com/1632985/138743506-2bd3a239-4c2d-40c4-a3c0-4a6d6a39deff.mp4