This project has moved and is read-only. For the latest updates, please go here.

Build waveform graph for universal audio source

Jun 10, 2014 at 2:38 PM
I am trying to build a waveform graph for universal audio source using Xamarin + NAudio. First it seemed like WaveViewer is doing what I need to do. So I have ported it to Xamarin. But now it seems to me it's kind of hardcoded to 16 bits WAV files (as it read 2 byte samples independent on file type).

Are there any better samples for that? I looked at WPF sample but didn't found the place where the low-level magic happens yet (I see only glossy WPF controls and bindings for now).
Jun 12, 2014 at 12:42 PM
WaveViewer is a very rudimentary control and will be removed in the future from NAudio. I always just build by own waveform control for new projects, as I've found that the requirements vary dramatically.

I hope to blog about how to do this at some point in the future. I have an upcoming pluralsight course in which I'll be building a waveform rendering control. You can also see what I built in the NAudio pluralsight course WinForms waveform demo if you are a subscriber,
Jun 12, 2014 at 4:17 PM
yeah, that's worked, thank you!