Adding HD Radio Support to FM DX Webservers with an RTL-SDR
Thank you to Ivan (NO2CW) for submitting news about how he added HD Radio decoding capability to his FM DX Webserver receiver. The FM DX Webserver is a community of worldwide FM broadcast-band online receivers that mostly use SDRs based on the TEF6686 chip, with a few also using RTL-SDR receivers. HD Radio (aka nrsc5) is a proprietary digital audio standard used by FM broadcasters in North America. It's often observed by SDR users in a waterfall as the two rectangles flanking both sides of a broadcast FM signal. Ivan writes:
A major challenge has been that up until now none of the online receivers were HD Radio capable. I have now added this capability with the help of an RTL V3. The online receiver uses a combination of two receivers: a TEF6686 which is known to be highly sensitive and, when an FM HD Radio signal is present, an RTL V3 automatically kicks in to provide HD radio capability opening up HD1, HD etc audio streams together with bundled album art, traffic and weather. The program was initially conceived by discord user seehed and then further developed by me.
The core code for this plugin was developed by GitHub user seehed and can be found here:Â https://github.com/Seehed/NRSC5_HDRadio. I had to make a few tweaks to get it fully working. How the Setup Works: The hardware setup requires both a TEF6686 receiver and an RTL dongle operating simultaneously.
I tested an RTL-SDR V4 first, but the necessary DLLs worked much better with an RTL-SDR V3 in my current build.
By default, the server uses the TEF6686 for browsing the FM band for analog signals. When a user tunes to a frequency where an HD Radio signal is present, the logic switches to "HD Mode" and the RTL V3 takes over. The NRSC5 library is used to process the digital signal. In this mode, users will notice the change in audio quality and the available subcarrier streams (HD1, HD2, HD3, etc.) become visible and selectable.
How Users Can Set It Up: To replicate this, a user would need:
- A working FM DX Webserver with a TEF6686.
- An RTL-SDR V3 plugged into the same host.
- The NRSC5 library installed.
- The plugin from the GitHub link above installed and configured in the webserver directory.
Ivan also notes that currently his Miami NO2CW receiver is the only one on the network supporting HD Radio.
