alphaTab.model.InstrumentArticulation
Describes an instrument articulation which is used for percussions.
class InstrumentArticulationProperties​
elementType​
Gets or sets the type of the element for which this articulation is for.
- JavaScript
- C#
- Kotlin
elementType: string;string ElementType { get; set; }var elementType: Stringid​
An internal ID to identify this articulation for purposes like mapping during exports.The exact meaning of the ID is not defined and dependes on the importer source.
- JavaScript
- C#
- Kotlin
id: number;double Id { get; set; }var id: DoublenoteHeadDefault​
Gets or sets the note head to display by default.
- JavaScript
- C#
- Kotlin
noteHeadDefault: MusicFontSymbol;MusicFontSymbol NoteHeadDefault { get; set; }var noteHeadDefault: MusicFontSymbolnoteHeadHalf​
Gets or sets the note head to display for half duration notes.
- JavaScript
- C#
- Kotlin
noteHeadHalf: MusicFontSymbol;MusicFontSymbol NoteHeadHalf { get; set; }var noteHeadHalf: MusicFontSymbolnoteHeadWhole​
Gets or sets the note head to display for whole duration notes.
- JavaScript
- C#
- Kotlin
noteHeadWhole: MusicFontSymbol;MusicFontSymbol NoteHeadWhole { get; set; }var noteHeadWhole: MusicFontSymboloutputMidiNumber​
Gets or sets which midi key to use when playing the note.
- JavaScript
- C#
- Kotlin
outputMidiNumber: number;double OutputMidiNumber { get; set; }var outputMidiNumber: DoublestaffLine​
The line the note head should be shown for standard notation. This value is a bit special and its semantics are adopted from Guitar Pro: Staff lines are actually "steps" including lines and spaces on the staff. 1 means the note is on the top line of the staff and from there its counting downwards.
- JavaScript
- C#
- Kotlin
staffLine: number;double StaffLine { get; set; }var staffLine: DoubletechniqueSymbol​
Gets or sets which additional technique symbol should be placed for the note head.
- JavaScript
- C#
- Kotlin
techniqueSymbol: MusicFontSymbol;MusicFontSymbol TechniqueSymbol { get; set; }var techniqueSymbol: MusicFontSymboltechniqueSymbolPlacement​
Gets or sets where the technique symbol should be placed.
- JavaScript
- C#
- Kotlin
techniqueSymbolPlacement: TechniqueSymbolPlacement;TechniqueSymbolPlacement TechniqueSymbolPlacement { get; set; }var techniqueSymbolPlacement: TechniqueSymbolPlacementuniqueId​
A unique id for this articulation.
- JavaScript
- C#
- Kotlin
readonly uniqueId: string;string UniqueId { get; }val uniqueId: StringMethods​
getSymbol​
(no description)
- JavaScript
- C#
- Kotlin
getSymbol(duration: Duration): MusicFontSymbolMusicFontSymbol GetSymbol(Duration duration)fun getSymbol(duration: Duration): MusicFontSymbol| Parameter | Summary |
|---|---|
durationAll | (no description) |