Skip to content
프로젝트

소개

Drum kits for Drumlabooh and Drumrox LV2 drum machines

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Drumlabooh kits

Free drum kits for Drumlabooh (LV2/VST3) and Drumrox (LV2) drum machines. Both plugins support a simple text-based kit format, and Drumlabooh also supports more complex XML-based kits. Currently, the text-file-based format is deprecated; while old drum kits built on it are still available in the repository, all new drum kits are released in the XML format.

These kits are usually installed via the Drumlabooh installer, AUR package, or by building from source with CMake and Make.

But if you downloaded just the plugin binaries, you need to install drum kits manually. Each kit is a directory with subdirectories, samples, a kit picture, and a text or XML kit definition file. On the Release page you can download all kits as a single ZIP archive. Choose the latest release there. Or download the current snapshot of the repository.

Then, unpack kits. You will have the folder drum_sklad-VERSION with subdirectories (drum kits). Copy them (not the top-level drum_sklad-VERSION) to one of the following directories:

$HOME/drum_sklad
$HOME/drumlabooh-kits
$HOME/drumrox-kits
/usr/share/drumlabooh-kits
/usr/share/drumrox-kits

More kits (possibly not Public Domain) you can find here - Drumlabooh kits at Telegram

Drumkit formats specification 2.0

Drumlabooh has two native formats: a text-based one (a quick and simple way to create a kit) and an XML-based one (for more complex kits).

Text-based drumkit format (legacy)

The text-based Drumlabooh kit format is very simple. A drum kit is a directory containing samples (WAV, AIFF, OGG, FLAC, MP3), an optional image, and a text file. The optional file is image.png or image.jpg, which holds an image of the drum kit. The mandatory file is drumkit.txt with lines such as instrument name=filename.wav. For example:

kick=kick.wav
snare=snare.wav
hihat close=hhc.wav

For multi-layered samples, simply separate the file names with a comma, using the order from the "quiet" sample to the "loudest" one (multi-layered samples are a set of samples that differ in timbre, not just in volume):

kick=kick01.wav,kick02.wav,kick03.wav,kick04.wav
snare=snare01.wav,snare02.wav,snare03.wav
hihat open=hihat01.wav,hihat02.wav

Sample files can be organized into subdirectories. For example, we put samples into the Kick and Snare directories.:

kick=Kick/kick01.wav,kick02.wav,
snare=Snare/share01.wav,share02.wav

To simplify kit creation, you can generate the file list using the following console command:

ls > snares.txt

Then use it as follows:

kick=Kick/kick01.wav,Kick/kick02.wav
snare=Snare/snares.txt

Drumlabooh supports kits with Round Robin and Random Order layer modes, which must be set at the sample definition level in the drumkit file.
Round Robin means that layers play one by one with each note hit, then start again from the first layer once the list ends. Random Order means that a layer is chosen randomly with each note hit.

To define a Round Robin instrument, use the greater-than sign (>) at the beginning of the sample name:

>kick=kick01.wav,kick02.wav,kick03.wav

To define a Random Order instrument, use the asterisk (*) at the beginning of the sample name:

*kick=kick01.wav,kick02.wav,kick03.wav

There is another multi-layer sampling mode. For example:

^kick=kick01.wav,kick02.wav,kick03.wav

This means that samples are handled as a normal multi-sample set (from quiet to loud), but the MIDI velocity value does not affect the output volume. Instead, MIDI velocity is used only to select which layer to play. This mode is outdated.

A drum kit can have a built-in MIDI map, which is used when Drumlabooh's MIDI map mode is set to "Kit". To assign, for example, MIDI note 36 to an instrument:

[36]kick=kick01.wav,kick02.wav,kick03.wav

XML-based drumkit format

Complex drum kits are better developed using XML. Moreover, some Drumlabooh features can only be defined in XML-based kits. A drum kit can include both definition files - text-based and XML-based. In such case, the XML-based file takes priority and will be loaded.

The XML-based kit definition file is named drumkit.labooh.

A typical such file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<root>    
    
<sample name="Kick" note="36">
kick.txt
</sample>

<sample name="Snare 1" note="38">
snare.txt
</sample>

<sample name="Snare 2" note="40">
snare01.wav, snare02.syn
</sample>

<sample name="Hihat Close" note="42">
HihatClose01.wav,HihatClose02.wav
</sample>

<sample name="Tom" note="45">
toms-directory
</sample>

<sample name="Hihat Open" note="46">
open-hihat.txt
</sample>

<sample name="Compure Snare" layer_index_mode="alt" show_instrument_name_for_alts="on">
computer-snare.synpak
</sample>


