Display waveform and spectrum without playing the audio

Jun 20, 2011 at 8:54 PM
Edited Jun 21, 2011 at 9:47 AM


I want to get stream from some server (pcm 16 bit) using udp and display the waveform and spectrum but I don't want to play the audio.

I tried to do that with NAudio and http://wpfsvl.codeplex.com/ but I saw they use WaveOut to draw the spectrum and I don't need WaveOut...

Can I do that without using WaveOut?


I solve my problem

anyway if someone know  http://wpfsvl.codeplex.com/ I'll appreciate your help

Thier have a demo that they are draw the waveform when the file is open. How I can to draw the waveform in real time (I get the stream from internet and I cant draw the waveform when I dont have it...)


Jun 22, 2011 at 8:11 AM

you just need to pull the audio through your pipeline. Just call the Read method until you get to the end