title: PyAudio mixing multiple tracks and channels
body: <p>I'm trying to mix audio from 6 mono audio input channels (and a few wav files) to two audio output channels.</p>
  
  <p>I've skimmed though the <a href="http://people.csail.mit.edu/hubert/pyaudio/#docs" rel="nofollow noreferrer">PyAudio documentation</a> and figured out how to access the sound card I want and get the audio. I noticed the channel map example, but I'm a bit confused about using it.</p>
  
  <p>I've also spotted <a href="https://stackoverflow.com/questions/28743400/pyaudio-play-multiple-sounds-at-once">this answer</a> and this technique would work, but for 6+ channels wouldn't this get a bit slow ?</p>
  
  <p>What's the recommended or most efficient way of mixing multiple sound channels with pyaudio ?</p>