Skip to main content

alphaTab.model.Score

The score is the root node of the complete model. It stores the basic information of a song and stores the sub components.

 class Score

Propertiesโ€‹

albumโ€‹

The album of this song.

album: string;

artistโ€‹

The artist who performs this song.

artist: string;

backingTrackโ€‹

Information about the backing track that can be used instead of the synthesized audio.

backingTrack: BackingTrack | undefined;

The owner of the copyright of this song.

copyright: string;

defaultSystemsLayoutโ€‹

Defines how many bars are placed into the systems (rows) when displaying multiple tracks unless a value is set in the systemsLayout.

defaultSystemsLayout: number;

instructionsโ€‹

Additional instructions

instructions: string;

masterBarsโ€‹

Gets or sets a list of all masterbars contained in this song.

masterBars: MasterBar[];

musicโ€‹

The author of the music.

music: string;

noticesโ€‹

Some additional notes about the song.

notices: string;

styleโ€‹

The style customizations for this item.

style?: ScoreStyle;

stylesheetโ€‹

Gets or sets the rendering stylesheet for this song.

stylesheet: RenderStylesheet;

subTitleโ€‹

The subtitle of the song.

subTitle: string;

systemsLayoutโ€‹

Defines how many bars are placed into the systems (rows) when displaying multiple tracks.

systemsLayout: number[];

tabโ€‹

The author of this tablature.

tab: string;

tempoโ€‹

The initial tempo of the song in BPM. The tempo might change via tempoAutomations .

readonly tempo: number;

tempoLabelโ€‹

The name/label of the initial tempo.

readonly tempoLabel: string;

titleโ€‹

The title of the song.

title: string;

tracksโ€‹

Gets or sets a list of all tracks contained in this song.

tracks: Track[];

wordsโ€‹

The author of the song lyrics

words: string;

Methodsโ€‹

addMasterBarโ€‹

(no description)

addMasterBar(bar: MasterBar): void
ParameterSummary
barAll

(no description)

addTrackโ€‹

(no description)

addTrack(track: Track): void
ParameterSummary
trackAll

(no description)

applyFlatSyncPointsโ€‹

Applies the given list of FlatSyncPoint to this song.

applyFlatSyncPoints(syncPoints: FlatSyncPoint[]): void
ParameterSummary
syncPointsAll

The list of sync points to apply.

exportFlatSyncPointsโ€‹

Exports all sync points in this song to a FlatSyncPoint list.

exportFlatSyncPoints(): FlatSyncPoint[]

finishโ€‹

(no description)

finish(settings: Settings): void
ParameterSummary
settingsAll

(no description)

rebuildRepeatGroupsโ€‹

(no description)

rebuildRepeatGroups(): void

resetIdsโ€‹

Resets all internal ID generators.

static resetIds(): void