         }
     }
     
-    
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
         recorder = nil

    var player: AVAudioPlayer!
    var meterTimer: Timer!
    var soundFileURL: URL!
    var audioList = [URL]()
    var numberOfAudio = 0
    var recordingCell: AudioCell?
    
    override func viewDidLoad() {
        super.viewDidLoad()

        if let recorder = recorder, recorder.isRecording {
            print("pausing")
            recorder.pause()
            sender.setTitle("Continue", for: UIControlState())
            
        } else {
            print("recording")
            sender.setTitle("Pause", for: UIControlState())
            recordWithPermission(false)
        }
    }
