title: How can I change the recording audio device of SoX?
body: <p>In the title: How can I change the recording audio device of SoX?</p>
  
  <p>I am using MacOS (installed with homebrew).</p>
  
  <p>I am interacting with SoX through a Node.js library called <a href="https://www.npmjs.com/package/node-audiorecorder" rel="nofollow noreferrer">node-audiorecorder</a> that records sound; let me know if there's a better solution that I should be using for recording audio to a .wav file from a specific input device.</p>
  
  <p>EDIT: Just to be clear, we are NOT talking about recording input from the default input device here.</p>