最終更新:2022-05-24 (火) 19:39:47 (701d)  

Python/sounddevice
Top / Python / sounddevice

Play and Record Sound with Python

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

https://python-sounddevice.readthedocs.io/

概要

  • 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.

pip

  • pip install sounddevice

依存

sounddevice.query_devices

  • import sounddevice as sd
    print(sd.query_devices())

関連