Synchronous chord playing based on global bpm and number of beats