Skip to content

Commit

Permalink
Expose the midi tick lookup (relates to #732)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 committed Feb 12, 2022
1 parent 3d60284 commit e8b5850
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/AlphaTabApiBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,14 @@ export class AlphaTabApiBase<TSettings> {
}

private _tickCache: MidiTickLookup | null = null;

/**
* Gets the tick cache related to the current score.
*/
public get tickCache(): MidiTickLookup | null {
return this._tickCache;
}

/**
* Gets the alphaSynth player used for playback. This is the low-level API to the Midi synthesizer used for playback.
*/
Expand Down

0 comments on commit e8b5850

Please sign in to comment.