Post

Replies

Boosts

Views

Activity

Reply to (iOS) Issues with 'aumi' Audio Units and AVAudioEngine
Has anyone found a good workaround for this by now? My current workaround is to create a "fake" Music Device node (a simple AUAudioUnit subclass that just generates silence), connect that to the main mixer and then connect each MIDI processor unit to that using AVAudioEngine connectMidi:to:format:block. In the block parameter I can then set my AUMIDIOutputEventBlock to get the MIDI data of the MIDI processor. Which seems to work (but no idea about the stability of it yet, I only got it working around 30 minutes ago :-) ), but is kind of bad, as I need to keep a not really needed node active. One per MIDI processor that I use (because connectMidi is only many-to-one). So: Does anyone have a better solution???
Jan ’21