sounddevice

Package — MediaPython 3.7+Intermediate

Play and record audio using PortAudio

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
cffi, NumPy (PortAudio bundled)
Install
pip install sounddevice

Learn by Difficulty

Quick Example

python
# Install: pip install sounddevice
import sounddevice

# Basic sounddevice usage
print(f"Using sounddevice")
# See documentation for detailed examples

sounddevice is a third-party package. Play and record audio using PortAudio. Install with: pip install sounddevice

Try in Playground

Tags

packagemediaaudiovideo