Convert time to beats and beats to time page.