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

Streaming and waveform + spectrum

Jun 28, 2011 at 5:43 AM


I want to do an application that read pcm stream from tcp connection and display spectrum and waveform.

1. I want to know if it possible to display spectrum and waveform without play the file, I mean I don't care if it play in backgroung but I donw want to hear the sound.

2. I saw to classes that I can use "SampleChannel" and "WaveChannel32" which is better? and what is the comparable method in "SampleChannel" to "RaiseSample" in WaveChannel32" ?

3. I familiar with NAudio lib (more or less) and I'll very appreciate if someone can give me a brief how do to that.


Jul 1, 2011 at 9:35 PM

1. yes, just call the Read method in a loop to pull samples from your input stream

2. SampleChannel is going to be new for NAudio 1.5. You can easily create your own ISampleProvider that has a RaiseSample event if you need it.

3. not sure what this question means


Jul 3, 2011 at 7:39 PM

Thanks! you are helped enough