Support for RDS Radio Data System?

2004-05-22
2013-05-14
  • Frieder Ferlemann

    Hi,
    is support for RDS planned? Could it be done?
    RDS would be handy to automatically retrieve station presets.

    http://encyclopedia.thefreedictionary.com/Radio%20Data%20System

    Frieder

     
    • Ernst Martin Witte

      Hi!

      I agree, RDS would be a nice feature. Unfortunately I don't have any hardeware supporting RDS, thus programming & testing will be quite difficult. Anyhow, it's added to the TODO list. Best thing would be, if a developer joins us who has a radio card that supports RDS ;-)

      Best regards,
         Martin

       
    • Ernst Martin Witte

      Just FYI: RDS support is now inside KRadio. Unfortunately not yet well tested since I do not have a RDS enabled radio card.

      BR, Martin

       
  • Remi Chateauneu

    Remi Chateauneu - 2013-01-31

    It might even be possible to generate preset .krp files using RDS data.

     
  • Ernst Martin Witte

    Hi!

    Though I'm not really able to verify "it" (don't have a RDS-enabled radio card, just my RDS emulation code for a simplistic testing/debugging), this feature has been integrated into the radio station scan at the time the RDS feature was added:

    =============================
       from: src/standardscandialog.cpp
    =============================

    //
    void StandardScanDialog::addCurrentStation()
    {
    //
        RadioStation *st = queryCurrentStation().copy();
        if (!st->name().length()) {
            const QString &rds_name = queryRDSStationName();
            if (rds_name.length()) {
                st->setName(rds_name);
            }
            else {
                st->setName(i18n("new station ") + s);
            }
    //

    I hoped so far, this code is working… so … is your experience different?
    The effect should be that the RDS station names are added automatically during the station scan in the list of new stations. The station scan should wait up to two seconds for the RDS station name. Would be curious if this is working properly. If not, would you mind to try to increase the timeout? Unfortuntately, it's currently hard coded in the kradio source code and not configurable via kradio4rc file or GUI:

    //
        m_Wait4RDSTimeout.setInterval(2000); // wait at max 2 sec on RDS signal
    //

    Would be nice to know from pratical use which value should be entered here;-)

    Best regards and thanks,
       Martin

     
  • Remi Chateauneu

    Remi Chateauneu - 2013-03-10

    What happens of the radio receiver is moving and roams from one emitter to the other ? Does it store several stations with the same name but with different frequencies, in the same KRP file ?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks