Created as part of a costume of the Radio from the Brave Little Toaster.
Uses GPIO to read input controlled by a rotart knob, the logic is based on a switch that is configured for: ["Off", "A", "B", "A + B"].
Also there is a service to autostart etc.