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

            }
            AudioKit.engine.connect(effect, to: mixer.avAudioNode)
        
            super.init(avAudioNode: mixer.avAudioNode)

            au[kDynamicsProcessorParam_Threshold] = threshold

    }

    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
