Advertisement
6_2008-2009 Sound/MP3 #209676

Accurate waveform display, synched with audio

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!

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine