Skip to main content

alphaTab.model.Automation

Automations are used to change the behaviour of a song.

 class Automation

Properties​

isLinear​

Gets or sets whether the automation is applied linear.

isLinear: boolean;

isVisible​

Whether this automation should be visible. (not all automation types are shown, e.g. tempo changes shown in the score while volume changes are not).

isVisible: boolean;

ratioPosition​

Gets or sets the relative position of of the automation.

ratioPosition: number;

syncPointValue​

The sync point data in case of SyncPoint

syncPointValue: SyncPointData | undefined;

text​

Gets or sets the additional text of the automation.

text: string;

type​

Gets or sets the type of the automation.

value​

Gets or sets the target value of the automation.

value: number;

Methods​

buildInstrumentAutomation​

(no description)

static buildInstrumentAutomation(isLinear: boolean, ratioPosition: number, value: number): Automation
ParameterSummary
isLinearAll

(no description)

ratioPositionAll

(no description)

valueAll

(no description)

buildTempoAutomation​

(no description)

static buildTempoAutomation(isLinear: boolean, ratioPosition: number, value: number, reference: number, isVisible?: boolean): Automation
ParameterSummary
isLinearAll

(no description)

ratioPositionAll

(no description)

valueAll

(no description)

referenceAll

(no description)

isVisibleAll

(no description)