New PanGainPlayer lets us pan and apply gain to a sequence of samples.