Added time division and tempo derivation from reference.