https://github.com/zeionara/goloss
A small tool which performs automatic adjustments of the sound level on your device to keep in down even when something loud happens
https://github.com/zeionara/goloss
Last synced: 3 months ago
JSON representation
A small tool which performs automatic adjustments of the sound level on your device to keep in down even when something loud happens
- Host: GitHub
- URL: https://github.com/zeionara/goloss
- Owner: zeionara
- License: apache-2.0
- Created: 2021-09-03T20:51:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-05T20:05:46.000Z (over 3 years ago)
- Last Synced: 2025-01-02T07:46:19.315Z (5 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goloss
A small tool which performs automatic adjustments of the sound level on your device to keep in down even when something loud happens
## Install dependencies
Install pavumeterc which is used for live volume level detection using pulse-audio library
```sh
sudo apt-get install autoconf libglibmm-2.4-dev libpulse-mainloop-glib0 libpulse-dev lynx
git clone [email protected]:CoolDuke/pavumeterc.git
cd pavumeterc/
./bootstrap.sh
./autogen.sh
./configure
make
sudo make install
```Install go language dependencies
```sh
go mod download
```## Usage
To run the tool execute the following command in which the only argument is minimum time delay between two consequent volume adjustments made by the script
```sh
go run main.go 10
```