Do you ever wish you could apply audio effects like compression, echo, or delay
to your liquidsoap stream? Liquidsoap provides several built-in effects as well
as an endless range of effects via linux’s plugin audio system LADSPA.
You need to install some packages on your system first. The liquidsoap plugin
package is required:
If you are compiling liquidsoap from
source, you need to uncomment the
line ocaml-ladspa in your PACKAGES file.
Once you have that installed, you can use this command to see what ladspa
plugins are available.
At first, you may not have any. Liqudsoap uses all the ladspa plugins it finds
on your system. You can install more through additional packages. I recommend
these ones to get started.
Run liquidsoap --list-plugins | grep -i ladspa again and you should see many
plugins listed.
You can get individual documentation for one plugin by using liquidsoap -h
name-of-plugin.
You are probably pretty overwhelmed right now, like most liquidsoap
documentation this looks pretty confusing. But its really just telling you what
parameters this plugin accepts. Using it is quite simple, you just set the
parameters to what you want and it just returns a new source.
The above will give you some pretty loud compression.
I admit this is not the niceest way to tweak effects. It would be really nice if
it could just be controlled by knobs or something. Perhaps the parameters could
be controlled by telnet commands, but I’m not sure how well that would work.
They are not documented well, but liquidsoap comes with quite a few built in
effects as well. At least the parameters of these effects are documented.
Right now I am using sky(a multiband compressor), compress(a normal
compressor), normalize(a volume normalizer),
and limit(a limiter) together. This provides a nice loudness boost to my
station.
I’d like to thank JamesHarrison for sharing
his conduit repository, where he has
a few good examples of using liquidsoap effects.
Are there any other liquidsoap effects you are interested in using? I honestly
can’t imagine using much more than just compression,limiting, etc, for a normal
radio station. But maybe there are some more interesting liquidsoap setups out there?
Let me know.
Modern Online Radio with Liquidsoap Book - Free Sample
Need more help with liquidsoap?
Can’t get your script to work?
I wrote a book to help you learn Liquidsoap. The book covers all aspects of liquidsoap, from getting started, to making dynamic streams, audio processing, video, customizing metadata, authentication, and more. The book is available for purchase now here!
You can get a free sample chapter of my book! Just enter your email address to subscribe to my mailing list and I'll send you a free PDF sample of the book in return.