Hello,
I am trying to create a simple device that would act as a digital audio source selector.
I have three audio sources -
- optical SPDIF (from my TV audio feed)
- coaxial SPDIF (from a digital phono preamp)
- ethernet (Roon)
There is a HAT I can purchase that adds both coaxial and optical SPDIF inputs to a RPI, called the HiFiberry Digi+ I/O. It also adds outputs for coaxial and optical SPDIF.
I see that people have used DietPi as a Roon bridge/endpoint. I would like to do that. I would also like the ability to send a command over IP to the DietPi that would switch to one of the other two audio sources, as listed above, on demand within a reasonable timeframe (<5 seconds would be fine - i.e. not needing a system reboot).
I have searched quite a bit through DietPi documentation to see if I could find a similar use case, or some pointers on audio input switching, but haven’t really had any luck. The HAT is tricky to find, and will probably cost $100 or so, in addition to the RPi unit and case. However, this would be the ideal solution to my problem if I can make it work, so I wanted to see if it’s possible, and if there are any ideas on how to accomplish this. Any advice or pointers would be very much appreciated. Even a hard ‘no, that’s not possible’ would be helpful to steer me away from this potential option.
Kind regards,
Sean