alphaTab.midi.MidiEvent
Represents a midi event.
abstract class MidiEventPropertiesโ
commandโ
Change to type
(no description)
- JavaScript
- C#
- Kotlin
data1โ
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)
- JavaScript
- C#
- Kotlin
readonly data1: number;double Data1 { get; }val data1: Doubledata2โ
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)
- JavaScript
- C#
- Kotlin
readonly data2: number;double Data2 { get; }val data2: Doublemessageโ
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.
- JavaScript
- C#
- Kotlin
readonly message: number;double Message { get; }val message: Doubletickโ
Gets or sets the absolute tick of this midi event.
- JavaScript
- C#
- Kotlin
tick: number;double Tick { get; set; }var tick: Doubletrackโ
Gets or sets the track to which the midi event belongs.
- JavaScript
- C#
- Kotlin
track: number;double Track { get; set; }var track: Doubletypeโ
Gets or sets the midi command (type) of this event.
- JavaScript
- C#
- Kotlin
Methodsโ
writeToโ
Writes the midi event as binary into the given stream.
- JavaScript
- C#
- Kotlin
abstract writeTo(s: IWriteable): voidabstract void WriteTo(IWriteable s)fun writeTo(s: IWriteable): Unit| Parameter | Summary |
|---|---|
sAll | The stream to write to. |