I am attempting to record from a USB Stereo input and I want to preserve the stereo signal. When I tried to use AudioCapture[], it compressed the signal into mono. When I use AudioStream[] followed by AudioRecord[] and then place the object in Audio[AudioPlay[astream]], it generates a .wav file that is also 1 channel. Any ideas how to record the 2 channels in mathematica?


  • 1
    $\begingroup$ You can use the function AudioRecord instead. Use recording = AudioRecord[] to get the AudioStream and then use Audio[recording] to create the audio object. $\endgroup$
    – Sâu
    Nov 20 '19 at 16:18
  • $\begingroup$ When I do that and check AudioChannels[file], it still only gives me 1 channel. I have also validated that the audio input being used it stereo in a third party recording app. $\endgroup$
    – Kay
    Nov 21 '19 at 19:28

I was unable to preserve the stereo type signal when using AudioCapture[] and AudioStream[]; however, when using SystemDialogInput["RecordSound"], the 2 channels of the signal were preserved :)!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.