I wish to develop an application in python which is able to read in data from a soundcard (think engineering waveform analysis). I need to be able to read in the left channel and right channel in separately.
Using pyAudio, we are able to either select mono or stereo:
pa = pyaudio.PyAudio()
_stream = pa.open(format=pyaudio.paInt16, channels=1, rate=SAMPLING_RATE,
input=True, frames_per_buffer=NUM_SAMPLES)
Is anyone aware of a way to reach each channel individually?
Thanks