Skip to main content

alphaTab.midi.NoteBendEvent

Represents a single note pitch bend change.

 class NoteBendEvent extends MidiEvent

Propertiesโ€‹

channelโ€‹

The channel on which the note is played for which the pitch changes.

channel: number;

commandโ€‹

Deprecated

Change to type

(no description) (Inherited from MidiEvent )

readonly command: MidiEventType;

data1โ€‹

Deprecated

Use individual properties to access data.

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โ€‹

Deprecated

Use individual properties to access data.

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;

messageโ€‹

Deprecated

Use individual properties to access data.

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 for which the pitch changes.

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

valueโ€‹

The value to which the pitch changes. This value is according to the MIDI specification.

value: number;

Methodsโ€‹

writeToโ€‹

(no description)

writeTo(_s: IWriteable): void
ParameterSummary
_sAll

(no description)