[LAU] a2jmidid/aj-snapshot issue

From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
Date: Wed Apr 24 2013 - 16:05:31 EEST

Hi :)

I start my sessions by scripts, I don't use session managers.

"a2jmidid -e" could cause issues for aj-snapshot regarding to ...

Connecting port 'a2j:Qtractor [136] (capture): Master' with 'yoshimi:midi in'
Connecting port 'a2j:Qtractor [136] (capture): Master' with 'yoshimi-01:midi in'
                           ... ^^^, most of the times it's ok, but it
doesn't work always. No drama in this case, but it could become unfunny,
if there would be more connections, since this number isn't always the
same.

If I don't need all cards, I could run "a2jmidid -eu", IIUC it would
drop this ID, but if I want to use my Envy24 cards too, then ...

port created: RME AIO_579bcc [16] (capture): HDSPMx579bcc MIDI 1
port created: RME AIO_579bcc [16] (playback): HDSPMx579bcc MIDI 1
port created: TerraTec EWX24/96 [20] (capture): TerraTec EWX24/96 MIDI
port created: TerraTec EWX24/96 [20] (playback): TerraTec EWX24/96 MIDI
port created: TerraTec EWX24/96 [24] (capture): TerraTec EWX24/96 MIDI
port created: TerraTec EWX24/96 [24] (playback): TerraTec EWX24/96 MIDI

I can't use the -u switch, because it would cause ...

ERROR: a2j_port_create: jack_port_register() failed for 'TerraTec
EWX24/96 (capture): TerraTec EWX24/96 MIDI'
ERROR: a2j_port_create: jack_port_register() failed for 'TerraTec
EWX24/96 (playback): TerraTec EWX24/96 MIDI'

Is there a solution for his issue?
It would be possible to ask for the ID and then let the script edit the
file that will be used by aj-snapshot, before it runs aj-snapshot, but
IMO this is another bad extra effort.

[rocketmouse@email-addr-hidden share]$ grep Q 10.02song.a.ajs
      <connection client="Qtractor" port="0" />
  <client name="Qtractor">
  <client name="Qtractor">
    <port name="Qtractor [136] (capture): Master">

Regards,
Ralf

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Apr 24 16:15:06 2013

This archive was generated by hypermail 2.1.8 : Wed Apr 24 2013 - 16:15:06 EEST