Let's say I want to make a simple application that can play sounds. In WPF, I can use either the MediaPlayer class or the MediaElement class to take care of the playback.
Is it possible to actually extract data from the playing sound in order to draw the playing sound as a waveform (possibly using a charting library)? Something like in the image below. Alternatively, is it possible to at least obtain and display the output volume as we see in the Windows speakers system tray icon (second image below)?