Connecting midi drumset to keykit

19 views
Skip to first unread message

Luka...@web.de

unread,
Oct 23, 2017, 5:32:48 PM10/23/17
to KeyKit
Hello,
I am completely new to keykit, but after reading and searching for a solution many hours I could not find an answer.
My e drumset is connected via midi to usb to my computer. However, when I play two pads at the same time, one pad plays two noteon signals instead of noteon and noteoff. So I want to connect my midi controller to keykit to send a noteoff signal instead of a second noteon signal and then redirect the output to hydrogen.
So my question is: how to connect my midi controller output to keykit and the keykit output to hydrogen? I cannot see keykit midi ports in qjackctl in the ALSA-MIDI tab and hat no success creating ports in keykit with the port enabler tool.
I would be glad if someone could provide e a resource which explains how to do this.
Thanks in advance.

Lukas

Tim Thompson

unread,
Oct 23, 2017, 5:51:37 PM10/23/17
to Luka...@web.de, KeyKit
I only use Windows for keykit things, so can't help you very much with Linux-specific questions on MIDI routing.  Keykit doesn't create MIDI ports, it only lets you see and enable ports that the OS already knows about.  On Windows, MIDI ports for internal routing can be created with software like LoopBe which you can find at http://www.nerds.de/ .

     ...Tim...

--
You received this message because you are subscribed to the Google Groups "KeyKit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keykit+unsubscribe@googlegroups.com.
To post to this group, send email to key...@googlegroups.com.
Visit this group at https://groups.google.com/group/keykit.
For more options, visit https://groups.google.com/d/optout.

Olaf Schulz

unread,
Oct 23, 2017, 6:39:25 PM10/23/17
to key...@googlegroups.com

Hello Lukas,

I would suggest to use the following Keykit functions.

       Name: outport                                    (lib/util2.k:197)
      Usage: outport(port)
Description: Opena a MIDI output port

       Name: inport                                     (lib/util2.k:189)
      Usage: inport(port)
Description: Open a MIDI input port

       Name: mapport                                    (lib/util2.k:201)

      Usage: mapport(ip, op)
Description: -


I can not test it for inputs, because I had no input device connected, but the following function opens up an output.
Open lib/keylocal.k (and/or copy it a folder up?!) and replace the original keylocal()-function with

# Setup a ALSA connection
# Adapt connect_alsa.sh on your environment if ness.
function enable_output(){
  Contribdir = "contrib"
   if( Machine == "linux" || Machine == "unix" ){
        outalsa = outport(1)
        mapport(0,outalsa)
        # system("Optional command to connect to new created port")
   }
}

(You could also call this manually from keykits window.)
After this, I could connect to with aconnect (or in qjackctl under Connect>Alsa). Probably you could just add two lines to enable an 'inport', too.

Regards Olaf
To unsubscribe from this group and stop receiving emails from it, send an email to keykit+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages