                     )
                 }
                 if type == kAudioUnitType_RemoteEffect {
-                    self.controller.addFilterPort(
-                        ABFilterPort(
+                    self.controller.addAudioFilterPort(
+                        ABAudioFilterPort(
                             name: name,
                             title: name,
                             audioComponentDescription: AudioComponentDescription(

                
                if type == kAudioUnitType_RemoteInstrument ||
                    type == kAudioUnitType_RemoteGenerator {
                    self.controller.addSenderPort(
                        ABSenderPort(
                            name: name,
                            title: name,
                            audioComponentDescription: AudioComponentDescription(

    }
    
    var isConnectedToInput: Bool {
        return controller.isConnectedToAudiobus(portOfType: ABPortTypeAudioSender) ||
            audioUnit.isConnectedToInterAppAudio(nodeOfType: kAudioUnitType_RemoteEffect)
    }
    
    // MARK: Connections
