Music Visualizer for Squeezelite
This package provides a number of visualizations for squeezelite (~20 different ones, some with multiple modes and/or presets (e.g. projectM includes ~280 presets)). It's based on libvisual and projectM).
- download the binary package
- untar to / (
tar -C / -xzf sqlvis-bin-x.y.z.tar.gz), which will create
- install the prerequisites (see below)
/opt/libvisual-0.5/etc/se-mac.confand adjust the MAC adress to the one squeezelite is bound to (check in the LMS web interface, or start squeezelite with
-v -d all=info)
squeezelite must run on the same computer with visualization enabled (the -v flag).
This package includes a program called lv-tool to display the visualizations:
/opt/libvisual-0.5/bin/lv-tool -hto see all option
/opt/libvisual-0.5/bin/lv-tool --plugin-helpto see which visualizations are available.
/opt/libvisual-0.5/bin/lv-tool -i squeezelite -a projectM -D 1200x800
Hint: You can cycle through the different visualizers using the mouse buttons / wheel. ESC exits.
The following packages have to be installed:
- libSDL 1.2
- Open GL (Mesa)
- liborc (Oil Runtime Compiler)
- libpng 1.6
- projectM (optional but recommended; should be installed in
/usr), which will in turn depend on:
As these are fairly common packages, they should be available from your distribution's package management.
If you want to run this on another platform than 64bit x86 Linux, you'll have to build it yourself. Most likely, only *nix based OSes (Linux, BSD) will work. Windows certainly will not.
If you know cmake, building is fairly straightforward:
- make sure you have all libraries, headers and build tools available
- build and install the libvisual package into
- for the next step,
pkg configneeds to be configured to include the installed libvisual (adjust path if necessary):
- build and install the libvisual-plugins package into
This is an quick hack based on an unreleased version of an unstable library. That being said, it has run flawlessly on my setup for hours without crashing.
Credits / technical background
Basically, this is the current master branch of libvisual on github (pre 0.5, which hasn't been released). I wrote an input plugin for squeezeelite, and ported the projectM plugin to this version.
Use the discussion thread in the LMS Forum.