alphaTab.model.Automation
Automations are used to change the behaviour of a song.
class AutomationProperties​
isLinear​
Gets or sets whether the automation is applied linear.
- JavaScript
- C#
- Kotlin
isLinear: boolean;bool IsLinear { get; set; }var isLinear: BooleanisVisible​
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).
- JavaScript
- C#
- Kotlin
isVisible: boolean;bool IsVisible { get; set; }var isVisible: BooleanratioPosition​
Gets or sets the relative position of of the automation.
- JavaScript
- C#
- Kotlin
ratioPosition: number;double RatioPosition { get; set; }var ratioPosition: DoublesyncPointValue​
The sync point data in case of SyncPoint
- JavaScript
- C#
- Kotlin
syncPointValue: SyncPointData | undefined;SyncPointData? SyncPointValue { get; set; }var syncPointValue: SyncPointData?text​
Gets or sets the additional text of the automation.
- JavaScript
- C#
- Kotlin
text: string;string Text { get; set; }var text: Stringtype​
Gets or sets the type of the automation.
- JavaScript
- C#
- Kotlin
value​
Gets or sets the target value of the automation.
- JavaScript
- C#
- Kotlin
value: number;double Value { get; set; }var value: DoubleMethods​
buildInstrumentAutomation​
(no description)
- JavaScript
- C#
- Kotlin
static buildInstrumentAutomation(isLinear: boolean, ratioPosition: number, value: number): Automationstatic Automation BuildInstrumentAutomation(bool isLinear, double ratioPosition, double value)fun buildInstrumentAutomation(isLinear: Boolean, ratioPosition: Double, value: Double): Automation| Parameter | Summary |
|---|---|
isLinearAll | (no description) |
ratioPositionAll | (no description) |
valueAll | (no description) |
buildTempoAutomation​
(no description)
- JavaScript
- C#
- Kotlin
static buildTempoAutomation(isLinear: boolean, ratioPosition: number, value: number, reference: number, isVisible?: boolean): Automationstatic Automation BuildTempoAutomation(bool isLinear, double ratioPosition, double value, double reference, bool? isVisible)fun buildTempoAutomation(isLinear: Boolean, ratioPosition: Double, value: Double, reference: Double, isVisible: Boolean?): Automation| Parameter | Summary |
|---|---|
isLinearAll | (no description) |
ratioPositionAll | (no description) |
valueAll | (no description) |
referenceAll | (no description) |
isVisibleAll | (no description) |