API Documentationยง
Play and Record Sound with Python.
- API overview:
Convenience functions to play and record NumPy arrays:
play(),rec(),playrec()and the related functionswait(),stop(),get_status(),get_stream()Functions to get information about the available hardware:
query_devices(),query_hostapis(),check_input_settings(),check_output_settings()Module-wide default settings:
defaultPlatform-specific settings:
AsioSettings,CoreAudioSettings,WasapiSettingsPortAudio streams, using NumPy arrays:
Stream,InputStream,OutputStreamPortAudio streams, using Python buffer objects (NumPy not needed):
RawStream,RawInputStream,RawOutputStreamMiscellaneous functions and classes:
sleep(),get_portaudio_version(),CallbackFlags,CallbackStop,CallbackAbort
- Online documentation: