astrofox-io / astrofox

Astrofox is a motion graphics program that lets you turn audio into amazing videos.
https://astrofox.io
MIT License
1.74k stars 105 forks source link

Linear/Logarithmic scale #78

Open TooMuchRAM opened 2 years ago

TooMuchRAM commented 2 years ago

Currently, the visualisers in this project all use a linear scale to display audio. This leads to a lot of visualising on the left side, where the lower frequencies live, and almost no visualising on the right side of the visualiser. Virtually all audio visualisers use a logarithmic scale to display audio activity, as it leads to a much more even division of audio activity.

For example: loading in the video 20Hz to 20kHz, we can see that the visualiser stays at the left for almost the entirety of the video and quickly starts to go right nearing the end of the video. On a logarithmic scale, this would go from left to right at a constant speed.

mikecao commented 2 years ago

We can probably add an option to toggle between linear/logarithmic.

TooMuchRAM commented 2 years ago

Please do, as even though the visualisations look very pretty and I found this app to be best suited for this purpose, the linear scale is a game breaker for me