updated recorder functionality to allow for stereo recording