Play and Record Sound with Python

This Python module provides bindings for the PortAudio library and a few convenience functions to play and record NumPy arrays containing audio signals.

The sounddevice module is available for Linux, macOS and Windows.

Documentation:
https://python-sounddevice.readthedocs.io/
Source code repository and issue tracker:
https://github.com/spatialaudio/python-sounddevice/
License:
MIT — see the file LICENSE for details.

GitHub

https://github.com/spatialaudio/python-sounddevice