I'd like to do some projects with audio in C# .NET 4.0 in the future so I've gathered some code samples for audio recording, working with WAVE files etc. But what I haven't been able to find is:
How can I draw audio waveforms / spectrograms in realtime(ish)? Obviously, creating an in-memory bitmap and loading it into a picture box would be very slow, right? So, what's the easiest way?
Thanks!
You can use the GDI+ based Graphics and Drawing in Windows Forms to draw your content directly. This will be far faster than rendering to a bitmap and displaying in a picture box for constantly changing content.