<br><br><div class="gmail_quote">2011/12/11 Clemens Ladisch <span dir="ltr"><<a href="mailto:clemens@ladisch.de">clemens@ladisch.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">thijs van severen wrote:<br>
> amidi -l should list all midi out ports that are available to amidi, right?<br>
<br>
</div>It lists all ports implemented by an ALSA kernel driver.  It is possible<br>
to implement raw MIDI ports in software, but those are not listed.<br>
<br>
123456789012345678901234567890123456789012345678901234567890123456789012<br>
ALSA's raw MIDI interface and sequencer interface are different.<br>
Usually, you want to use the latter.  Try "aplaymidi -l".<br>
<div class="im"><br>
> Another question: will a usb midi interface list the midi ports under alsa?<br>
<br>
</div>Yes.<br></blockquote><div><br></div><div>OK that seems to work fine, and the USB midi interface shows up when i run amidi -l   :-)</div><div>i created a virtual midi device that dumps incoming data in a terminal window (using amidi -p virtual d), and connected the midi input port of the USB interface to that virtual interface (in qjackctl)</div>

<div>then i connected my FX unit to the usb interface and configured the FX unit so it sends midi messages</div><div>whenever i turn the 'preset select' knob on the FX unit the midi data shows up in the terminal window</div>

<div><br></div><div>if i then send this midi data back tot the FX unit (using  amidi -p hw:2,0,0 -S 'C1 09') the unit jumps to the correct preset  :-)</div><div>however, this does not work when jack is running.  if jack is running i get this message :</div>

<div><br></div><div><div>ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC2D0 failed: Device or resource busy</div><div>cannot open port "hw:2,0,0": Device or resource busy</div></div><div><br>

</div><div>looks like jack claims the device.  </div><div>this is blocking for me since i need to have jack running for my audio routing  :-(</div><div><br></div><div>any ideas ?</div><div><br></div><div>grtz</div><div>Thijs</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Regards,<br>
Clemens<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>follow me on my <a href="http://audio-and-linux.blogspot.com/" target="_blank">Audio & Linux blog</a> !</div><br>