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?

Paul
Coordinator
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