by Nick Gisburne (2 Submissions)
Category: Sound/MP3
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (10 Votes)
Displays an accurate waveform synched with audio, in a scrolling window. I wanted to be able to display a waveform which looked like those in the majority of sound editors (Cool Edit by preference), and this does the job. The waveform moves across the screen in time with the audio and you're able to scroll along the whole length of the waveform. The waveform is 'reasonably' accurate - it would take too long to scan in a multi-meg file and check every byte, so a compromise is used. I don't think the quality of the display suffers at all. This code is part of a bigger project which will not be open-source. Having used a lot of ideas from other coders I thought it only fair to share this much. Limitations: it's only for 44100, 16-bit stereo waveforms, but you should be able to adapt it to 8-bit and other sample rates, etc. I only needed it to play one type of waveform, sorry! Enjoy!
Download Accurate waveform display, synched with audio (8 KB)