Yes but when you think about it, the sole reason I added those sliders in was because you questioned the movement and I added in a method for you to adjust it. No one else mentioned it.
Well, I am observing some issues with the needle movement, and I have done my best to describe and analyse that as best as I can.
That I am the first and only user that does so, doesn't make it a non-existent issue.
If you set the sample number to 15...
At default settings it takes a sample every 15ms.
if the peak value drops from 1.0 to 0, it will take 150ms...
Change the samples to 15 and it will take 225ms...
Thanks for explaining, it's interesting to get this detailed information about what is making the magic happen.
But I have the luxury to respond (and think) as an end-user, commenting on what I see in the end-result and reporting when I think something (in my opinion) is off could be improved on.
So I believe my comment about how the needle of an 'actual VU meter' is supposed to react is a valid one, and it would be a good starting point if the needle of your plugin could be made to have such action.
What sample slider settings do you suggest to get the needle moving from ∞ to 0dB in 300 ms? And vice-versa?
Not sure on a solution for the sync issue. Isn't it always going to be behind the music because it's an average of the last 150ms? (at default settings)
I have no clue.
It's just that I notice the VU meter of AIMP acting more instantly and better synced.
As some of my GIFs also demonstrated.
I also looked at the Cooledit Nostalgia plugin. It's a different beast of course, but that one also seems to respond very fast.
So they my be doing something different in sampling the audio. No idea.
Increasing the sample number reduces the nervousness of the meter. I have noticed I need to give the meter more time for the needle to come back down before I stop the process when the music is paused/stopped. With higher sample numbers it gets half way down and then just jumps to the end which doesn't look good.
Thinner needles are probably not going to look good in general if they are low resolution. Everything is scaled to the window size which means moving pixels around, at certain angles this might mean they appear even thinner which would probably make them look more jumpy. I did play around with Antialiasing on my other plugin but the results were not great.
Interesting, and all valid points of course.
But my observations are also based on the wider 'needle' of AL-65.
I noticed that when that needle moves fast, e.g. from 0 dB to ∞ in a very short time, there are very few inbetween positions that can be observed. The AIMP implementation seems to be drawing more images for the same period of time, making the needle look smoother.
But it's difficult to compare or make a proper analysis of what is going on exactly.
Now I'm getting it from the MusicBee API. Any changes you want there would have to be done by Steven. I think he may get it from the bass.dll as he mentioned BASS in the thread when he implemented the peak value api call.
Hm, that is a bit of a problem.
As I said, most of my music has ReplayGain values that decrease the volume quite a bit, so with default settings, there is not much needle action left.
Using the mouse-wheel could correct that, but the possibility for pre- vs. post would be a much better solution I think.
Pre using the original signal as it is, post using the signal after volume slider, EQ., ReplayGain, VST plugins and whatever.
Can you give an example of when you would want to use those settings as you suggested? If the peak reading is 0db why would you want the meter to display -3db? Can't you just set the ZeroAngle value so it points at -3db on the meter and that will give you the same result? That will change the increment positions for all values but that will happen with either method.
Because many AIMP meters will have been designed like that.
They will have some visual 'zero' position on the scale where they want the needle to be when the signal is at -3dB, and the needle reaching the end of the scale at 0dB.
Not saying that they could have left that out and only use 0 dB for the end point, but that is how it is.
If your plugin does not use these values, these AIMP skins will not have needle action beyond their ZeroPoint, so they will not work as intended.
After all this discussion about trying to make the meters accurate, it seems a bit weird to want options that do the opposite.
I don't really understand what you are saying here.
Hopefully my additional explanation on all these points has cleared things up some more.
I'm not trying to just 'mimic' things for the sake of mimicking.
I'm trying to be helpful with getting VUMeter to:
- look and act more like an actual VU meter in it's needle action (or at least have the option to accomplish that)
- be as much compatible with existing AIMP skins so that they will work as intended by their creators