<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 9:56 PM, <a href="mailto:jonetsu@teksavvy.com">jonetsu@teksavvy.com</a> <span dir="ltr"><<a href="mailto:jonetsu@teksavvy.com" target="_blank">jonetsu@teksavvy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 17 Nov 2015 12:13:30 -0500<br>
jonetsu <<a href="mailto:jonetsu@teksavvy.com">jonetsu@teksavvy.com</a>> wrote:<br>
<br>
> I did have a reply from Bitwig today with a series of steps to do and<br>
> I will give it a try.<br>
<br>
</span>Basically it boils down to this.  After booting the workstation, bitwig<br>
is started, audio set to jack (not ALSA).  There is sound and the MIDI<br>
keyboard works.  This is as it should be.  Why didn't I see it<br>
before ?  Because I was loading what I'm used to work with first, that<br>
is, Ardour.  So now bitwig is OK.  I start Ardour and load a session.<br>
In this session there is a VST synth plugin.  Since the MIDI keyboard<br>
is not seen in the MIDI tab (only in the ALSA tab) in qjackctl (where<br>
Ardour MIDI connections are seen) I have to do:<br>
<br>
% a2j_control ehw start<br>
<br>
Now the MIDI keyboard and Ardour are found in the same MIDI tab in<br>
qjackctl and a connection can be made between them.  Note that apart<br>
from the audio tab, there's no bitwig elsewhere in qjackctl.  The<br>
problem is, no MIDI is reaching the VST plugin in Ardour.<br>
<br>
What I see is the first app to run gets the MIDI.  The other app that<br>
is launched thereafter will not get.  It works in both ways: bitwig<br>
first then no MIDI for Ardour.  Ardour first then no MIDI for bitwig.<br>
This is extremely reproducible.<br>
<br>
The question is now, how to share MIDI between the applications (let<br>
alone which MIDI channel controls what) ?<br></blockquote><div><br></div><div>As I've explained previously:<br><br></div><div>    * the ALSA "raw" MIDI API implies exclusive device access. Devices<br></div><div>      accessed with this API cannot be shared. No data can be exchanged<br></div><div>      between applications either (not with this API, at least)<br><br></div><div>   * the ALSA "sequencer" MIDI API implies shared device access, and<br></div><div>     allows applications to exchange data as well.<br><br></div><div>   * JACK MIDI backend(s) exist for both of these APIs. <br> <br></div><div>   * the JACK MIDI API implies shared device access and allows<br></div><div>     applications to exchange data as well.<br><br></div><div>try running this while JACK + Bitwig are running: <br><br>          lsof | grep /dev/snd<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-user" rel="noreferrer" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
</div></div></blockquote></div><br></div></div>