Midi connection manager

Hey, try to swap the arguments:

aconnect 20:1 129:0
aconnect 129:1 20:1

See https://www.spinics.net/lists/linux-audio-users/msg67252.html for explanation.

Thanks:)))) Is all ok

1 Like

Thank you for this great idea and tool. This adds plug&play to any MIDI setup :slight_smile:
I am using it to interconnect mostly hardware.

I faced these hurdles:

  1. I have 2 identical MIDI controllers. They are both named identical.

    I changed one card ID with this method https://www.alsa-project.org/wiki/Changing_card_IDs_with_udev - the device gets the ID and is shown e.g. in /proc/asound/<my id> and /sys/devices/.../sound/card?/id or aplay -L but it does not seem to be recognized for use with MIDI, e.g. with aplaymidi -p .... I haven’t found a solution for that yet.

  2. I’d like to address subclients, like @rnzr. amidi -l looks like this:

    IO  hw:5,0,0  minilogue MIDI 1
    IO  hw:5,0,1  minilogue MIDI 2
    

    I understand that this is currently not possible. I peeked at the code and opened a Github issue https://github.com/BlokasLabs/amidiauto/issues/2 to discuss what we could do about it.

  3. Unfortunately I have a “Circuit” and a “Circuit Mono Station” :wink:

    IO  hw:0,0,0  Circuit Mono Station MIDI 1
    IO  hw:4,0,0  Circuit MIDI 1
    

    This rule UMC204HD -> Circuit would match the Circuit Mono Station, too. I added an issue here for discussion, too: https://github.com/BlokasLabs/amidiauto/issues/3

Thank you for this program and for making it open! If we find a nice concept, I am able to provide pull requests.

Good timing, @mrzero has just recently shared his Amidiminder utility project. :slight_smile: It should help in the mean time.

We were planning to develop a new version of amidiauto, so it works well with multi-port devices. We’ll keep in mind the issues you reported, thank you!

1 Like

I put this in my .conf, started/enabled/disabled and nothing connects.
I spend hours on this thread as a noob…

[allow]
#Deluge MIDI 1 -> NDLR MIDI 1
24:0 -> 32:0
#Deluge MIDI 1 -> Midihub MH-2KMG9CN MIDI 1
24:0 -> 28:0
#Midihub 2KMG9CN MIDI 2 -> NDLR IN 2
28:1 -> 32:1

Hi, amidiauto currently supports connections to just the first pair of input & output ports, the linked amidiminder utility may work better in your case.

Please create a dedicated thread for your setup, so we can find a proper solution for you.

Hi,
Amidiauto is a great tool ! …But not being able to set in & out ports is limiting.

Any news on an update ?

Nevermind, I just tried Amidiminder and it works really well for different ports !
Read it will be included in the next patchbox update. That’s great !

1 Like