/lv2plugins

Some LV2 Audio plugins

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Build Status

A collection of audio plugins using the LV2 (aka LADSPA version 2) standard.

Status

This is a work in progress, I'm still figuring out how to code user interfaces

How to build :

  • The following dependencies should be installed : sudo apt install g++ make cmake lv2-dev qt5-default
mkdir build
cd build 
cmake .. -G"UNIX Makefiles"
cmake --build .
cmake --install .
  • git submodules must be updated in your working copy : git pull --recurse-submodules (needed for Catch2 tests)

The compiled plugins will be copied into your ~/.lv2/ folder, ready to be tested.

Running unit tests

From the build directory run ctest or ./unittests

Smoke tests on .wav files

It is possible to apply some of the plugins on audio files using the lv2file utility (sudo apt-get install lilv-utils lv2file)

lv2file -m -i ../examples/my_song.wav -o out.wav https://github.com/jrialland/lv2plugins/autopitch && aplay out.wav

Test with carla

Carla is a lv2-enabled audio plugins host for linux, that relies on jack.

In order to test one of the plugins with carla :

1/ Start jackd, i.e by running qjackctl and clicking the 'Start' button

qjackctl &

qjackctl main screen

2/ run carla, and setup the plugins :

carla screenshot

The screenshot shows the 'AutoPitch' plugin wired from the mic input and into the speakers. In this configuration the plugin is applied 'live' on my voice, leading to a lot of fun.

Plugins

  • Autopitch : slightly changes the pitch of voices, so you can sound like Cher
  • ThreeDee : OpenAL-enabled 3D audio, allow to simulate the "position" of an audio input relative to the listener's space