 
             return outputValues
         }
-
-        let compressedDecibelSamples = averageSamplingFrom(sharedBot.decibelSamples, withCount: finalNumber)
-
+        
+        let compressedDecibelSamples = averageSamplingFrom(samples, withCount: finalNumber)
+        
         return compressedDecibelSamples
     }
 }

        sharedBot.playingFinish = finish

        let timeInterval = 1 / progressPeriodicReport.reportingFrequency
        let timer = NSTimer.scheduledTimerWithTimeInterval(timeInterval, target: sharedBot, selector: "reportPlayingProgress:", userInfo: nil, repeats: true)
        sharedBot.playingTimer?.invalidate()
        sharedBot.playingTimer = timer
    }

        sharedBot.recordingPeriodicReport = decibelSamplePeriodicReport

        let timeInterval = 1 / decibelSamplePeriodicReport.reportingFrequency
        let timer = NSTimer.scheduledTimerWithTimeInterval(timeInterval, target: sharedBot, selector: #selector(AudioBot.reportRecordingDecibel(_:)), userInfo: nil, repeats: true)
        sharedBot.recordingTimer?.invalidate()
        sharedBot.recordingTimer = timer
    }
