-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Min max volume #211
base: master
Are you sure you want to change the base?
Min max volume #211
Conversation
Is this working? Added 'vol_min= 50' in config, no effect at all :(. |
I think Ed never merged this into his main branch. You would have to fork Ed's project and then try to merge my pull request or take a look at the changes I made and copy them over one by one. It definitely worked when I made the pull request but since then Ed's code has changed and I do not currently have the hardware for testing. |
Can I just put/add value '+50' as a volume starting point, don't need to read it from config file, it can be hard coded. Probably line with 'map' command? Thank you! |
I would try: You may try other values instead of "0xA0". |
Yea, it works in my case with hex value 70. |
This implements two new commands: vol_min and vol_max
(fixes #210)
Usage:
Leave the values at their default. Find the minimum volume setting where you can still hear something from your speakers. Then find the maximum volume until you get distortion.
If your minimum volume is higher than 1 you can limit it by adding the line
vol_min=YOUR_MIN_VOL
to your config. Likewise if you can limit the maximum volume by addingvol_max=YOUR_MAX_VOL
.After a reload of the config you can use the volume setting as before. Volumes from 0-100 will be mapped to volumes from
vol_min
tovol_max
from that point on.Note that if you want to change these values later it is necessary to reset these values to 0/100 before you can experimentally find new useful values.