as always use turbowarp: https://turbowarp.org/1244936139/fullscreen?fps=60 WARNING: there is a pop when starting the project for the first time. i don’t know how to get rid of this. it’s just a problem with sound assets. this project uses the FFT algorithm to convert the input sound into a frequency representation, then plays back the frequencies with sine waves in order to produce arbitrary sound. it does this transform real-time in the project itself, which means this player is technically open to more flexibility than projects which preload the data. for example, you could generate audio on the fly with this and have it be played back pretty well. this project just shows an example of a preloaded song, however. a few changes i made this time was - increasing the sample rate to 16khz for slighly better audio quality (though any sample rate should work) - removing the echoing when changing the sample rate to something lower the top visualizer is the frequency spectrum, while the bottom one is the actual waveform from the sound.
Credis to @52525rr for the og code I just made it 16-bit compatible added qmod a way to adjust the fft size increasing qmod WILL decrease fps but result in higher freq resolution at the cost of time resolution, adjust with caution! NOTE QMOD MUST BE A POWER OF 2!!!1!1111!1