Skip to main content

alphaTab.model.InstrumentArticulation

Describes an instrument articulation which is used for percussions.

 class InstrumentArticulation

Properties​

elementType​

Gets or sets the type of the element for which this articulation is for.

elementType: string;

id​

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.

id: number;

noteHeadDefault​

Gets or sets the note head to display by default.

noteHeadDefault: MusicFontSymbol;

noteHeadHalf​

Gets or sets the note head to display for half duration notes.

noteHeadHalf: MusicFontSymbol;

noteHeadWhole​

Gets or sets the note head to display for whole duration notes.

noteHeadWhole: MusicFontSymbol;

outputMidiNumber​

Gets or sets which midi key to use when playing the note.

outputMidiNumber: number;

staffLine​

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.

staffLine: number;

techniqueSymbol​

Gets or sets which additional technique symbol should be placed for the note head.

techniqueSymbol: MusicFontSymbol;

techniqueSymbolPlacement​

Gets or sets where the technique symbol should be placed.

techniqueSymbolPlacement: TechniqueSymbolPlacement;

uniqueId​

A unique id for this articulation.

readonly uniqueId: string;

Methods​

getSymbol​

(no description)

getSymbol(duration: Duration): MusicFontSymbol
ParameterSummary
durationAll

(no description)