Max2Play Home › Forums › Max2Play on Raspberry PI › [SOLVED] Volume Settings › Reply To: [SOLVED] Volume Settings
Hi Bjardne,
very good so far 🙂
If you really like to change the volume steps, this is a little more difficult, as we just use the file from IQAudIO. If you know how to compile a file and log in with SSH on the Pi, you can do it this way:
1. get the file from https://github.com/iqaudio/tools/blob/master/IQ_rot.c and edit lines
currentVolume = currentVolume + 10;
and
currentVolume = currentVolume - 10;
to the step you like – e.g. „5“ or „2“ to use smaller steps.
2. complile the file with
gcc IQ_rot.c -oIQ_rot -lwiringPi -lasound
3. change the existing file in /opt/IQ_rot with the one you just compiled
4. set file permissions with chmod 777 /opt/IQ_rot
This should do the trick…
All the Best,
Stefan