Add a beatListener and frequency based beat detection.