This project is read-only.

Best Class for Audio Stream/Pipeline

Dec 3, 2014 at 2:42 PM
Edited Dec 3, 2014 at 2:43 PM
I'm trying to find the proper class for a virtual "pipeline" that takes an audio file, and as it is read, passes it through an Equalizer and various effects, and then spits the audio into a radio broadcast DSP and the "player" itself.

The reason I want it to be a stream is because I want to be able to change EQ settings with a WPF slider while the audio is playing, and have the changes be audible.

Maybe I should read more on the documentation, but I'm trying to build the player before I do the radio DSP, which requires the audio to be sent via a TCP Stream.

Thanks in advance!
Dec 6, 2014 at 7:54 AM
I would create the player with all effects first, and hear it in the speakers. Then capture the played sound with a loopback, that can be sent in TCP.
Dec 6, 2014 at 9:06 AM
Edited Dec 7, 2014 at 6:43 PM
I am really sorry for the late response. I am currently quite busy.
You can use the NotificationSource class inside of your source chain.
It will notify and serve you the processed data through the BlockRead event. But be careful with the BlockRead event. It runs in realtime during the playback. So don't waste too much time inside of the event handler (better start a new task or something like that).