How to generate waveform or image of entire sound file?

I am fairly comfortable with real-time audio visualizers. However, I am wondering how to go about coding something that would pre-read the whole audio file and generate a visualization based off that. Static instead of real time essentially. Any pointers?

1 Like

This should answer your question: https://forum.processing.org/two/discussion/20672/how-to-draw-a-waveform-for-an-entire-sound-file

Kf

2 Likes

Thanks for that. Much appreciated!

This is another good sample for drawing a the waveform of an audio file: https://forum.processing.org/one/topic/how-to-generate-a-simple-waveform-of-an-entire-sound-file.html