getmusicbee.com

General => MusicBee Wishlist => Topic started by: hiccup on November 26, 2017, 11:20:38 AM

Title: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on November 26, 2017, 11:20:38 AM
This idea is very likely to be nipped in the bud because of insuperable differences in programming languages, but I thought to throw it in anyway:

There are a lot of very nice VU meters for foobar2000, and they work really well and responsive.
It would be fantastic if someone would be able to create a plugin to make these VU meter .bin files usable in MusicBee.

To give an impression of some available designs:

(http://i.imgur.com/gHeI7qWl.jpg) (https://i.imgur.com/gHeI7qW.png)
Title: Re: A plugin to be able to use foobar2000 VU-meters
Post by: CritterMan on November 26, 2017, 12:03:06 PM
+1

Would also like, share the pessimism regarding the likelihood of implementation, also share the hope that it could happen.
Title: Re: A plugin to be able to use foobar2000 VU-meters
Post by: frankz on November 26, 2017, 02:04:56 PM
Man, that's gorgeous. I'd use that. +1
Title: Re: A plugin to be able to use foobar2000 VU-meters
Post by: phred on November 26, 2017, 04:44:04 PM
+1
Title: Re: A plugin to be able to use foobar2000 VU-meters
Post by: fabulario on November 26, 2017, 06:56:35 PM
+1
Title: Re: A plugin to be able to use foobar2000 VU-meters
Post by: wobbly on November 26, 2017, 11:34:02 PM
+1
Title: Re: A plugin to be able to use foobar2000 VU-meters
Post by: hiccup on November 26, 2017, 11:45:58 PM
It looks like Aimp users have found a way to convert these foobar .bin files to make them usable in Aimp.

http://www.aimp.ru/forum/index.php?topic=52865.0

But my Russian is even worse than my Tuyuca, so maybe it's not just some 'simple' conversion.
Maybe Aimp is using a similar programming language as foobar2000, maybe they just used the image files as a starting point for their own VU meters. I really have no clue.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on July 11, 2020, 05:47:32 PM
Since there seems to be some fresh interest and possibly some room for different ways of volume displaying, allow me to bump this request.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: phred on July 11, 2020, 07:34:51 PM
Indeed! I'll give this a second +1.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: wobbly on August 07, 2020, 03:13:09 AM
+1
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on January 28, 2021, 06:46:54 PM
After tweaking my foobar2000 installation a bit, the desire to have the option of a VU meter in MusicBee flared up again.

After some investigation, it looks like it might not be that difficult to do.
(yeah, easily said by a non-coder)

The different VU meters that are available (hundreds and hundreds of them), come in the shape of a single .bin file.
I checked the contents of such a file, and to my surprise it only contains images, nothing else.

So a possible plugin would probably only have to read the output volume, and display the image with the corresponding image (needle position) for that volume. (and do that many times per second)

This is an example of the contents of such a bin file:

(https://i.imgur.com/hA7RpkCm.jpg) (https://i.imgur.com/hA7RpkC.png)
(there are 2048 images in it. 1024 for the left, and 1024 for the right channel)

And this is how sweet it can look:

(https://i.imgur.com/ZuH6a9d.gif)
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: phred on January 28, 2021, 09:24:57 PM
+1
+1
+1
+1
Yes, yes, yes.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: Sidar on January 28, 2021, 10:40:08 PM
+1
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on January 29, 2021, 05:55:24 PM
https://youtu.be/h5MmfvBx3dU

;-)
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: phred on January 29, 2021, 06:17:36 PM
https://youtu.be/h5MmfvBx3dU
LMAO! That would be a good second choice if we can't have VU meters.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on January 29, 2021, 06:24:48 PM
https://youtu.be/h5MmfvBx3dU
LMAO! That would be a good second choice if we can't have VU meters.
It gave me laugh too. (a couple of times, and probably again tomorrow…)

But, this IS a VU meter.

It shows the beauty that a possible plugin implementation only needs to handle image files.
Before I delved a bit deeper into this I assumed a plugin would need to 'understand' and handle metering, vectors, whatever, making it a complicated endeavour.
But it only needs to handle image files.

Besides this example being funny, I think it proves that.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: Steven on January 30, 2021, 07:10:08 AM
Interesting and if implemented then any existing .bin file could be used. I will look at it for v3.5
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on February 04, 2021, 07:03:40 PM
I have been playing around some more with VU meters and have also created one myself.
During this experimenting I have come to suspect that these bin files probably don't contain image files only.
But I can't be sure since these bin files are kind of a black box to me and I only know how to extract the image files from them.
So it might be a bigger challenge to create a VU plugin for MusicBee than I was guessing earlier.

Anyway, by now my VU meter is completed, and I thought to share it.
Maybe it is useful to other members who also use foobar2000.
(foobar2000's foo_vis_vumeter.dll component is needed for this to work)


Dejavu

(https://i.imgur.com/Or5iVZi.gif)

download Dejavu (https://rebrand.ly/VU_Dejavu)



And a whimsical version,

Beejavu

(https://i.imgur.com/Zgvy6Wr.gif)

download Beejavu (https://rebrand.ly/VU_Beejavu)

(the needles move smoother in reality, the gif doesn't do that justice)



To be clear to the accidental reader of this topic:
MusicBee does not have support for custom VU meters.
So these VU meters serve no purpose for MusicBee.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: sveakul on February 05, 2021, 06:46:30 PM
hiccup, these meters ARE cool, I will try them in my Foobar--thanks!  +1 for Steven's plan to implement the bin concept in 3.5
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on February 05, 2021, 06:49:54 PM
Great!
If you like them enough to keep them, but the colouring is a little bit off for your foobar2000 skin (if you are using one), let me know.
While I am still in the spur of messing and experimenting with them I can create different coloured versions.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on February 05, 2021, 06:54:03 PM
I will try them in my Foobar

Maybe you already know, but just to be sure:
You can change the meters response in foobar2000.
Under Preferences > Advanced > Display > VU meter you can set the rise time, and when you hover over the meter with your mouse you can use it's scroll wheel to set the pre-amp.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: sveakul on February 05, 2021, 07:03:28 PM
Did NOT know this, thanks!  Color is fine for now, traditional (which I prefer over "Steampunk" meters!), but I'll let you know if my whims change (as they often do).  Off-topically speaking, you should post these at the Foobar forum too.
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on February 05, 2021, 07:10:29 PM
Off-topically speaking, you should post these at the Foobar forum too.
Maybe I'll do that. (is that on hydrogenaudio?)
But I want to test them a little bit more to see if they need improvement.
(response curve, font-size, peak leds, whatever)
Let me know if you have any suggestions after you have kicked their tires?
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on February 06, 2021, 11:39:54 AM
@sveakul
(or anyone else interested in using this meter)

Now that the needle range and response are to my liking, I took a look at the dB values on the scale that I started out with.
And by now they are quite a bit off.

But…
- I think it looks nice the way it is.
- VU meters are not an analytical precision tool to begin with.
- We are talking about a consumer music playback application. Not a studio tool.

But, being kindofa 'tell it like it is' person, it still itches a bit.
Do you have any (strong) opinion on this?
Should I change the numbers and the scale?

(the green digits are correct values)
(https://i.imgur.com/Ur1z0oZ.png)
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: sveakul on February 06, 2021, 04:27:45 PM
hiccup:  I wasn't familiar with the concept of VU units vs dB so I had to do some reading on that.  It's hard to  know what I'm really looking at as I'm so used to dB units, so I was eye-ballling the differences with the VU meter and "Enhanced Spectrum" Foobar plugin's peak readings and your Dejavu meter (2/4/2021 mod) and at -15db meter preamp it seemed to be around 3 units off from the dB peaks, but as those units apparently differ around 4 units (from what I was able to find out) that may be OK.  Now if you can get through THAT gobbly-gook explanation my hat is off to you, haha..

So, the green units on the pic are the actual dB units?  Is that what you prefer to see as opposed to the sort of mysterious (to me) VU units?  FWIW from the Wikipedia:

"0 VU is equal to +4 dBu, or 1.228 volts RMS, a power of about 2.5 milliwatts when applied across a 600-ohm load. 0 VU is often referred to as "0 dB". The meter was designed not to measure the signal, but to let users aim the signal level to a target level of 0 VU (sometimes labelled 100%), so it is not important that the device is non-linear and imprecise for low levels. In effect, the scale ranges from −20 VU to +3 VU, with −3 VU right in the middle. Purely electronic devices may emulate the response of the needle; they are VU-meters in as much as they respect the standard."
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on February 06, 2021, 04:54:29 PM
Thanks for the research ;-)
It's not that I am aiming for a meter that is scientifically correct. (makes no sense for this purpose)

My main objective is that the needle moves nicely for different sorts of music and volumes.
The experience should be nice.
It was a bit of a challenge to get smooth movements at the very bottom and the top, but I am almost there.

The reason for my question was that it is a bit misleading that where my meter says -50 dB, it is actually around -20 dB.
Or where it says 0 dB, it is actually around +3 dB.
Somebody recently told me there should be at least some truth in advertising…

But I think I found an acceptable solution. I will leave both the horizontal black and red scale, and the percentage indicators just as they are, and will only change the dB values.
It's probably going to be this:

(https://i.imgur.com/Fim3EWY.png)

It might prevent some complaints from people that are used to and/or trained to look at VU meters ;-)
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on February 06, 2021, 05:30:04 PM
I will leave both the horizontal black and red scale, and the percentage indicators just as they are, and will only change the dB values.
It's probably going to be this:

(https://i.imgur.com/qHZgx9J.png)


Updated:
Some minor improvements, and I added a version with a peak indicator, and a vertical version that takes up less horizontal space:

(https://i.imgur.com/8yAn5en.png)
 
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: hiccup on March 23, 2022, 10:30:38 PM
I am curious, is this something having any chance of getting implemented some day?
Title: Re: A plugin to be able to use foobar2000 / AIMP VU-meters
Post by: Steven on March 24, 2022, 09:58:34 AM
I did look at this and successfully got the graphics working well, however I havent been able to implement an algorithm that correctly implements the behaviour of an analogue VR meter. Any algorithms I managed to find on the internet didnt match the VR meter that the foobar plugin had (as in not even close and too jumpy). I spent quite a bit of time on that and dont plan to spend more.