Added the median filter, removed the audio beats for output