alphaTab.midi.AlphaSynthMidiFileHandler
This implementation of the IMidiFileHandler
generates a MidiFile object which can be used in AlphaSynth for playback.
class AlphaSynthMidiFileHandler implements IMidiFileHandlerProperties​
tickShift​
An indicator by how many midi-ticks the song contents are shifted. Grace beats at start might require a shift for the first beat to start at 0. This information can be used to translate back the player time axis to the music notation.
- JavaScript
- C#
- Kotlin
tickShift: number;double TickShift { get; set; }var tickShift: DoubleMethods​
addBend​
(no description)
- JavaScript
- C#
- Kotlin
addBend(track: number, tick: number, channel: number, value: number): voidvoid AddBend(double track, double tick, double channel, double value)fun addBend(track: Double, tick: Double, channel: Double, value: Double): Unit| Parameter | Summary |
|---|---|
trackAll | (no description) |
tickAll | (no description) |
channelAll | (no description) |
valueAll | (no description) |
addControlChange​
(no description)
- JavaScript
- C#
- Kotlin
addControlChange(track: number, tick: number, channel: number, controller: ControllerType, value: number): voidvoid AddControlChange(double track, double tick, double channel, ControllerType controller, double value)fun addControlChange(track: Double, tick: Double, channel: Double, controller: ControllerType, value: Double): Unit| Parameter | Summary |
|---|---|
trackAll | (no description) |
tickAll | (no description) |
channelAll | (no description) |
controllerAll | (no description) |
valueAll | (no description) |
addNote​
(no description)
- JavaScript
- C#
- Kotlin
addNote(track: number, start: number, length: number, key: number, velocity: number, channel: number): voidvoid AddNote(double track, double start, double length, double key, double velocity, double channel)fun addNote(track: Double, start: Double, length: Double, key: Double, velocity: Double, channel: Double): Unit| Parameter | Summary |
|---|---|
trackAll | (no description) |
startAll | (no description) |
lengthAll | (no description) |
keyAll | (no description) |
velocityAll | (no description) |
channelAll | (no description) |
addNoteBend​
(no description)
- JavaScript
- C#
- Kotlin
addNoteBend(track: number, tick: number, channel: number, key: number, value: number): voidvoid AddNoteBend(double track, double tick, double channel, double key, double value)fun addNoteBend(track: Double, tick: Double, channel: Double, key: Double, value: Double): Unit| Parameter | Summary |
|---|---|
trackAll | (no description) |
tickAll | (no description) |
channelAll | (no description) |
keyAll | (no description) |
valueAll | (no description) |
addProgramChange​
(no description)
- JavaScript
- C#
- Kotlin
addProgramChange(track: number, tick: number, channel: number, program: number): voidvoid AddProgramChange(double track, double tick, double channel, double program)fun addProgramChange(track: Double, tick: Double, channel: Double, program: Double): Unit| Parameter | Summary |
|---|---|
trackAll | (no description) |
tickAll | (no description) |
channelAll | (no description) |
programAll | (no description) |
addRest​
(no description)
- JavaScript
- C#
- Kotlin
addRest(track: number, tick: number, channel: number): voidvoid AddRest(double track, double tick, double channel)fun addRest(track: Double, tick: Double, channel: Double): Unit| Parameter | Summary |
|---|---|
trackAll | (no description) |
tickAll | (no description) |
channelAll | (no description) |
addTempo​
(no description)
- JavaScript
- C#
- Kotlin
addTempo(tick: number, tempo: number): voidvoid AddTempo(double tick, double tempo)fun addTempo(tick: Double, tempo: Double): Unit| Parameter | Summary |
|---|---|
tickAll | (no description) |
tempoAll | (no description) |
addTickShift​
(no description)
- JavaScript
- C#
- Kotlin
addTickShift(tickShift: number): voidvoid AddTickShift(double tickShift)fun addTickShift(tickShift: Double): Unit| Parameter | Summary |
|---|---|
tickShiftAll | (no description) |
addTimeSignature​
(no description)
- JavaScript
- C#
- Kotlin
addTimeSignature(tick: number, timeSignatureNumerator: number, timeSignatureDenominator: number): voidvoid AddTimeSignature(double tick, double timeSignatureNumerator, double timeSignatureDenominator)fun addTimeSignature(tick: Double, timeSignatureNumerator: Double, timeSignatureDenominator: Double): Unit| Parameter | Summary |
|---|---|
tickAll | (no description) |
timeSignatureNumeratorAll | (no description) |
timeSignatureDenominatorAll | (no description) |
finishTrack​
(no description)
- JavaScript
- C#
- Kotlin
finishTrack(track: number, tick: number): voidvoid FinishTrack(double track, double tick)fun finishTrack(track: Double, tick: Double): Unit| Parameter | Summary |
|---|---|
trackAll | (no description) |
tickAll | (no description) |