DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

DrumGizmo development and support forum.
http://drumgizmo.org/

Moderators: khz, MattKingUSA, deva, muldjord, Glocke

empowerg
Established Member
Posts: 33
Joined: Sun Apr 03, 2016 12:36 pm
Contact:

DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by empowerg »

Hi all,

DGPatchMaker is now open-sourced for quite some time, but got some polish in the last weeks again. I also added some documentation and an introductionary video.

What is DGPatchMaker?

It is a graphical tool to create drumkits for DrumGizmo for existing sample libraries. Creating the XML files by hand is quite a hassle, so I wrote this tool to help a bit.

What is the difference to DGEdit?

DGEdit was created to cut the freshly recorded multi-tracks after sampling the kit (possibly in a studio) and create a DrumGizmo patch out of it. DGPatchMaker is for existing sample libraries.
Where it was used:
  • For the Salamander Kit
  • For the SM Mega Reaper Kit
  • For the DrumDrops sample libraries for the Mapex Heavy Rock kit, the Vintage Folk kit (11GB of samples!) and the Modern Folk kit
Limitations

Currently, there is no support for
  • Clicky-Kit/Image Maps
  • Directed Chokes
  • Improved Metadata (but this is under work currently).
It was a quick implementation, so I am sure there are some bugs and quirks lying around. Feel free to report them on github, pull requests are even more anticipated, I just can't promise timely resolution because of time reasons.

How to use

Since writing a manual was too time consuming, I recorded a video about the usage of the tool to create a drumkit:
https://youtu.be/u1fcU8DzxFs


Where to get

DGPatchMaker is now available under LGPL (see license file in the git repository)
Binary Download (compiled on Ubuntu Studio 18.04 x86_64): https://www.onikudaki.net/blog/wp-conte ... aker-2.zip

Blog Entry: https://www.onikudaki.net/blog/archives/263

The git repository can be found under: https://github.com/oswald2/DGPatchMaker
Make sure to checkout stable version (currently tag "1.0") to compile and check the README.

DGPatchMaker is written in Haskell, so you need the stack build tool to compile (https://docs.haskellstack.org/en/stable/README/).


lg,
Michael
User avatar
funkmuscle
Established Member
Posts: 2540
Joined: Mon Jun 02, 2008 2:30 pm

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by funkmuscle »

Michael, this could be just what I'm looking for. Thanks.
User avatar
Bella
Established Member
Posts: 39
Joined: Thu Apr 02, 2020 10:46 pm
Location: PacNW

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by Bella »

@empowerg

This is excellent. The tutorial is very helpful as well. I'd been banging my head on the wall for days try, first trying to manually create/edit the XML files, as well as trying to figure out DGEdit, but nothing I tried yielded a kit that would actually load, even when everything *appeared* correct.

I just did a test run using your DGPatchMaker with just a kick drum with multi velocity samples + closed mic and room layers, and after following your tutorial, I successfully created a kit that loaded without issue in DrumGizmo. I'm also able to balance the amount of bleed. Now I'm going to start over and do an entire kit

Your work on this, as well as the tutorial is much appreciated. Thanks!
empowerg
Established Member
Posts: 33
Joined: Sun Apr 03, 2016 12:36 pm
Contact:

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by empowerg »

@Bella: you are welcome!

I think sharing of knowledge is often important so that it doesn't get lost (or bitrot in some git repository :D ).

lg,
Michael
User avatar
Bella
Established Member
Posts: 39
Joined: Thu Apr 02, 2020 10:46 pm
Location: PacNW

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by Bella »

I completed an entire kit last night using DGPatchMaker and a full drumkit set of samples I bought from Analog Drums (the Popsticks kit) a while back. Took a while of course, but much quicker than manually creating/editing xml files.

DGPatchMaker was very stable throughout the process (Linux Mint 19.3 MATE). I did export each instrument immediately after I created it, just in case the software crashed, but it never did.

At first it was slow going as I familiarized myself with the process, but I became pretty comfortable with it after creating the first few instruments, which helped speed things up.

When done, I loaded the kit into Drumgizmo without issue and everything just worked without any additional tinkering.

I'm looking forward to creating another DrumGizmo kit with another drum sample library I have.
empowerg
Established Member
Posts: 33
Joined: Sun Apr 03, 2016 12:36 pm
Contact:

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by empowerg »

@Bella

This is nice to hear and also good feedback!

Indeed, it is quite stable from a "crashing" point of view, that's exactly why I wrote it in Haskell. Just handling GTK in the user interface is always a bit quirky and most instability comes from there.

Anyway, thanks!

lg,
Michael
LeeAStone
Posts: 1
Joined: Fri Jul 17, 2020 12:24 pm

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by LeeAStone »

Had bought some DrumDrops samples (Ludwig Super Classic) earlier in the year and finally got around to looking into getting them into DrumGizmo.

So an internet search of DrumGizmo and DrumDrops lead me to DGPatchMaker.

I manually added in the samples as you described for one of the snare samples and it all worked ok and generated the correct formatted XML files.

I then used sed to create the other instruments from that template.

Due to the modular nature of the sample filenames it didn't take too long to build up the kit and use DGPatchmaker to tie it all together. DrumDrops did manage to spell Zildjian 3 different ways though... which didn't help :)

