I record audio streams from internet radio stations.

The recordings are usually about an hour long ( mpeg or flac format ) and each recording contains several songs / pieces of music.

Is there software that could take the recordings as input, discern / detect the individual song boundaries ( as a best effort of course ) and output the songs / pieces contained in each input file as individual audio files?

  • What OS should it run on? Any budget if it comes to paid software? Do you just need the separation/cutting, or some other features as well? GUI needed, or is command-line OK?
    – Izzy
    Nov 28, 2016 at 15:26

1 Answer 1


Problem Statment

The basic problem is finding the actual tracks in the audio stream. You could search the audio for things that qualify as music but you will capture advert jingles, station tags, etc. and miss any vocal only tracks.

So you really need some metadata to tell you when the music is playing - luckily some stations provide this from their internet casting systems.

When Capturing New Recordings

If you are capturing new recordings then there is software to help you when you are dealing with a compatible station.

Compatible stations

Basically it depends which radio station*(s)* you are listening to, or recording, and which technology they are using. If they are using a SHOUTcast or Icecast formats, see a list of stations for SHOUTcase or Icecast, then the stream includes metadata to inform the receiving equipment which track is playing and some software can use that information to split the stream accurately so as to exclude presenters conversations and adverts, etc.


StreamRipper is a free, gratis & Open Source command line tool that will stream compatible sources splitting the tracks based on the metadata. It is available for MS-Windows & Linux, there is also StreamRipperX of OS-X.

For a Java GUI for StreamRipper see StreamRipStar. enter image description here


Unfortunately once you have recorded the broadcast with other software the metadata is most likely lost so you would be reduced to manually listening to identify the tracks and cutting out those sections using something like Audacity also free, gratis, open source & cross platform so you would probably be better off installing the above and capturing some fresh material.

My C.Y.A. Moment

Before downloading or using any of the above software please check your local legislation & the stations T&Cs regarding the use of such software, copyright, DRM, royalty payments, etc., etc., ad nauseam against your planned usage.

  • 1
    THANK YOU! I got more than I was initially hoping for. Worked 'streamripper' into a bash script which does the ripping and recording based on the urls provided in a *.pls file.
    – darbehdar
    Nov 28, 2016 at 20:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.