Skip to content

absoluteDisplayStart vs absolutePlaybackStart #961

Answered by Danielku15
mxAlexG asked this question in Q&A
Discussion options

You must be logged in to vote

The difference is documented on the model:

alphaTab/src/model/Beat.ts

Lines 371 to 381 in 4d8eac9

/**
* The timeline position of the voice within the current bar as it is displayed. (unit: midi ticks)
* This might differ from the actual playback time due to special grace types.
*/
public displayStart: number = 0;
/**
* The timeline position of the voice within the current bar as it is played. (unit: midi ticks)
* This might differ from the actual playback time due to special grace types.
*/
public playbackStart: number = 0;

It mainly relates to the special handling of grace notes within music notation. Their time wh…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Danielku15
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants