 
         sharedBot.recordingPeriodicReport = decibelSamplePeriodicReport
 
-        guard decibelSamplePeriodicReport.reportingFrequency > 0 else {
-            throw Error.InvalidReportingFrequency
-        }
         let timeInterval = 1 / decibelSamplePeriodicReport.reportingFrequency
         let timer = NSTimer.scheduledTimerWithTimeInterval(timeInterval, target: sharedBot, selector: "reportRecordingDecibel:", userInfo: nil, repeats: true)
         sharedBot.recordingTimer?.invalidate()

    public func audioRecorderEncodeErrorDidOccur(recorder: AVAudioRecorder, error: NSError?) {

        print("AudioBot audioRecorderEncodeErrorDidOccur: \(error)")
    }
}


            throw Error.NoFileURL
        }

        guard decibelSamplePeriodicReport.reportingFrequency > 0 else {
            throw Error.InvalidReportingFrequency
        }

        let settings: [String: AnyObject] = settings ?? [
            AVFormatIDKey: Int(kAudioFormatMPEG4AAC),
            AVEncoderAudioQualityKey : AVAudioQuality.Max.rawValue,
