Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Linux radio standard?

We're about to embark upon implementing a device running Linux that (among other things) will be attached to a software defined FM/AM radio that can also receive RDS data describing playlists and other such stuff. It's a relatively stupid device that mostly contains a DSP or two that act as tuners and otherwise does very little processing of the signal.

I was thinking that kernel drivers for the device and then a userland hardware abstraction layer that provided a standardized interface and abstracted away the details of exactly when the RDS data was received and dealt with error handling and all the other messy stuff. Is there already a userland layer like this? It would be nice to either avoid making it at all, or make our stuff plug-compatible with something that already exists so we could use other projects for the radio UI if we wanted.

like image 857
Omnifarious Avatar asked Feb 16 '13 00:02

Omnifarious


People also ask

Do you listen to radio on Linux?

One style that never seems to go out of fashion, though, is the radio. There are millions of people subscribed to radio channels just like on music playlists and podcasts. Because we are your friends and we want you to enjoying your radio experience, here are the 10 best apps for streaming radio on Linux.

What is the best radio streaming software for Linux?

Great Little Radio Player is an excellent radio streaming software for all types of Linux distributions. It can be automatically associated with Radio Streaming websites and connected to the local area’s radio station. With this, you can connect with more than 500 radio stations around the world. Here you will find several ready-made themes.

What is the Best ham radio Linux distro?

The Best Ham Radio Linux Distro Ubuntu is the most popular choice as the best Ham Radio Linux Distro. Mint and Fedora are popular options amongst the community because of their functionality and rich Amateur radio software packages. And there’s Andy’s Ham Radio Linux Distro, which comes pre-installed with many Ham Radio packages.

What is Radio3 tray Linux?

3. Radio Tray Radio Tray runs in your Linux system tray to provide an easy way to stream radio channels online. It was built specifically to provide a minimalist interface for streaming online radio since there are already many music players to choose from.


Video Answer


1 Answers

Radio support in linux

It sounds like you are creating a new hardware radio device? You'll probably need to build a driver for this device. Some help getting started can be found here, here, and here. If your device is not new, it may already have a driver in the Video4Linux2 project.

It looks like there are some RDS related projects based on the saa6588 kernel module currently.

According to this page, these cards are currently have a SAA6588 chipset:

  • Terratec Cinergy 600
  • KNC ONE TV-Station RDS
  • KNC One TV-Station DVR
  • TYPHOON TV TUNER CARD RDS
  • Sundtek MediaTV Pro (supported by the manufacturer)
  • Sundtek USB FM Radio (FM Transmitter/Receiver, supported by the manufacturer)

RDS specific information

I'd recommend to check out some of the projects related to Video4Linux2 (v4l2), there is an RDS decoding library. This library runs in userspace, so the RDS decoding work can be done there for you:

According to V4L2 specifications, raw data from RDS decoders is read from the radio device. Data consists of blocks where each block is 3 bytes long. All decoding has to be done in user space.

RDS API

Here is a complete API reference for Video4Linux2. Here is an article series to get acquainted with it.

The particular section for the RDS API is here. This page provides information about how to get an update about whether RDS data is available:

Whether an RDS signal is present can be detected by looking at the rxsubchans field of struct v4l2_tuner: the V4L2_TUNER_SUB_RDS will be set if RDS data was detected.

SDR RDS decoder DSP in Gnu Radio Companion

Although it's not an official API I found one last small project that might be worth looking into:

  • RDS reception using SDR

Here are some more radio related projects worth looking into.

like image 56
TrinitronX Avatar answered Nov 15 '22 15:11

TrinitronX