A beat is defined by the tempo of a musical piece.