Skip to Content

Making a drumkit

6 replies [Last post]
Ross2p
Offline
Joined: 04/17/2010

Hi, I have been using hydrogen on ubuntu quite a bit to make my own drumbeats. Now I would like to record my own sounds and turn them into drum kits. But I really can't find out how...

I'm going to keep on searching but your help would be greatly appreciated

-Ross

exhuman
Offline
Joined: 04/17/2010

You finally got a decent Metal sound?

MimeyNaomi
Offline
Joined: 04/17/2010

Sweet that you figured it out, can you tell me?

Marky
Offline
Joined: 04/17/2010

Make a directory to hold all the .wav files and the drumkit.xml file.
Change the tag in the xml file to the name of this
directory. Edit the instrument mappings in the .xml file to reflect the
names of the .wav files you wish to use. Change your current directory to the one above the kit and make a gzipped tar file of the kit directory, naming this tar file kitname.h2drumkit. Import this into hydrogen and load the kit. As an example, a cr78 kit could be something like this...

mkdir cr78
cp *.wav cr78
cp drumkit.xml cr78
tar cfz cr78.h2drumkit cr78

Enjoy,
Marky

jack
Offline
Joined: 04/17/2010

I've gotten that far. How do I make the h2song?

Marky
Offline
Joined: 04/17/2010

You don't need a song file to import/load kits. From your original post you say you import the kit you made and yet it doesn't show up in the list of available kits. The only reason this should happen is if the tag for kitname in the xml file doesn't match up with the directory name the kit's .wav files are located in, they must be the same.

Pyro96
Pyro96's picture
Offline
Joined: 04/17/2010
sean k
Offline
Joined: 04/17/2010

I'm about to do some of this using a bunch of downloaded wav files and I'm wondering whether the bit rate and frequency of the particular files should all be the same. I would suppose having them all at least CD quality, 16bit 44100Hz, would be an ideal but what about if the bit rates and sample frequencies were all over the place... would this upset H2?

wolke
wolke's picture
Offline
Joined: 03/30/2010

you can mix samples as you like.
8 up to 32 bit and 8khz up to 192khz

hydrogen load all samples from disk into ram via libsndfile.
find out more about libsndfile here: http://www.mega-nerd.com/libsndfile/#Features
also if needed e.g. during pitching a sample, hydrogen will resample the output. so normal you can mix every sorts of samples. of course you must live with a lower quality. at least dependent from your source sample quality.

sean k
Offline
Joined: 04/17/2010

I got those gamelan samples someone mentioned, 50Mb download zip file, turned into 100Mb of files, and spent quite a few hours whittling down the ends of the files for a total of 33Mb.

I'll be makin' a few kits out of them as theres loads of files but I'm also wonderin', other than through hydrogen itself, can we extract the wav files from the H2 drumkit files?

mauser
Offline
Joined: 03/30/2010

Sure. A hydrogen drumkit is just an archive which holds samples and a xml file which describes the meta-infomation ( sample name, layer etc).
Or just look in your .hydrogen/data/drumkits library, there will be all samples. But there are not only wav kits out there, most of them are based on flac samples.