         if isStarted {
             stop()
         }
-        input = nil
     }
 }


    /// Enable the tap on input
    public func start() {
        guard let input = input, !isStarted else { return }
        isStarted = true

        // a node can only have one tap at a time installed on it

    }

    private func removeTap() {
        guard input.avAudioUnitOrNode.engine != nil else {
            AKLog("The tapped node isn't attached to the engine")
            return
        }

        input.avAudioUnitOrNode.removeTap(onBus: bus)
    }

    /// remove the tap and nil out the input reference
