[LAU] a2jmidid/aj-snapshot issue

Ralf Mardorf ralf.mardorf at alice-dsl.net
Wed Apr 24 13:05:31 UTC 2013


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 at archlinux 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



More information about the Linux-audio-user mailing list