Midi-Connector icon indicating copy to clipboard operation
Midi-Connector copied to clipboard

Client name + port instead of just port name?

Open okyeron opened this issue 3 years ago • 0 comments

Just testing out your code today and running into an issue.

I have multiple hardware midi ports (raspi with custom midi hat) and all of the ports are identical so I end up with a confusing list (shown below).

Where can I look in the code to maybe have the client name shown along with the port?

aconnect -l looks like this:

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
	Connecting To: 133:0
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 20: 'omx-27' [type=kernel,card=1]
    0 'omx-27 MIDI 1   '
client 128: 'umbrellas_4' [type=user,pid=414]
    0 'MIDI in         '
    1 'MIDI out        '
client 129: 'umbrellas_host' [type=user,pid=404]
    0 'MIDI in         '
    1 'MIDI out        '
	Connected From: 131:0
client 130: 'umbrellas_3' [type=user,pid=419]
    0 'MIDI in         '
    1 'MIDI out        '
client 131: 'umbrellas_2' [type=user,pid=413]
    0 'MIDI in         '
	Connecting To: 129:1
    1 'MIDI out        '
client 132: 'umbrellas_1' [type=user,pid=406]
    0 'MIDI in         '
    1 'MIDI out        '

Screen Shot 2021-12-31 at 10 08 00 PM.

okyeron avatar Jan 01 '22 04:01 okyeron