Liquidsoap: Difference between revisions

From XPUB & Lens-Based wiki
Line 51: Line 51:
liquidsoap 'out(playlist("playlist.pls"))'
liquidsoap 'out(playlist("playlist.pls"))'
</source>
</source>
with playlist.pls:
<source lang="text">
brown.ogg
</text>
Doesn't seem to work with a WAV file

Revision as of 16:36, 11 May 2020

Website http://liquidsoap.info/
License GPL
OS GNU/Linux, OS X, Windows
Media Streaming media
Format OGG, MP3
Interface Custom programming language
Wikipedia http://en.wikipedia.org/wiki/Draft:Liquidsoap
Thumbnail
Liquidsoap-logo.png


Sound processing

liquidsoap can be used to process / filter sound either in a streaming pipeline, or used "offline" to directly produce an audio output (file).

See https://www.liquidsoap.info/doc-1.4.2/reference.html#source-sound-processing


Links / Projects / Radio streams that use liquidsoap

  • Data Radio. Here a script created a day and night playlist, with a "fallback" to allow a live stream to interrupt.

playlist

playlist source

mode (of type string, which defaults to "randomize"): Play the files in the playlist either in the order (“normal” mode), or shuffle the playlist each time it is loaded, and play it in this order for a whole round (“randomize” mode), or pick a random file in the playlist each time (“random” mode).

say_metadata

say_metadata filter

outputs

Basic outputs of interest:

examples

liquidsoap 'out(noise())'
liquidsoap 'out(playlist("playlist.pls"))'

with playlist.pls: <source lang="text"> brown.ogg </text>

Doesn't seem to work with a WAV file