PortAudio fork with WASAPI loopback support
Maintained. Last release 8 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pyaudiowpatch❤ Recall.ai - API for desktop recording
If you’re looking for a hosted desktop recording API, consider checking out Recall.ai, an API that records Zoom, Google Meet, Microsoft Teams, in-person meetings, and more.
✨ This repo is sponsored by Recall.ai ✨
PyAudioWPatch
This fork will allow you to use the WASAPI device as loopback using PyAudio.
So you can use speakers to record audio ✨
For whom?
If you want to record sound from speakers in python, then this fork is for you. You can get recording from any device that supports WASAPI, for example, you can even record audio from Bluetooth headphones🎧
PyAudioW(indows|ASAPI)Patch come only with WMME, DirectX and WASAPI support if you need more -> create an issue
How
The Windows Audio Session API (WASAPI) allows you to use output devices (that support this API) in loopback mode. At the time of release, it was impossible to achieve this using the original version of PyAudio.
Note: Now WASAPI loopback devices are duplicated at the end of the list as virtual devices. That is, to record from speakers, you need to use not just a WASAPI device, but its loopback analogue. All loopback devices are input devices.
How to use
Read -> Install -> Enjoy! ↣
