Liquidsoap is a powerful tool for building complex audio streaming systems, typically targetting Internet radio stations. It consists of a simple script language, which has a first-class notion of source (basically a stream) and provides elementary source constructors and source compositions from which you can build the streamer you want.