If you wanted to build an electronic dice, you might grab an Arduino and a nice OLED display to whip up something fancy. You ...
This is a system for controlling a PGA2311 or similar volume control with an Arduino. It is quite featureful, with pushbutton mute, multiple supported channels (relay switched), compile time balance, ...