In this tutorial we explore two options for plotting audio wave forms using C#. The first method is to use classes built into the NAudio class library. The second method is to use the Chart control that is built into .NET 4.0. As can be seen from the video, neither of these controls do a super job of rendering the audio waveforms, but it’s a good start! We’ll need to come up with something special to do optimized drawing of the audio waveforms in the future.
Sample code and a demo wave file are available on my website. http://www.giawa.com/tutorials