Listen to a sound file and determine the rhythm.