MT-PowerDrumKit Alternative ?

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: khz, MattKingUSA

tavasti
Establlshed Member
Posts: 451
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Contact:

Re: MT-PowerDrumKit Alternative ?

Postby tavasti » Thu Jun 01, 2017 7:25 pm

jochen wrote:Now I wrote a simple application that reads the grooves from the DLL and lets you browse, preview and sequence them. Then the sequence can be saved to a file or directly be dragged and dropped to Qtractor or Ardour.
...
Dependencies:
* ruby
* Active Support (gem install activesupport)
* qtbindings (gem install qtbindings)

Wanted to try this, but unfortunately 'gem install qtbindings' fails. Running ubuntu 16.04. From error log:
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_61ec7.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_61ec7
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_61ec7.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_61ec7.dir/CheckFunctionExists.c.o -o cmTC_61ec7 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status

I'm not familiar with ruby & gems, but I know that there is no library pthreads but it is pthread. :-o
Linux veteran & Novice musician

Hear my music at https://audiu.net/users/tawaste

tavasti
Establlshed Member
Posts: 451
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Contact:

Re: MT-PowerDrumKit Alternative ?

Postby tavasti » Tue Jul 10, 2018 7:44 am

Got back to this. Got ruby gems installed, build error messges were confusing me when I was too tired. Actual problem was ruby-dev package missing.

I wanted drums to be played from hydrogen, so I used pmidi instead of jack-smf-player.
pmidi -l # to list ports


And from that I could get port to connect. To config.rb:
PLAY_CMD = "pmidi -p 129:0"


I got it playing, but does not sound very good. It sounds like all drum samples play short, maybe getting note off soon after note on, and hydrogen honoring those note off commands?

Edit: in hydgen midi options selecting 'ignore note-off' will fix issue!

Edit2: and hydrogen has also jack-midi option, so it would be possible to use jack-smf-player also
Linux veteran & Novice musician

Hear my music at https://audiu.net/users/tawaste

tavasti
Establlshed Member
Posts: 451
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Contact:

Re: MT-PowerDrumKit Alternative ?

Postby tavasti » Wed Jul 11, 2018 8:38 am

jochen wrote:Now I wrote a simple application that reads the grooves from the DLL and lets you browse, preview and sequence them. Then the sequence can be saved to a file or directly be dragged and dropped to Qtractor or Ardour.

* Preview of a groove is initiated by a double click.
* Use the Add-button or simple drag and drop a groove to the sequence list.
* the Play-button starts playback of the sequence.
* Export saves the sequence to a file of your choice.
* Drag the Export-button to Qtractor or Ardour to have the sequence there.

This is really great!

One additional feature would be great: setting tempo. Now everything plays on 120 BPM, and if looking for suitable beat for something really different, spotting the one you want is not trivial.

So what would be needed:
- text field for inputting tempo
- calculate 60000000/BPM
- if there is some ruby lib for modifying midi file, then use that, but if not, it can be done with smfsh:
smfsh> load input.mid
smfsh> add 0 ff51030ac55a
smfsh> save output.mid

In example I had tempo 85, which will result in hex 0AC55A. Tempomap event is ff5103.

Edit: https://github.com/jimm/midilib
Linux veteran & Novice musician

Hear my music at https://audiu.net/users/tawaste


Return to “Recorders & Sequencers”

Who is online

Users browsing this forum: No registered users and 14 guests