spatialaudio/python-sounddevice

:sound: Play and Record Sound with Python :snake:

Python

1,275

343 commits

updated Aug 29, 2026

See the code

README

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.

.. _Python: https://www.python.org/
.. _PortAudio: http://www.portaudio.com/
.. _NumPy: https://numpy.org/

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

audio
portaudio
python
soundcard

spatialaudio/python-sounddevice

:sound: Play and Record Sound with Python :snake:

Python

1,275

343 commits

updated Aug 29, 2026

See the code

README

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.

.. _Python: https://www.python.org/
.. _PortAudio: http://www.portaudio.com/
.. _NumPy: https://numpy.org/

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

audio
portaudio
python
soundcard

Significant stargazers

Peter Kosztolanyi

23 followers · starred Jun 2022

mdoege

57 followers · starred Aug 2021

Frederik Rietdijk

157 followers · starred Jan 2016

Dmitry Misharov

66 followers · starred Jul 2015