But yes thanks, saved me a lot of time and effort.
uns4ph3
Established Member
Posts: 59
Joined: Mon Apr 27, 2020 12:53 am

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by uns4ph3 »

empowerg wrote: Fri Apr 17, 2020 8:25 pm Where it was used:
  • For the Salamander Kit
  • For the SM Mega Reaper Kit
  • For the DrumDrops sample libraries for the Mapex Heavy Rock kit, the Vintage Folk kit (11GB of samples!) and the Modern Folk kit
These four kits I haven't seen linked anywhere. Can you share links here?
Search for Fusterclucker on your favorite streaming platforms to hear my awful music, and go visit my blog for my inane rants.
empowerg
Established Member
Posts: 33
Joined: Sun Apr 03, 2016 12:36 pm
Contact:

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by empowerg »

Hm, I just saw, that they did disappear from https://libremusicproduction.com/news/2 ... gizmo.html. There was also a kit on the drumgizmo site, but it was not linked anywhere and I currently cannot find it either.

The SM Mega Reaper Kit can be found here: https://www.delamar.de/loops-samples/fr ... it-26135/
The Salamander Kit is here: https://rytmenpinne.wordpress.com/sound ... r-drumkit/

I put the drumgizmo patches up here:
https://www.dropbox.com/s/9r9cahto82avn ... ar.xz?dl=0
https://www.dropbox.com/s/mc6d81566qahb ... ar.xz?dl=0

The drumdrops kits are commercial kits which can be obtained at https://www.drum-drops.com/. Should you need the drumgizmo patches for them (I don't know if they have included them in the official versions), just contact me again.

Michael
uns4ph3
Established Member
Posts: 59
Joined: Mon Apr 27, 2020 12:53 am

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by uns4ph3 »

Making sure I understand this ... I need to unpack the downloads for the Mega Reaper kit and the Salamander kit into the DrumGizmo folders that you included? Or are the samples in there and all I need to do is unpack those?
Search for Fusterclucker on your favorite streaming platforms to hear my awful music, and go visit my blog for my inane rants.
empowerg
Established Member
Posts: 33
Joined: Sun Apr 03, 2016 12:36 pm
Contact:

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by empowerg »

There is PDF in each of the patches which describes the installation. Basically, you download the kits, unpack them, unpack the DrumGizmo patches and copy the unpacked DRUMGIZMO folder into the folder of the kit. The PDFs should list how the directory tree should look like.

Michael
quadronado
Established Member
Posts: 5
Joined: Tue Feb 09, 2021 12:41 pm

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by quadronado »

Hi Michael,

thanks for providing the DGPatchMaker. It's a great tool for existing samples. I tested it with a small amount of samples. It worked well. It took a bit of time and I was not sure if I could safe the work and finished it later. But if I understood it right I could export the drumkit and load the xml-file again to add some new instruments. Is that right?

At next I tried the Drumkit Parser to compile xml-files for the Vintage Folk Kit from drumdrops. It looked fine at first. I exported the drumkit and got some xml-files. I could load the files into drumgizmo, but as soon as I hit any note the programm crashed. I tried to load the plugin in ardour and with carla. The only message I found in the terminal was "Speicherzugriffsfehler (Speicherabzug geschrieben)" (Something like "Segmentation fault")
Could this have something to do with a different version of the kit I have? I have the Vintage_Folk_Kit_MS_Pack_V1.2. It doesn't have 11 GB of Samples, only 1,4 GB.
quadronado
Established Member
Posts: 5
Joined: Tue Feb 09, 2021 12:41 pm

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by quadronado »

I think I found the problem. DGPatchMaker creates 18 output channels for the Vintage Folk Kit. When I delet the Channels for the Shaker and the Tambourin everything seems to be fine. Do you have a DrumGizmo version with 18 output channels?
User avatar
deva
Established Member
Posts: 217
Joined: Sun Oct 23, 2016 10:15 am
Contact:

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by deva »

quadronado wrote: Tue Feb 09, 2021 9:01 pm Do you have a DrumGizmo version with 18 output channels?
If you compile DrumGizmo yourself from sources you can use the the '--enable-custom-channel-count=18' argument with ./configure to use a custom channel count.
It can in theory be any number you like.

EDIT: DrumGizmo shouldn't crash though, so I have added it as a bug to the roadmap for 0.9.20: https://drumgizmo.org/wiki/doku.php?id= ... rsion_0920
quadronado
Established Member
Posts: 5
Joined: Tue Feb 09, 2021 12:41 pm

Re: DGPatchMaker, a graphical tool for creating DrumGizmo patches from sample libraries

Post by quadronado »

OK, good to know. I use the DRUMGIZMO version from the KXStudio repositories. I think it's pretty up to date but it has only 16 channels. I'll try compiling it later.
Post Reply