An open API service indexing awesome lists of open source software.

https://github.com/ideoforms/alsa-volume-listener

Set Alsa system output volume by sending an OSC message
https://github.com/ideoforms/alsa-volume-listener

Last synced: 10 months ago
JSON representation

Set Alsa system output volume by sending an OSC message

Awesome Lists containing this project

README

          

# Alsa volume listener

Listens for OSC `/set_volume` messages, and sets the Alsa system output volume accordingly.

## Usage

Create a virtual env, and run:

```
pip3 install -r requirements.txt
python3 run-volume-listener.py
```

Then, send an OSC message to port 13007 containing `set_volume `, where `` is a float between 0 and 1.

To install the system service:

```
sudo ln -s ~/alsa-volume-listener/auxiliary/alsa-volume-listener.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable alsa-volume-listener
sudo systemctl start alsa-volume-listener
```