Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Client name + port instead of just port name? #18

Description

@okyeron

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions