This is an old revision of the document!
This guide will show you how to unpack, compile and install the lv2 version of the drumgizmo plugin. It will also show how to make it usable for the LV2 host Ardour3.
The dependencies needed are:
On a Debian based system (this includes Ubuntu) the following command should work:
sudo apt-get install \ build-essential \ lv2-dev \ xorg-dev \ libsndfile1-dev \ libzita-resampler-dev \ libexpat-devel
First download the latest source tar-ball from this location. In this example version 0.9.10 will be used.
Unpack the source file by issuing the followng command:
tar xvzf drumgizmo-0.9.10.tar.gz
This will produce a folder with the name drumgizmo-0.9.10
.
Now do the following to configure and compile the plugin:
cd drumgizmo-0.9.10 ./configure --prefix=$PWD/install --enable-lv2 --disable-cli make make install
First clone the git sources as described this location.
This will produce a folder with the name drumgizmo
. Enter the folder with:
cd drumgizmo
Now install the cppunit-devel package (needed for ./autogen.sh to run). How you install this varies from distro to distro. On Ubuntu, it installs using:
sudo apt-get install libcppunit-dev
Now do the following to configure and compile the plugin:
./autogen.sh # Note this step is only necessary when compiling from git sources. ./configure --prefix=$PWD/install --enable-lv2 --disable-cli make make install
The configure step might fail if the lv2-devel package is not present with at least version 1.0. It also requires libsndfile-devel in at least version 1.0.21 and libexpat-devel.
When the make install
step has been successfully performed the source directory will contain a folder named install
.
In this folder the install/lib/lv2/drumgizmo.lv2 is located. This folder contain all the files needed for the plugin to run.
In order to make it work with Ardour3, either copy this directory to the lv2 plugin dir (usually /usr/lib/lv2) or add the following line to the top of the .bashrc file in your home directory:
export LV2_PATH=XXXXX/drumgizmo-0.9.10/install/lib/lv2/drumgizmo.lv2
, where XXXXX is the path to the location where you extracted the drumgizmo sourcecode.
NOTE: This will not be activated before you log out and back in again.
Now fire up Ardour and everything should be dandy.
Add a midi track to Ardour 3 (Ardour 2 doesn't support midi) and add the DrumGizmo plugin to this track. Open the GUI and select the drumkit and midimap to use. The drumkit is loaded in the background so it might take a while before it is fully ready to use.
Add 16 mono audio tracks or mono audio busses and connect the 16 output from the midi channel to each of these.
Important: The midi track has a 16 channel panner that is useless in the DrumGizmo context. Disable it by right clicking it in the channel strip and select “Bypass”. If you fail to do this DrumGizmo will seemingly only output to channel 5.
Add some midi notes to the DrumGizmo tracks and play away.
It is also possible to play the drums using the piano roll of the midi track. This is in particular useful for figuring out which drums are mapped to which notes.