r/howdidtheycodeit • u/UnityShaderSux69 • 13d ago
Question Windows Media Player Legacy audio visualization Alchemy
While I have also just sent this query to r/NoStupidQuestions [see here], I do believe that I will likely find a better answer from a more focused community, and as such I fall upon you with the very same question I asked of them. How would I go about recreating Windows Media Player Legacy audio visualization, known by the name of "Alchemy"
I am enthralled by it's beauty and do not want to go without it. As the functionality of the old media player is slowly being stripped away (such as the ability to use themes being scrapped in just 6 days), I wish to still experience the grace of this visualization long after its inevitable departure.
I bring you here an example of it in action, but I recommend running it with your own MP3 to see it with music that you hold dear: https://www.youtube.com/watch?v=3tS9P3DeT_8
My guess would be that they utilize a Fast Fourier Transform, and have certain frequencies trigger different things being drawn onto the screen. Colour, and what exactly is being drawn, is changed over time, seemingly without relation to the track? Finally, whatever was on the screen last frame is transformed in some way to fill up the background. Whether just being moved a direction, being duplicated, rotated, applied a wave filter to, bleed out, or other.
I thought for sure that this query would have been a common one with answers abundant, but during my searches I only found guides for how to use the Old Windows Media Player and activate the alchemy visualizer, which does not help my in quest to recreate this functionality for use in private programs. As such I turned to here for guidance. Especially the fact that the visualization runs so smoothly, and has done so on computers of old, brings out my wonder, as any recreation I could think of to do I believe would require a lot more computational power than what the Alchemy visualizer uses.