[ardour-users] ardour, jack and midi

Paul Davis paul at linuxaudiosystems.com
Fri Oct 28 09:50:36 PDT 2005

On Fri, 2005-10-28 at 09:17 -0700, moron wrote:
> Howdy.  I decided to test out both the MIDI automation options of Ardour and 
> whether my Korg microKontrol would be recognized under Linux this morning 
> (well, last night and this morning).
> The microKontrol when connected via USB looks like 3 devices.  I installed 
> Rosegarden so I had something which would show incoming notes and from what I 
> see, the second device on the microKontrol does send MIDI events (I recorded 
> both notes and controller values into Rosegarden from it.
> Jack and Ardour though seem a no go.
> I have followed the instructions in the Ardour manual (obviously skipping the 
> Behringer-centric portions) as far as configuring Jackd.  Unfortunately it 
> seems that qjackctl has no way of showing when data is present on a given 
> connection so I cannot tell if the problem is Jack or Ardour.  
> In any case, I ctrl middle click on a slider but Ardour acts like it cannot 
> see any MIDI data.  
> I could not find anything about this in this manual - what MIDI channel does 
> Ardour expect data to be sent on?  Are there any specific controller ranges 
> it is looking for?  

it listens on every channel of the port specified to use for MIDI
control. every controller is eligible for use.

> Any suggestions on how to trouble shoot this? I'll be trying the M-Audio 
> card's true MIDI input this weekend to see if that works any better but it 
> would be mighty handy if the USB interface worked.

you can run this command:

    dd if=/dev/snd/midiCnDm bs=1

substituting "n" with the index of the card (see /proc/asound/card for
this value) and "m" with the number of the MIDI interface on the card
(typically zero, but it sounds like it might be worth trying other
values too for your device).

dd is a low level byte reader. if anything shows up, dd will print it to
the screen. if you wiggle controllers enough, you will see some stuff on
the screen. for more easy-to-see results:

    dd if=/dev/snd/midiCnDm bs=1 | hexdump

if dd doesn't seen any data when you wiggle the h/w, you have a much
lower-level problem.


More information about the Ardour-Users mailing list