RPI3 + AMP2 with runeaudio: physical volume switch, HOW TO?

Hi Everybody,

since my setup is working (with dac+ setting in rune) i will continue planning my autonomous hifibox.

I want to use a physical rotary knob to adjust the volume. As far as a know i can use any rotary encoder, three GPIO Pins and a little code to adjust alsamixers volume value.

Now my questions are

1. Where do i have to put that code to?

2. Which GPIO pins can be used?

3. And most important: What's the code?

I hope, i explained everything clearly and that anybody will some advice for me.


Cheers, P


Please sign in to leave a comment.