             }
             AudioKit.engine.connect(effect, to: mixer.avAudioNode)
         
+            self.compressorEffect = effect
+        
             super.init(avAudioNode: mixer.avAudioNode)
 
             au[kDynamicsProcessorParam_Threshold] = threshold

        stop()
        
        disconnect(nodes: [inputGain!.avAudioNode, effectGain!.avAudioNode, mixer.avAudioNode])
        AudioKit.engine.detach(_Self.effect)
    }
}

    }

    fileprivate var lastKnownMix: Double = 100
    fileprivate var inputGain: AKMixer? 
    fileprivate var effectGain: AKMixer?
    
    fileprivate var compressorEffect: AVAudioUnitEffect
    
    /// Tells whether the node is processing (ie. started, playing, or active)
    open dynamic var isStarted = true
