Skip to main content

renderScore

since 0.9.4

Description​

Initiates a rendering of the given score.

renderScore(score: Score, trackIndexes?: number[]): void
ParameterSummary
scoreAll

The score containing the tracks to be rendered.

trackIndexesAll

The indexes of the tracks from the song that should be rendered. If not provided, the first track of the song will be shown.

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.RenderScore(generateScore(),[ 2, 3 ]);