An LV2 sampler plugin that (currently) plays hydrogen drum kits
Go to file
2012-02-13 16:33:51 +01:00
.gitignore Change bundle to just drmr.lv2 2012-02-13 11:28:56 +01:00
COPYING Add license info (GPL3) 2012-02-07 12:52:59 +01:00
drmr_hydrogen.c Free up scanned kit memory on cleanup. Fixes a memory leak 2012-02-13 16:20:29 +01:00
drmr_hydrogen.h Lots of fixes (multi-layer, ui): 2012-02-13 16:11:30 +01:00
drmr_ui.c Free up scanned kit memory on cleanup. Fixes a memory leak 2012-02-13 16:20:29 +01:00
drmr.c Play layer 0 when no appropriate layer could be found 2012-02-13 16:33:51 +01:00
drmr.h Lots of fixes (multi-layer, ui): 2012-02-13 16:11:30 +01:00
drmr.ttl Add gtk ui and make pan controls work 2012-02-13 11:24:26 +01:00
Makefile Make parser layer aware 2012-02-13 12:57:32 +01:00
manifest.ttl initial commit, working basics. 2012-02-06 22:54:18 +01:00
README Add README 2012-02-07 12:43:14 +01:00
README.md Fix a couple typos 2012-02-07 13:07:48 +01:00

DrMr

DrMr is an LV2 sampler plugin. It's main reason to exist is to give a way for lv2 hosts to have a built in drum synth that can save its entire state (i.e. no need to go out to external tools and no need to save extra state). It currently supports the following:

  • Control via midi
  • Scan for and load hydrogen drum kits
  • Kit is set via an LV2 control (see note 1 below)
  • LV2 controls for gain on first 16 samples of kit (see note 2 below)

Hopefully coming soon:

  • GTK ui for kit info / loading other kits / sample tweaking
  • Creating / Saving custom kits on a per sample basis using the GTK UI
  • ASDR envelope on samples

Download

Only via git for now, just check out this repo

Compilation and Install

You'll need the following libraries to build and install DrMr:

The Makefile has the INSTALL_DIR and CC flags hard coded to /usr/local/lib/lv2 and gcc at the moment. Edit those if you want to change that.

DrMr scans the following directories for hydrogen drum kits:

  • /usr/share/hydrogen/data/drumkits/
  • /usr/local/share/hydrogen/data/drumkits/
  • ~/.hydrogen/data/drumkits/

If you want to add others, add them to the default_drumkit_locations array at the top of drmr_hydrogen.c

Note 1

As stated above, a goal of DrMr is to have the host save all the state for you. As such, the current kit needs to be a control. Unfortunately, string controls in LV2 are experimental at the moment, and not supported by many hosts (in particular ardour doesn't support them). This means the kit needs to be set via a numeric control. DrMr specifies an integer index as a control to select which kit to load. A kits index is the order in which is was found. This means changing, adding, or removing hydrogen kits could mess up your saved index. Sorry.

To figure out which kit is being loaded, have a look at the output of your host, DrMr will print out info about the kit it is loading. In the future, current kit information will be available in the GTK ui.

Note 2

DrMr is currently using a static ttl file. This means I have to decide statically how many gain controls to expose. I've settled on 16 for the moment, but that is arbitrary. At some point DrMr will probably move to using the LV2 Dynamic Manifest feature to expose the appropriate number of gain controls for the current sample set