Moode Forum
Questions about volume - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Questions about volume (/showthread.php?tid=1905)



Questions about volume - SkripT - 11-19-2019

Hi all! I have two questions related with volume. Sorry if any of them have been answered before:
- When I set software volume at 100% is equal to have the volume control disabled reaching bit perfect output?
- Is it possible in any way to change the default +1 or -1 when pressing the volume up and down buttons for any desired value?

Many thanks!!


RE: Questions about volume - Tim Curtis - 11-19-2019

Software or Hardware volume set to 100% is equal to volume set to "Disabled (0dB).

You would have to modify the 2 event handlers below in file /var/www/js/scripts-panels.js. Change + 1 and - 1 to different values. Note that any changes would be lost after a moOde update or new release.

Code:
    $('#volumeup,#volumeup-2,#ssvolup').click(function(e) {
        var curVol = parseInt(SESSION.json['volknob']);
        var newVol = curVol < 100 ? curVol + 1 : 100;
        setVolume(newVol, '');
    });
    $('#volumedn,#volumedn-2,#ssvoldn').click(function(e) {
        var curVol = parseInt(SESSION.json['volknob']);
        var newVol = curVol > 0 ? curVol - 1 : 0;
        setVolume(newVol, '');
    });



RE: Questions about volume - SkripT - 11-20-2019

Very helpful. Like always, thank you so much for your support Tim. Best wishes!