I agree to the use of cookies in accordance with the Sourcefabric Privacy Policy.

Support our media development efforts

Please note: due to the quarantine measures required by the coronavirus outbreak, we are unable to answer the phone in our Prague office. Please send an email to contact@sourcefabric.org and someone will get back to you as soon as possible.

Who, what, when, where and why

Get the latest news about Sourcefabric software, solutions and ideas.


How Silan and ReplayGain made Airtime broadcasts sound better

Broadcasting the news reports on the internet is easy with Airtime's silence detection I Photo Sourcefabric (CC BY-NC-SA 2.0)
Broadcasting the news reports on the internet is easy with Airtime's silence detection I Photo Sourcefabric (CC BY-NC-SA 2.0)

After a short break we are back with our Airtime blog posts from the archives. Last time we showed you how to get the most out of Airtime smart blocksWe want to change the way radio stations work, so here's your guide to getting the most out of the new Airtime!

Naturally, we want our broadcasts and web streams to sound as polished as possible. We also want to avoid wasting contributor time on routine production tasks that could otherwise be spent creating great content. There are two features in Airtime which will bring us closer to that goal - automatic silence detection and adjustable ReplayGain correction.

Silence detection

A frequently requested feature, silence detection in Airtime uses the new program Silan, written by Robin Gareus, to analyse an audio file when it is imported into the Airtime library. Any new file imported by Airtime's media monitor is checked for leading and trailing silence, as well as average level. Non-destructive cue in and cue out points and an amplitude correction factor are saved in Airtime's database automatically. When you create a smart block, a playlist, or drop the file into a running show, those cue in and cue out points and correction factor will be used in the show playout. The original length of the file is displayed for your reference, so you can see how much silence has been trimmed. Airtime uses many digits of precision to avoid cumulative timing problems, but the display of time is rounded to tenths of a second for practical purposes. The amplitude correction for each file can be viewed by enabling the ReplayGain column in the Airtime library. In ' Library' , click on 'Show/Hide columns' button and click the ReplayGain field.

Should you wish to adjust cue points manually, you can still do that in Airtime, but the tedious task of trimming and levelling each and every file in the Airtime library is no longer necessary, removing an entire step from the workflow. Perhaps you are broadcasting a news report that has been uploaded in a hurry, and the journalist has left a few seconds of silence at the end of the edit - this can be easily fixed. Or perhaps you are streaming a music track ripped from a CD where the mastering engineer has left silence at the beginning of the piece for dramatic effect. Files from different producers no longer have to be manually adjusted to match average levels.


The ReplayGain standard (originally proposed by David Robinson) was already implemented in Airtime, but with a fixed output level of -14dBFS average. For broadcast purposes, we might need to match average level with louder or quieter live streams from other systems. With this requirement in mind, a ReplayGain Modifier control has been added to the Stream Settings page. You'll find it by going to 'System' and heading to 'Streams'. It's available at the top left part of the page. This slider enables output to be adjusted up to 10dB either way from ReplayGain's reference level. Of course, going too loud is likely to result in clipping, given that an average level of -4dBFS is louder than a typical death metal album - but automated output level is now under the broadcaster's control.

Arguably, given the relative cost and limited reach of mobile data services, streaming media is less likely to be listened to in noisy environments like a car, or on the street. Therefore it may not be necessary to compress and limit Internet streams as much as FM broadcasts have been processed in the past. The demand for upmarket headphones that Dr. Dre has introduced to the wider world might engender a new appreciation of dynamic range.

Thanks to the combination of Silan and ReplayGain, Airtime playout sounds tighter, levels are balanced with plenty of headroom, and the risk of dead air is greatly reduced. We'd like to say a big thank-you to both Robin and David for their contribution to web-enabled and collaborative open source broadcasting!

Want to start broadcasting live right now? A managed hosting account can save you time and effort. You could be on the air today with Airtime Pro.