</root>

Each sample instrument is defined by a <sample> element containing parameters and file names.

As you can see, we can use direct file names (e.g., WAV samples or synth files or even preset pacs) or files containing lists of file names (e.g., somelist.txt) or even just a directory name. In the latter case, just place samples in the directory specified by the directory name. Files will be sorted alphabetically by names, and Drumlabooh supposed that you arrange them from the "quiet" sample to the "loudest" (kick001.wav is quiet, kick100.wav is the louder, for example).

Each sample instrument element (<sample>) can have the following parameters:

name - this name will appear on the slot label.

note - The MIDI note to map to this instrument. Used when the MIDI map mode option (in the GUI) is set to Kit.

mute_group – the number of the mute group. A sample with a mute_group number mutes all other samples with the same mute_group number. Otherwise, by default, Drumlabooh uses automatic muting for hi-hats.

layer_index_mode – defines the layer selection mode (Round Robin, random, etc.). Possible values:

  • rnd (random order)
  • robin (cycled layers)
  • no_velocity (do not use MIDI velocity at sample level evaluation, so we use sample/track volume only)
  • alt (alternative samples). Sample layers will be switched using the Plus (+) and Minus (-) buttons in the sample slot. A slot contains a set of alternative samples, not velocity layers. Otherwise, in other modes, each slot contains multiple (or one) layers of the same instrument (default behavior).

reverse_order_mode – a special option that works when you use just a directory name as the sample list. if reverse_order_mode = on or 1, files from the directory will be sorted alphabeticaly first, and then the order will be reversed.

show_instrument_name_for_alts - when set to "on", the cell for this instrument displays the instrument's name before the variant number. Useful for samples/presets without meaningful names.

Inside the <sample> element, there can be not only samples, but also "formula" files for the built-in synthesizer with the .syn extension, as well as files containing entire collections of such formula presets with the .synpak extension.

The formula format is as follows:

preset_name^formula

For example: Cyber Snap 01^clap(decay=0.08, tone=3800, spread=0.003, count=2)

A .synpak file consists of such formulas, with one formula per line of text.

Formula parameters depend on the synthesizer generators - different generators have different parameters.

Here is the list of available generators; click the link to read the documentation for each of them:

Synth modules documentation

goakick, goakick на русском

goasnare, goasnare на русском

clap, clap на русском

computer_snare, computer_snare на русском

computer_tom, computer_tom на русском

cowbell, cowbell на русском

hihat, hihat на русском

crashhybrid, crashhybrid на русском

kick, kick на русском

ride, ride на русском

Directory-based sample lists (XML)

In an XML-based kit (drumkit.labooh), the element normally contains a comma-separated list of file names, or a name of a .txt file with the list, or .synpak file with presets. As an alternative, you can put a directory name instead — the plugin will read all audio (and .syn) files from that directory and use them as layers or variants.

Example:

<sample name="Kick" note="36">
kick
</sample>

This will look for the subdirectory kick/ inside the kit directory, read all supported audio files (WAV, AIFF, FLAC, OGG, MP3) from it, sort them by file name, and use them as layers of the instrument — from "quiet" to "loudest" (in file name order).

This is equivalent to:

<sample name="Kick" note="36">
kick/kick001.wav,kick002.wav,kick003.wav
</sample>

Requirements and assumptions:

The directory must be inside the kit directory (relative path).

The directory name must not contain a dot (.), otherwise it would be interpreted as a file name or a file list.

Files must be named meaningfully — e.g., kick001.wav, kick002.wav, ... - because sorting is lexicographic, not natural. kick10.wav sorts before kick2.wav in standard lexicographic order.

All audio files in the directory are treated as layers of the same instrument, ordered from first (quietest) to last (loudest), just like a comma-separated list.

To reverse the order (loudest first), use the reverse_order_mode="on" attribute.

Why use this format:

You don't need to update the XML every time you add or remove a sample - just put files into the directory.

Easy to bulk-generate kits from scripts.

Good for auto-generated kits or kits with hundreds of layers.

Limitations:

Cannot exclude individual files (they all get loaded).

File name sorting is lexicographic, so use zero-padded numbering (drum001.wav, drum002.wav, ... drum010.wav) to get predictable order.

Kit Examples

For real world examples, see the following kits sources:

OM Kit - XML kit with alt synthesizer presets.

Diskach - XML directory-based kit with alt samples.

Sopromat - XML "alt" kit where samples are defined as lists at the text files.

Sixties Rock - a complex XML kit with multi-layered instruments, round robins, etc.

Peter Semiletov

관련 프로젝트 살펴보기

불러오는 중…