On Wed, Apr 24, 2013 at 03:05:31PM +0200, Ralf Mardorf wrote: > 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@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 Hi Ralf, Just want to let you know that I intend to look at this, and see if I can filter out these port numbers. But I don't know if I will find the time soon... greetings, lieven _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user