This project has moved. For the latest updates, please go here.

Help on using BufferedWaveProvider

Apr 18 at 12:36 AM
I have a UDP stream of sampled audio arriving at my application. I can process the stream and retrieve the data from the UDP packets. This audio looks like a stereo two channel group of bytes. It really is sampled I and Q data from a remote DSP that is sending the data to the local port. All of the network stuff works OK. My question is how to choose an appropriate WaveFormat to provide for the argument of the BufferedWaveProvider. I need to separate the two channels, re-arrange two adjacent bytes into a 16 bit word, then save the separate I and Q words into separate buffers that I can pass to an FFT engine as floating point buffers. Any help would be appreciated.
Regards, Karin
Apr 21 at 10:21 PM
If you dont know the waveformat, you cant process the data ... lol
Apr 23 at 12:50 AM
Gotcha... thanks after a day of messing around I found out what I need to do. Now on to other things. Karin