 
     /// Resets to a new performance state.
     func newRecordingView() {
+        print("JAMVC: Reset to new recording view")
         if let recorder = recorder {
             recorder.recordingView.closePdFile()
             recorder.recordingView.removeFromSuperview()

                    
                } else {
                    // Just reset to a new recording
                    recorder.recordingEnabled = false
                    recorder.recordingIsDone = false
                    playButton.isEnabled = false
                    roboplayButton.isEnabled = false

    @IBAction func recordEnablePressed(_ sender: UIButton) {
        if let recorder = recorder {
            if !recorder.recordingEnabled {
                setRecordingEnabled()
            } else {
                setRecordingDisabled()
            }
        }
    }
