Open okarowarrior opened 2 years ago
I know what you mean, but this isn't a problem with the audio visualizer, but rather with the information it gets from lively. The Visualizer is not able to get any sound information from you computer, so it has to rely on the lively api which implements a function that can give you the amplitude of frequencies. The problem is that this information isn't really accurate a lot of frequencies share the same amplitude, especially in the lower end. (This image show the "raw" data the visualizer receives) What the visualizer does is it takes all these frequencies which share the same amplitude and combined them into one bar, hence all those lower bars sharing the same value get combined into one bar. This was simply a decision I took during development.
One thing which could be done differently is to make the thickness of the bars proportional to how many frequencies are combined in it, if this is an effect you are looking for I can show you how it can be achieved.
The only way on how to fix this is by changing the underlying code of lively and how it perform the fast Fourier transform, something about which I sadly don't know much.
In this reddit post Rockdanister wrote that he is aware of this problem but also doesn't know how to fix it, so if you know anything feel free to contact him.
Thanks for taking your time and for making that detailed response. And thanks for the effort in making the project itself. I'd say many of us appreciate it though probably the deviantart post takes all the comments away.
Sadly, although I studied audio engineering for mixing, editing, etc, I never dived into coding itself.
Also, I checked Rockdanister's quote and other than looking over the line 731 IsXLogScale = true
wich tells me I was wrong about why the visualizer looked that way, I cannot offer any meaningful help.
I still use your project as a daily desktop bg tough ✌
I know this project is dead but can someone update the audio visualizer to set the frequencies in logarithmic order instead of linear? I know this project is mostly for eye-candy effect, but it would be nice that the visualizer works as an actual audio visualizer instead of showing 99% of the stuff you listen on the first 4 bars on the left.