mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.44k stars 1.27k forks source link

Make VU Meter norm conform #7888

Open mixxxbot opened 2 years ago

mixxxbot commented 2 years ago

Reported by: daschuer Date: 2015-03-09T09:00:06Z Status: Confirmed Importance: Wishlist Launchpad Issue: lp1429760


The VU meter is normed in IEC 60268-17 and the Peak indicator at IEC 60268-18

http://en.wikipedia.org/wiki/Peak_programme_meter http://www.soundonsound.com/sos/jul13/articles/qanda-0713-2.htm

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2015-03-09T09:54:19Z


We may look at this GPL2 code: https://github.com/x42/meters.lv2

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2015-03-13T09:03:59Z


Software VU Meter Ideas: http://music.columbia.edu/pipermail/music-dsp/2007-June/066267.html

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2015-06-12T10:07:10Z


Related: http://www.mixxx.org/forums/viewtopic.php?f=7&t=7239

This will help to light up the correct LED on controllers with labeled VU-Meters.

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2016-01-12T22:10:36Z


Related: http://www.mixxx.org/forums/posting.php?mode=reply&f=6&t=7872

mixxxbot commented 2 years ago

Commented by: xeruf Date: 2018-12-12T22:34:35Z


Uff this is old. Trying to map the VuMeter to HID light output right now, but it's kinda hard without knowing the function to go from Mixxx's VuMeter to dB - is it somewhere?

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2018-12-12T22:58:27Z


Unfortunaely the VU meter is not scaled in DB: https://github.com/mixxxdj/mixxx/blob/master/src/engine/enginevumeter.cpp#L73

That's one reason why this bug exists. Do you have interests to adopt it?

mixxxbot commented 2 years ago

Commented by: xeruf Date: 2018-12-20T21:12:49Z


I have interest in adopting any bug that I comment on, but I first need an introduction to C++ and the codebase ^^

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2018-12-20T22:15:36Z


The best way is leaning by doing. This one is too advanced for the beginning. Take one "easy" tagged bug and follow https://www.mixxx.org/wiki/doku.php/bugfix_workflow

mixxxbot commented 2 years ago

Commented by: Be-ing Date: 2019-08-28T16:30:07Z


I've been thinking it would be helpful to have a psychoacoustic perceived loudness meter. Can we do this with libebur128?

mixxxbot commented 2 years ago

Commented by: ywwg Date: 2019-08-28T17:35:28Z


Let's be careful how we adjust the VU meter. We need to make sure the clipping indicator is still accurate and intuitive. It could look strange if either the VU meter looked low and was clipping or looked very hot and was not clipping.

mixxxbot commented 2 years ago

Commented by: Be-ing Date: 2019-08-28T21:01:22Z


Right, we still need to know whether the deck is clipping regardless of the perceived loudness. It may be a good idea to not make EBUR128 the default but have it as an alternative option for users who understand how it works. I tried using the x42 EBUR128 LV2 meter plugin on some tracks in Ardour and it is clear to me that this provides more useful information than Mixxx's current metering. Tracks that look approximately the same with peak metering can appear very different with EBUR128 or K20/14/12.

mixxxbot commented 2 years ago

Commented by: daschuer Date: 2019-08-28T21:02:24Z


I've been thinking it would be helpful to have a psychoacoustic perceived loudness meter. Can we do this with libebur128?

Yes.

I think we face here different use cases. It is explained a bit here. https://www.waves.com/loudness-metering-explained

The current Mixxx VU meter is somewhere between a paek meter and a VU meter, offering a reasonable one fits all type, unfortunately not comparable to other devices or any standard scale. The clipping LED works always and independent of the VU-Meter scale.

If one likes to monitor the loudness of the mix, knowing that there is enough digital headroom anyway, a LUFS meter will be a better choice. This is relevant especially for MIC and Aux input, because we can trust the ReplayGain adjustment for tracks blindly.

If one likes to get all out of an underpowered PA System, True Peak meter be the best choice. It helps to predict digital clipping clipping after DA conversion.

Both meters would be a nice preferences option.

mixxxbot commented 2 years ago

Commented by: ywwg Date: 2019-09-30T13:58:12Z


We also got this feature request over email:

""" As a freelance broadcaster for many years I have pointed would be Dj's in the direction of the Mixx software download to get them started. However I find that many ask the same question..."Does Mixx software contain a setting where we can use the old type studio desk VU meters for monitoring levels"? I'm afraid I can't answer this one..can you advise and I'll pass any future enquiry information on Regards Brian Clough Freelance Broadcaster/Journalist """

mixxxbot commented 2 years ago

Commented by: atskler Date: 2022-01-30T00:16:47Z


Regarding post #⁠13 probably they can use the professional x42-meters through Jack, or the lv2 versions with a Jack enabled plugin host. The x42-meters can be found on distribution repositories also.

https://x42-plugins.com/x42/x42-meters

For precise results they may need levels allowed above 0dBFS at Mixxx's Jack output. -> See: Bug #⁠1959153

mixxxbot commented 2 years ago

Commented by: Be-ing Date: 2022-01-30T01:22:40Z


I don't think Mixxx should need LV2 plugins for metering. However we could copy code from x42-meters into Mixxx.