/python-rtmixer

:microphone: Reliable low-latency audio playback and recording with Python :snake:

Primary LanguageCMIT LicenseMIT

Realtime Audio Mixer for Python

Warning

This is work in progress!

Goal: Reliable low-latency audio playback and recording with Python, using PortAudio via the sounddevice module.

The audio callback is implemented in C (and compiled with the help of CFFI) and doesn't invoke the Python interpreter, therefore avoiding waiting for things like garbage collection and the GIL.

All PortAudio platforms and host APIs are supported. Runs on any Python version where CFFI is available.

Online documentation
https://python-rtmixer.readthedocs.io/
Source code repository
https://github.com/spatialaudio/python-rtmixer
Somewhat similar projects