aumi AUv3 with AvAudioEngine ConnectMIDI multiple

Hi!

I am creating a aumi AUv3 extension and I am trying to achieve simultaneous connections to multiple other avaudionodes. I would like to know it is possible to route the midi to different outputs inside the render process in the AUv3.

I am using connectMIDI(_:to:format:eventListBlock:) to connect the output of the AUv3 to multiple AvAudioNodes. However, when I send midi out of the AUv3, it gets sent to all the AudioNodes connected to it. I can't seem to find any documentation on how to route the midi only to one of the connected nodes. Is this possible?

Hello @Myreaux, thank you for your post. Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

Hi! Thanks for the reply.

Before I create a test project, I would like to inquiry, whether there an inbuilt method in AUv3 to select which node to send the midi data to? If it exists, could you point me to the documentation for it?

Best, Miro

Hi again!

I created the test project anyways. Here is a link to it.

So basically, when pressing the Send Note button, the notes are being sent to all the connected nodes through the AUv3.

The question is, how can I send the MIDI message to just one of the nodes connected to the AUv3?

aumi AUv3 with AvAudioEngine ConnectMIDI multiple
 
 
Q