Skip to content

Simple script that auto-adjusts pulseaudio volume so you don't have to keep fiddling with the volume.

Notifications You must be signed in to change notification settings

the7erm/volume-adjuster

Repository files navigation

volume-adjuster

Simple script that auto-adjusts pulseaudio volume so you don't have to keep fiddling with the volume.

Installing

git clone https://github.com/the7erm/volume-adjuster.git
cd volume-adjuster/
git submodule init
git submodule update

Running

Open up your command line and run ./new-volume-adjuster.py play some sound.

To ensure the program is working open up pavucontrol and check the Playback tab.

  • The peak bar fluctuate.
  • The db volume should change automatically.

pavucontrol

Trouble shooting.

If the sound is distorted you'll need to run paman and on the Devices tab open each item in Sources and Reset their volume so the volume is 100%.

Devices Tab

This needs to be done for the alsa_input.* and alsa_output.* Sources.

Source Example

Graph

graph

The graph shows the last 10 seconds of activity. If you don't like it just close it. It won't show up until you restart the program.

The dotted line is a reference point for "100%" in pulse audio. The solid black line is the volume (you can open pavucontrol and watch it in action via the playback tab.)

The program samples the audio level 10 times a second. Out of those 10 times the light blue peak represents the "highest" level. The medium blue represents the "average" level, and the dark blue represents the "lowest" level.

If the volume is too soft ... it raises the volume. To loud lowers. Simple as that. No more constantly moving your mouse to adjust the volume via the speaker icon.

About

Simple script that auto-adjusts pulseaudio volume so you don't have to keep fiddling with the volume.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published