alphaTab.midi.AlphaTabMetronomeEvent
Represents a metronome event. alphaTab places these events bar by bar into the midi files generated for playback (respecting repeats, time signatures and pick-up bars). They are not written into standard midi files (SMF1 mode). For midi files without these events the synthesizer generates them during playback according to the time signatures.
class AlphaTabMetronomeEvent extends AlphaTabSysExEventProperties​
AlphaTabManufacturerId​
(no description) (Inherited from AlphaTabSysExEvent )
- JavaScript
- C#
- Kotlin
static readonly AlphaTabManufacturerId: unknown;static Unknown AlphaTabManufacturerId { get; }companion object { val AlphaTabManufacturerId: unknown }command​
(no description) (Inherited from MidiEvent )
- JavaScript
- C#
- Kotlin
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 )
- JavaScript
- C#
- Kotlin
readonly data1: number;double Data1 { get; }val data1: Doubledata2​
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 )
- JavaScript
- C#
- Kotlin
readonly data2: number;double Data2 { get; }val data2: DoubleisMetronome​
Gets a value indicating whether the current event is a metronome event.
- JavaScript
- C#
- Kotlin
readonly isMetronome: boolean;bool IsMetronome { get; }val isMetronome: Booleanmessage​
The 32-bit encoded raw midi message. Deprecated since 1.3.0. Use the properties of the subclasses instead. (Inherited from MidiEvent )
- JavaScript
- C#
- Kotlin
readonly message: number;double Message { get; }val message: DoublemetronomeDurationInMilliseconds​
The duration of the metronome tick in milliseconds.
- JavaScript
- C#
- Kotlin
metronomeDurationInMilliseconds: number;double MetronomeDurationInMilliseconds { get; set; }var metronomeDurationInMilliseconds: DoublemetronomeDurationInTicks​
The duration of the metronome tick in MIDI ticks.
- JavaScript
- C#
- Kotlin
metronomeDurationInTicks: number;double MetronomeDurationInTicks { get; set; }var metronomeDurationInTicks: DoubleMetronomeEventId​
(no description) (Inherited from AlphaTabSysExEvent )
- JavaScript
- C#
- Kotlin
static readonly MetronomeEventId: unknown;static Unknown MetronomeEventId { get; }companion object { val MetronomeEventId: unknown }metronomeNumerator​
The metronome counter as per current time signature.
- JavaScript
- C#
- Kotlin
metronomeNumerator: number;double MetronomeNumerator { get; set; }var metronomeNumerator: DoubleRestEventId​
(no description) (Inherited from AlphaTabSysExEvent )
- JavaScript
- C#
- Kotlin
static readonly RestEventId: unknown;static Unknown RestEventId { get; }companion object { val RestEventId: unknown }tick​
Gets or sets the absolute tick of this midi event. (Inherited from MidiEvent )
- JavaScript
- C#
- Kotlin
tick: number;double Tick { get; set; }var tick: Doubletrack​
Gets or sets the track to which the midi event belongs. (Inherited from MidiEvent )
- JavaScript
- C#
- Kotlin
track: number;double Track { get; set; }var track: Doubletype​
Gets or sets the midi command (type) of this event. (Inherited from MidiEvent )
- JavaScript
- C#
- Kotlin
Methods​
writeTo​
(no description) (Inherited from AlphaTabSysExEvent )
- JavaScript
- C#
- Kotlin
| Parameter | Summary |
|---|---|
sAll | (no description) |