Skip to main content

alphaTab.midi.NoteOnEvent

Represents a note being played

 class NoteOnEvent extends NoteEvent

Properties​

channel​

The channel on which the note is played. (Inherited from NoteEvent )

channel: number;

command​

(no description) (Inherited from MidiEvent )

readonly command: MidiEventType;

data1​

(no description) (Inherited from NoteEvent )

readonly data1: number;

data2​

(no description) (Inherited from NoteEvent )

readonly data2: 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;

noteKey​

The key of the note being played (aka. the note height). (Inherited from NoteEvent )

noteKey: number;

noteVelocity​

The velocity in which the 'key' of the note is pressed (aka. the loudness/intensity of the note). (Inherited from NoteEvent )

noteVelocity: 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)