Under configuration qsynth doesn't list any midi device...
How to link an input automatically to qsynth?
Moderators: MattKingUSA, khz
How to link an input automatically to qsynth?
That's pretty much the question
I need qsynth to be always receiving from Midi Through whenever I start it.. How can I do it?
Under configuration qsynth doesn't list any midi device...
Under configuration qsynth doesn't list any midi device...
Re: How to link an input automatically to qsynth?
You can write a script to start qsynth and use aconnect to make the midi connection, something like this:
#!/bin/bash
qsynth &
aconnect 14:0 131:0
Use acconnect -i and acconnect -o to see your alsa midi connections. In my case:
$ aconnect -i
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
$ aconnect -o
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 131: 'FLUID Synth (Qsynth1)' [type=user]
0 'Synth input port (Qsynth1:0)'
You could also make the connection with aj-snapshot.
#!/bin/bash
qsynth &
aconnect 14:0 131:0
Use acconnect -i and acconnect -o to see your alsa midi connections. In my case:
$ aconnect -i
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
$ aconnect -o
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 131: 'FLUID Synth (Qsynth1)' [type=user]
0 'Synth input port (Qsynth1:0)'
You could also make the connection with aj-snapshot.