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โ
Change to type
(no description) (Inherited from MidiEvent )
- 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) (Inherited from MidiEvent )
- 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) (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โ
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 )
- 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) |