Added setGain and setPan