VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Accurate waveform display, synched with audio

Nick Gisburne  (2 Submissions)   Sound/MP3   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

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!

Rate Accurate waveform display, synched with audio (11(11 Vote))

Download Accurate waveform display, synched with audio

Accurate waveform display, synched with audio Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters