Tools for remote control of Windows system audio on Mindscope Neuropixels and Behavior rigs.
Project description
np_audio_control
Tools for remote control of Windows system audio on Mindscope Neuropixels and Behavior rigs.
Uses SetVol v3.4 (https://www.rlatour.com/setvol/)
Install
python -m pip install np_audio_control
Basic usage
>>> from np_audio_control import mute, unmute, set_volume, get_volume
>>> host = 'W10LTPC2BC51P'
# interact with default audio device
>>> mute(host)
>>> unmute(host)
>>> set_volume(50, host)
>>> get_volume(host)
50
# interact with specific device (see SetVol `device name` argument)
>>> device = 'Speakers (Realtek USB2.0 Audio)'
>>> mute(host, device)
>>> set_volume(50, host, device)
# send any command to SetVol
>>> from np_audio_control import send_setvol_cmd
>>> send_setvol_cmd(host, 'beep')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for np_audio_control-0.0.2.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 133d25cc0dec7c702712f77ce994cc314c0e242746bd588161ec23615ae9d72e |
|
MD5 | e3303062d2286af5671ac54d08683b43 |
|
BLAKE2b-256 | 16ddb0d2c917fb2edc1d1b19de3151acc03ff1d252ecb1e88041dd7a92b524c2 |
Close
Hashes for np_audio_control-0.0.2.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba87bc4be5161a765a83ddd105154173f363cfac56ab2ceccb0d91d72668c9af |
|
MD5 | 492d7fd853c8309627a836d51ad8fa87 |
|
BLAKE2b-256 | 4012de521eac0d13fa0038d72e1607b8acb43d0723385edc53faa54d32be05c9 |