Skip to content

Commit

Permalink
Add some details about upcoming beat/bar timing values.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunchboy committed Apr 9, 2023
1 parent 0b72b12 commit 172ecb9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/modules/ROOT/pages/beats.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ To facilitate synchronization of variable-tempo tracks, the number of
milliseconds after which a variety of upcoming beats will occur are
reported.

NOTE: The timing values for all these upcoming beats are always
[NOTE]
====
The timing values for all these upcoming beats and bars are always
reported as if the track was being played at normal speed, with a
pitch adjustment of 0%. If a pitch adjustment is in effect, you will
need to perform the calculation to scale the beat timing values
yourself.
If the track ends before an upcoming beat or bar, then a timing value
of `0xffffffff` is reported for that entry.
====

[[status-beat-offsets]]_nextBeat_ at bytes{nbsp}``24``-`27` is the
number of milliseconds in which the very next beat will arrive.
_2ndBeat_ (bytes{nbsp}``28``-`2b`) is the number of milliseconds until
Expand Down

0 comments on commit 172ecb9

Please sign in to comment.