Recording multiple FM radio stations (works for AM, too)

As it seems, we in media monitoring want to record everything.  Good part of everything is still in FM radio spectrum (or AM in some flat-land countries).  An usually, there are plenty of stations on the air that we have to record, at least a dozen at a given location…

Ancient history

Many many years ago, when I was working in FirePlay (great radio automation company and software) we had a task to produce a recorder that would record ONE channel of radio program 24/7.  At that time, encoding MP3 in real-time was some kind of science, and wasn’t available but on most advanced systems that were available (I won’t try to be exact here, but it was something on the lines of Pentium 133Mhz).

So we build FireSave, first version, that was able to handle 1 channel and record it to hard drive, encoded in mp3 format.  We even tried to use some obscure GSM codecs to save space even more…

Ancient history, but without dinosaurs

Setup above required live external tuner to be connected to the Sound Blaster (yeah, really).  We had some multi-channel cards but they were expensive, and using them to record a confidence and/or compliance recording would be waste of money.

Our need was expanded from one channel to several, say 4.  Since we had some expertise running multiple channels, we quickly added more external tuners, replaced Sound Blaster with some multi-channel monster (it was Wave4, then Gina24, then other stuff from EchoAudio, such as Layla 3G) and finally upgraded the software so it could handle multiple channels.

It worked, with 4 external tuners attached to one PC, sometimes more, it looked like an octopus.

Present days (year 2009)

OK, but what if you need and want to record 150 radio station that typical country like Croatia has?  You’ll be able to get some audio cards that will have up to 16 audio inputs (even mono sound will be OK), but to have that kind of external tuners, that is and could provide some kind of a problem.  And yet still, they can’t all be heard in one place, so you’ll have to have multiple recording sites in order to capture everything you need.

Or not?

The simple fact is that every good radio station will have its internet stream so it will be heard on the internet.  And there is a way to capture that stream of the internet and save it to hard drive as you would record it.  There are multiple tools on the internet that would allow you to capture internet audio streams, and you just have to choose one of them, and you’ll be able to record any radio that has its stream.  Before we created StreamSink, I was extensively using StationRipper for my own purposes, and that was the inspiration that was needed to create very similar tool.  It is similar in the respect that it records internet audio (and video) streams, but one thing is very different: all ‘rippers’ including StationRipper are designed to try to cut audio stream at song boundaries, creating a library of songs for the user.  On the other side, our task was to create system to record internet streams in multiple formats in the archive format usable by VideoPhill Player.

It isn’t anything special – just a bunch of files named in some fashion and cut at every five minutes, with special care not to lose single byte of a stream while cutting it.

So with that system, recording 100 radio stations on a single computer is as simple as having an good internet connection present.  Of course, every stream will be recorded as reliably as the server and the internet permits, and there is nothing you can do about it.  When using that method, you must allow yourself to lose some of the archive sometimes, for the unforeseen facts.  Again – better radio stations (the stations that you will need 100% of the archive) will have better sources, better distribution servers, and thus your archive will be better covered.

Expected Archive Coverage

But what to do when there are NO streams?

Lately (Summer 2011), there was a client that needed to record multiple radio stations as well.  However, after initial investigation we concluded that radio stations that needed recording were either badly presented on the internet or not presented at all.  So instead of capturing streams, we were aiming to capture radio signal from the FM directly.  All we had was the antenna that was dipped in the airwaves that contained our radio stations (8 of them).

Strategy was as follows: I have a tool that can capture streams in the format that my application (the Player) needs, but we haven’t the streams.  Let’s create them.

Shoutcast internet radio is on the market for decades.  And it has both free and tremendous support, and their software for creating and distributing internet radio streams are as robust as they can be, since they are field tested in possibly millions of usage scenarios.

As I knew how to encode the stream, how to distribute it (locally) for the StreamSink, I just needed to capture FM signal somehow.  Using 8 external tuners would be funny for the client, and I’ll probably lose them, so I did a little digging and found a beauty in form of a PCI card:

Professional PCI tuner adapter

This little monster (AudioScience ASI8921) is able to capture 8 FM radio channels and give them to the rest of the system in the form of the DirectShow or waveIn API, just what we needed.  Only thing left to do is to connect the antenna to the card and configure shoutcast encoder/server as needed, turn on the StreamSink, and we are recording!

Tags: , , ,

16 Responses to “Recording multiple FM radio stations (works for AM, too)”

  1. Emere Henry says:

    Top of the Day to you,

    Is there any way i can record radio and tv without using an external tuner or internet recorder? if yes kindly send me the pictures of the sample that is available. i mean more than 7 station at a time.

    Hope to hear from you soon.

    Thanks.

  2. mosmondor says:

    Dear Henry,

    you have to have some way of ingesting the signal into the PC. It’s either antenna, cable, internet, or whatever alike. You can’t watch TV without TV set, can you?

  3. Mário Fonseca says:

    Greatings to all !

    As i understand AudioScience ASI8921 is able to record 8 FM channels simultaneously and offline?

  4. mosmondor says:

    Yes, and we use it extensively wherever we can for radio recordings. To date, we didn’t find anything better for this.

  5. Seun says:

    Greetings,
    Can this card record simultaneously on the 8 channels and when the system restart will the card continue to records without resetting or configuring the stations again. Also, cn the card ecords without any 3rd party software?

  6. mosmondor says:

    Card will only provide a capture interface for 8 radio channels, it’s up to you to have a software that will record it 24/7. If you are interested in a solution for recording FM radio stations we can continue on e-mail.

  7. Seun says:

    Please I’m interested. Can we continue on e-mail

  8. Igor says:

    Hello,

    I’m interested in your solution for FM radio recording using AudioScience tuner cards. Can you please contact me via email?

    Thanks,
    Igor

  9. Ashien Shrestha says:

    Hi there!
    I want to record multiple FM stations at a time which don’t have online streaming facility and I think it’s possible via Audioscience. Please confirm whether I can record 8 radio stations at a time or not? If so I’m interested to buy it. How much it cost?

  10. Ashien Shrestha says:

    Hi there!
    I want to record multiple FM stations at a time which don’t have online streaming facility and I think it’s possible via Audioscience. Please confirm whether I can record 8 radio stations at a time or not? If so I’m interested to buy it. How much it cost?

    Regards
    Ashien

  11. GjB says:

    If i need more than 8 channels can i install two pci cards?
    will they work?

    Thanks
    GjB

  12. mosmondor says:

    According to our tests, yes they will. So far, we tested maximum of 2 such cards in one server, and everything works fine.

  13. victor Obiora says:

    Am interested in your solution for recording 8 eight terrestrial FM radio stations.
    Please contact me for details on how what I expected of me.
    Thanks!

  14. Victor Obiora says:

    I want to record multiple FM stations at a time which don’t have online streaming facility

    You sound like it is possible using Audioscience. Please confirm whether I can record 8 radio stations at a time or not? If so I’m interested to buy it. How much it cost?

  15. Birodh Rijal says:

    Hello
    I need to implement this kind of solution asap.
    Can we have discussion in email?
    Please let me know in email.
    Thanks!

  16. Birodh Rijal says:

    As from your post, I understand that i need separate 8 Fm antennas to fed to the card (AudioScience ASI8921) . If i do not need the internet stream then i can store the audio files in PC. So that by using playback software i can play the stored files?
    Am i right?

Leave a Reply