Hi,
I’d like to have a hardware button, which should be able to cycle through the 3 custom presets of the simple simple equalizer plugin. This way I could have a loudness/bass-boost option without having to click/tap through 5 menues.
The hardware setup is already functional with rotary encoder or the gpio-buttons plugin, but I don’t know a way to activate the equalizer settings.
Is it possible to use the volumio.sh or the curl-api?
Regards,
Phil
Volumio Information
Volumio Version: 2.806
Hardware: raspberry 3b
DAC: hifiberry dac+ adc pro
hi!
you can’t control the plugin via Gpio. But what you can do is to install the plugin and enable it and associate the hw button to a script sending a command to alsaequal
/usr/bin/amixer -D equal cset numid=[i] x
where i is number for the range from 0 to 9 and x the value to set to this range. Do a loop to fill all the 10 values with what you need. You can check it when you press apply in the equalizer in the console via ssh.
1 Like
Strike! That’s exactly what I’ve been looking for!
Just tested via ssh:
volumio@volumio:~$ /usr/bin/amixer -D equal cset numid=3 7
numid=3,iface=MIXER,name=‘03. 125 Hz Playback Volume’,device=2
; type=INTEGER,access=rw------,values=2,min=0,max=100,step=1
: values=7,7
immediatly cuts off the 125Hz
Thanks very much, you made my day!
Your plugin is awesome, Balbuze!
Regards,
Phil