Drumrox - DrMr fork

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

User avatar
peter.semiletov
Established Member
Posts: 119
Joined: Thu May 11, 2023 1:09 pm
Has thanked: 25 times
Been thanked: 82 times
Contact:

Drumrox - DrMr fork

Post by peter.semiletov »

Hello!
I've used the awesome LV drum machine DrMr for a years, but at the some point of time it became incompatible with the modern format of Hydrogen drum kits. So I've decided to fix DrMr, and this fixing led me to more ideas about the DrMr development and continuation. So the initial result is Drumrox -
https://github.com/psemiletov/drumrox

  1. It can load Hydrogen kits in the current kit format
  2. Presets now sorted alphabetically
  3. Some code is rewritten in C++, and I hope to rewrite more soon.

You can install it from the source, or via AUR (yay -S drumrox)

PS I have many ideas for this plugin, but currently my experience with LV2 API is very small.

nils
Established Member
Posts: 538
Joined: Wed Oct 22, 2008 9:05 pm
Has thanked: 35 times
Been thanked: 94 times
Contact:

Re: Drumrox - DrMr fork

Post by nils »

Thanks for the work. DrMr was always unreliable. I hope your fork makes that better.
The sad side is that I can't pronounce it "Doctor Mister" anymore :)

P.S.
Perfect match for (my) https://laborejo.org/patroneo/ , which is like the Hydrogen Sequencer and more (but which has no builtin sampler).

User avatar
Audiojunkie
Established Member
Posts: 399
Joined: Thu Feb 21, 2019 4:27 pm
Has thanked: 389 times
Been thanked: 155 times

Re: Drumrox - DrMr fork

Post by Audiojunkie »

peter.semiletov wrote: Thu May 11, 2023 1:22 pm

Hello!
I've used the awesome LV drum machine DrMr for a years, but at the some point of time it became incompatible with the modern format of Hydrogen drum kits. So I've decided to fix DrMr, and this fixing led me to more ideas about the DrMr development and continuation. So the initial result is Drumrox -
https://github.com/psemiletov/drumrox

  1. It can load Hydrogen kits in the current kit format
  2. Presets now sorted alphabetically
  3. Some code is rewritten in C++, and I hope to rewrite more soon.

You can install it from the source, or via AUR (yay -S drumrox)

PS I have many ideas for this plugin, but currently my experience with LV2 API is very small.

Does it scale up the GUI for high resolution support (4k, HiDPI, etc) ?

User avatar
peter.semiletov
Established Member
Posts: 119
Joined: Thu May 11, 2023 1:09 pm
Has thanked: 25 times
Been thanked: 82 times
Contact:

Re: Drumrox - DrMr fork

Post by peter.semiletov »

Audiojunkie wrote: Thu May 11, 2023 7:25 pm

Does it scale up the GUI for high resolution support (4k, HiDPI, etc) ?

Currently I did not touch GUI yet. It is based on GTK+2, I am mostly Qt/C++ guy, and need some time to learn the DrMr source, and then maybe rework the GUI (for example, if there are many instruments at the kit, the plugin window becomes larger that the screen). My first steps was just fixing the compatibility with Hydrogen kits, and make the presets list in the sorted order). Maybe I'll try to port it to GTK+4.

User avatar
peter.semiletov
Established Member
Posts: 119
Joined: Thu May 11, 2023 1:09 pm
Has thanked: 25 times
Been thanked: 82 times
Contact:

Re: Drumrox - DrMr fork

Post by peter.semiletov »

upd, 1.0.1:

  • plugin window now has 6 columns instead of 4 - fits to screen better when many samples
  • AUR package (for Arch-based distros): yay -S drumrox
Basslint
Established Member
Posts: 1516
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy
Has thanked: 385 times
Been thanked: 299 times

Re: Drumrox - DrMr fork

Post by Basslint »

I packaged it for the multimedia:proaudio openSUSE repo.

I think that more than GTK4, it would be better to port it to a static UI toolkit like JUCE or DPF (or even FLTK, if you bother to configure it a bit!).

The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]

Please donate time (even bug reports) or money to libre software 🎁

Jam on openSUSE + GeekosDAW!
User avatar
peter.semiletov
Established Member
Posts: 119
Joined: Thu May 11, 2023 1:09 pm
Has thanked: 25 times
Been thanked: 82 times
Contact:

Re: Drumrox - DrMr fork

Post by peter.semiletov »

Basslint wrote: Sun May 14, 2023 12:25 pm

I packaged it for the multimedia:proaudio openSUSE repo.

I think that more than GTK4, it would be better to port it to a static UI toolkit like JUCE or DPF (or even FLTK, if you bother to configure it a bit!).

Thank you a lot!
By the way, new release is coming soon, with some useful new features :)
And speaking about the porting to another toolkit - probably yes, but in the distant future. I like Qt :) GTK4, as I read, does not supported by LV2 specification, there are GTK2 and GTK4. But, GTK-based GUI is not supported by Reaper.

