 import AVFoundation // Microphone Access
 import Photos       // Photo Library Access
 import Speech       // Speech Transcription
+
 
 class MemoriesViewController: UICollectionViewController {
     

    var audioRecorder: AVAudioRecorder?
    // the URL of the file used to record to
    var recordingURL: URL!
    
    
    // MARK: - View Lifecycle

    // Called to record the audio narration through the microphone
    
    func recordNarration() {
        // if audio is playing - make sure to stop it
        audioPlayer?.stop()
        
        // set the background color to RED to indicate recording is ON
        collectionView?.backgroundColor = UIColor(red: 0.5, green: 0, blue: 0, alpha: 1)
        
