Is it possible to use an AVAudioUnit from a AUv3 extension in a AudioKit chain?

135 Views Asked by At

I am trying to insert an AUv3 audio unit into the AudioKit chain. Here is my code:

    AVAudioUnit.instantiate(with: componentDescription, options: []) { (unit, error) in

        guard let audioUnit = unit as? AVAudioUnitMIDIInstrument else {return}

        let node = AKAudioUnitInstrument(audioUnit: audioUnit)

        self.mixer.connect(input: node)

The execution just hangs on the connect method without any errors.

Am I doing something wrong or does AudioKit not support AUv3 yet?

I am using AudioKit/Core (4.9.3)

0

There are 0 best solutions below