as always use turbowarp: https://turbowarp.org/1184501461/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. many people were asking for an easier way to load audio, so i made a link for that. https://52525rr.github.io/audio2PCM/ input an audio file on the site, then copy the data, press space key on this project, and paste in the data. (note: the data format is unsigned 8 bit PCM at 16000hz by default.) 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.
https://en.wikipedia.org/wiki/Fast_Fourier_transform the loaded song is "Hatsune Miku - Ievan Polkka" sorry for not posting a project in so long lol. i might finally have some more ideas and time soon for new projects after this.