Skip to main content

alphaTab.midi.TimeSignatureEvent

Represents a time signature change event.

 class TimeSignatureEvent extends MidiEvent

Properties​

command​

(no description) (Inherited from MidiEvent )

readonly command: MidiEventType;

data1​

The first data byte. Meaning depends on midi event type. (Deprecated since 1.3.0, use the specific properties of the midi event depending on type) (Inherited from MidiEvent )

readonly data1: number;

data2​

The second data byte Meaning depends on midi event type. (Deprecated since 1.3.0, use the specific properties of the midi event depending on type) (Inherited from MidiEvent )

readonly data2: number;

denominatorIndex​

The denominator index is a negative power of two: 2 represents a quarter-note, 3 represents an eighth-note, etc. Denominator = 2^(index)

denominatorIndex: number;

message​

The 32-bit encoded raw midi message. Deprecated since 1.3.0. Use the properties of the subclasses instead. (Inherited from MidiEvent )

readonly message: number;

midiClocksPerMetronomeClick​

The number of MIDI clocks in a metronome click

midiClocksPerMetronomeClick: number;

numerator​

The time signature numerator.

numerator: number;

thirtySecondNodesInQuarter​

The number of notated 32nd-notes in what MIDI thinks of as a quarter-note (24 MIDI Clocks).

thirtySecondNodesInQuarter: number;

tick​

Gets or sets the absolute tick of this midi event. (Inherited from MidiEvent )

tick: number;

track​

Gets or sets the track to which the midi event belongs. (Inherited from MidiEvent )

track: number;

type​

Gets or sets the midi command (type) of this event. (Inherited from MidiEvent )

Methods​

writeTo​

(no description)

writeTo(s: IWriteable): void
ParameterSummary
sAll

(no description)