Skip to content

01 - Introduction: What is LV2?🔗

See video: https://www.youtube.com/watch?v=AdB2pLCFQY4

LV2 is a free and open source audio plugin standard. LV2 is available on Linux, Mac, Windows, and on other systems. There are more than 1000 LV2 plugins available by now. And the number is growing.

LV2 is exensible and stores its meta-data (like plugin name, plugin type, and ports used) in separate files. This allows to get plugin informations without loading and executing the plugin.

To create LV2 plugins, you need:

  • a C/C++ compiler (gcc, Clang or MSVC),
  • an editor (Atom, Eclipse, VS Code, KDevelop, or ...),
  • and some developer libraries:
    • C/C++ libraries
    • LV2
    • sndfile
    • X11 (or ...)
    • Cairo
    • pkg-config

On Debian linux-based systems you can get them by calling from the terminal:

sudo apt-get install build-essential
sudo apt-get install pkg-config lv2-dev libsndfile1-dev libx11-dev libcairo2-dev

And on Arch linux-based systems you can get them by calling from the terminal:

sudo pacman -S base-devel
sudo pacman -S pkg-config lv2 libsndfile libX11-dev cairo

Recommended optional tools:

  • Jalv (minimal LV2 host)
  • lv2lint (validation)
  • gdb (debugger)
  • valgrind (memory debugging / leak detection)