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

If signal is already stereo, how do I pan left/right?

Feb 26, 2013 at 3:48 PM
I was using the PanningSampleProvider to convert a mono to a stereo output, so I can pan left/right audio. If the signal that is coming in is already in stereo format (i.e., it already has two channels), how can I use the existing PanningSampleProvider to perform the balance between the left and right channels?

Feb 26, 2013 at 3:51 PM
PanningSampleProvider expects a mono input. When you have a stereo signal, panning gets complicated. Does it just adjust the volumes in the left & right channels (a balance control), or can it actually move some signal from the right channel to the left? You'd be best off writing your own stereo panning/balance/width provider that works how you want
May 17, 2015 at 9:11 PM
Is there a description of the steps to perform, if my input and expected output is a WaveStream?
Jun 3, 2015 at 9:42 PM
why do you need the output to be a WaveStream? Best approach is just to convert to SampleProvider (and back to 16 bit WaveProvider if necessary later).