A python library wrapper for interacting with the pulseaudio sound system.
Install the python library by running:
pip install pypulseaudio
Documentation is hosted at https://pythonhosted.org/pypulseaudio
Initial release supporting:
- Get server information with
get_server_info()
- Connection management with
connect()
anddisconnect()
- Enumerate installed audio cards using
get_card_info_list()
,get_card_info_by_name()
andget_card_info_by_index()
- Enumerate available audio sources using
get_source_info_list()
,get_source_info_by_name()
andget_source_info_by_index()
- Enumerate available audio sinks using
get_sink_info_list()
,get_sink_info_by_name()
andget_sink_info_by_index()
- Enumerate installed modules using
get_module_info_list()
andget_module_info()
- Set default sources and sinks with
set_default_source()
andset_default_sink()
- Module management with
load_module()
andunload_module()
- Set a card's profile with
set_card_profile_by_index()
orset_card_profile_by_name()
This release is intended to provide the main audio management functions only, rather than audio streaming or sound sampling functions.