Skip to content Skip to sidebar Skip to footer

Pyaudio: How To Capture Internal Audio (not From Microphone)?

Tried like this: p = pyaudio.PyAudio() stream = p.open(format=FORMAT, channels=CHANNELS, rate=RATE, output=True, frames_per_buffer=

Solution 1:

Try this: https://github.com/intxcc/pyaudio_portaudio

PyAudio isn't made to record outputs, only inputs. This fork however introduces an api that gives you the ability to do so through loopback mode. To use this, set the flag as AUDCLNT_STREAMFLAGS_LOOPBACK. Hopefully this works and good luck!

Post a Comment for "Pyaudio: How To Capture Internal Audio (not From Microphone)?"