sound is the index of the sound to adjust.
balance is a number between 0 and 100. 0 signifies all
the sound will come from the left speaker, 100 signifies all
the sound will come from the right speaker.
volume is the amplitude of the sound. This can be between
0 (silent) and 255 (maximum).