User avatar
peter.semiletov
Established Member
Posts: 119
Joined: Thu May 11, 2023 1:09 pm
Has thanked: 25 times
Been thanked: 82 times
Contact:

Re: Drumrox - DrMr fork

Post by peter.semiletov »

upd. 1.1.0!
https://github.com/psemiletov/drumrox/r ... /tag/1.1.0
This release features the "Panning mode" option, where you can select one of the tapers:

  1. linear panner, law: -6 dB //default. Is that good?
  2. linear panner, law: 0 dB
  3. square root panner, law: -3 dB
  4. sin/cos panner, law: -3 dB
    This option affects to all instrument panners.

Also, in 1.1.0, the Gain knob is more precise - the original DrMr step was 1 dB, the current one os 0.1 dB
P.S. I'm confused what to do with MIDI note velocity and the final sample gain, so there is a possibility that in the future the behavior will be changed, and I need advices about that (and learn more from the original DrMr source). Actually, I've started to rewrite all internal mixing.

User avatar
peter.semiletov
Established Member
Posts: 119
Joined: Thu May 11, 2023 1:09 pm
Has thanked: 25 times
Been thanked: 82 times
Contact:

Re: Drumrox - DrMr fork

Post by peter.semiletov »

upd. 1.1.1
https://github.com/psemiletov/drumrox/r ... /tag/1.1.1

  • better resampler mode at sample load (SRC_SINC_BEST_QUALITY from libsamplerate)
Kott
Established Member
Posts: 820
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 124 times

Re: Drumrox - DrMr fork

Post by Kott »

I think https://github.com/x42/robtk is the best toolkit for porting GTK2-based plugins.

User avatar
Audiojunkie
Established Member
Posts: 399
Joined: Thu Feb 21, 2019 4:27 pm
Has thanked: 389 times
Been thanked: 155 times

Re: Drumrox - DrMr fork

Post by Audiojunkie »

Kott wrote: Mon May 15, 2023 7:45 pm

I think https://github.com/x42/robtk is the best toolkit for porting GTK2-based plugins.

Does Robin's toolkit support HiDPI? These days, most everything is high resolution, and those of use who run at high resolutions can't use plugins unless they scale up to 200%-300%. It would be kind of pointless to move to a toolkit that doesn't support it, so that's why I'm asking.

tramp
Established Member
Posts: 2347
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 466 times

Re: Drumrox - DrMr fork

Post by tramp »

Kott wrote: Mon May 15, 2023 7:45 pm

I think https://github.com/x42/robtk is the best toolkit for porting GTK2-based plugins.

Easiest would be to use XUiDesigner to create a X11 based UI.
https://github.com/brummer10/XUiDesigner

On the road again.
Kott
Established Member
Posts: 820
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 124 times

Re: Drumrox - DrMr fork

Post by Kott »

Audiojunkie wrote: Tue May 16, 2023 12:11 am
Kott wrote: Mon May 15, 2023 7:45 pm

I think https://github.com/x42/robtk is the best toolkit for porting GTK2-based plugins.

Does Robin's toolkit support HiDPI? These days, most everything is high resolution, and those of use who run at high resolutions can't use plugins unless they scale up to 200%-300%. It would be kind of pointless to move to a toolkit that doesn't support it, so that's why I'm asking.

Does your post asks anything other than HiDPI? :)

this toolkit has scalability options, or have you never used x42 plugins?

User avatar
peter.semiletov
Established Member
Posts: 119
Joined: Thu May 11, 2023 1:09 pm
Has thanked: 25 times
Been thanked: 82 times
Contact:

Re: Drumrox - DrMr fork

Post by peter.semiletov »

Kott wrote: Mon May 15, 2023 7:45 pm

I think https://github.com/x42/robtk is the best toolkit for porting GTK2-based plugins.

If I'll rewrite the GUI of DrMr/Drumrox, it will be based on more common-used toolkit, such as newer version of GTK or, more possible - Qt6, or maybe something small that I can include in source tree. But for now I need to be more familiar with the source, and want to rewrite some things in C++. And not to broke any existing functionality :)

tavasti
Established Member
Posts: 2056
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 372 times
Been thanked: 209 times
Contact:

Re: Drumrox - DrMr fork

Post by tavasti »

peter.semiletov wrote: Tue May 16, 2023 7:01 am
Kott wrote: Mon May 15, 2023 7:45 pm

I think https://github.com/x42/robtk is the best toolkit for porting GTK2-based plugins.

If I'll rewrite the GUI of DrMr/Drumrox, it will be based on more common-used toolkit, such as newer version of GTK or, more possible - Qt6, or maybe something small that I can include in source tree. But for now I need to be more familiar with the source, and want to rewrite some things in C++. And not to broke any existing functionality :)

Those big toolkits are bad option for making plugins. Plugins should have everything static, no dynamic library dependencies. Sepcially Ardour and Mixbus, without plugin sandboxing and delivered with own libraries are the ones where dynamic loading can cause problems.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

Post Reply