separation of AudioPlayer and AudioAnalyser