AmpliPi icon indicating copy to clipboard operation
AmpliPi copied to clipboard

Feature: HDRadio / NRSC-5 support

Open dlasher opened this issue 2 years ago • 2 comments

Looking forward AmpliPi shipping - wanted to ask to include HDRadio support. ( https://github.com/theori-io/nrsc5)

Although I would recommend the often-updated fork: https://github.com/markjfine/nrsc5-dui

Thanks!

dlasher avatar Nov 01 '21 22:11 dlasher

This looks like it could be an upgrade from our current FM radio support that already uses the same dongle. I will add some notes below for when we get time to work on this (or in the awesome case anyone would like to help).

The underlying decoder appears to be nrsc5, we would have to build this for the pi. As for using the decoder the gui that you referenced nrsc5-dui has a lot of good example code that would speed up the integration time. We would basically just need to implement this function and everything it calls to keep track of state and song information: https://github.com/markjfine/nrsc5-dui/blob/cd0b378276fb9d686d2f2fe8f24a82f0eba25b4e/nrsc5-dui.py#L918

linknum23 avatar Nov 02 '21 00:11 linknum23

Sweet! Thanks for taking a look, appreciate it!

dlasher avatar Nov 02 '21 01:11 dlasher