             AudioController.sharedInstance.mixAudio(kickVolume: kickMixer.value, snareVolume: snareMixer.value, tomVolume: tomMixer.value, hatVolume: hatMixer.value, Kickpan: kickKnob.value, snarePan: snareKnob.value, tomPan: tomKnob.value, hatPan: hatKnob.value)
         }
     }
-    
 }

        }
    }
    
    
    
    @IBAction func setMixSettings(_ sender: Any) {
        enterMixSettings.backgroundColor = enabledColor
        tomKnob.roundValue()

        hatKnob.value = Float(AudioController.sharedInstance.hatPlayer.pan)
        enterMixSettings.layer.cornerRadius = 5
        
        // Do any additional setup after loading the view.
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    @IBAction func changeHatDb(_ sender: Any) {
        if hatMixer.isTracking {
