0

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)?

Waveform

enter image description here

Gigi
  • 28,163
  • 29
  • 106
  • 188
  • This might be of use http://www.codeproject.com/Articles/3352/A-low-level-audio-player-in-C – AnotherUser Aug 01 '14 at 11:42
  • For the 2nd part , you can use this - http://stackoverflow.com/questions/2534595/get-master-sound-volume-in-c-sharp – spetzz Aug 01 '14 at 11:44

0 Answers0