MidiPlayerTK.MidiListPlayer.MidiListPlayerStatus

Midi Player status for the two MIDI Players defined in the MidiListPlayer.
More...

Public Attributes

float EndAt
 
MidiFilePlayer MPTK_MidiFilePlayer
 
float PctVolume
 
enStatusPlayer StatusPlayer
 
float Volume
 

Detailed Description

Midi Player status for the two MIDI Players defined in the MidiListPlayer.

Only one is playing at a time and they are switched at the end of a midi.
There is an overlap time between them when the two are playing.

Member Data Documentation

◆ EndAt

float MidiPlayerTK.MidiListPlayer.MidiListPlayerStatus.EndAt

Time end of the Midi playing in millisecond.

◆ MPTK_MidiFilePlayer

MidiFilePlayer MidiPlayerTK.MidiListPlayer.MidiListPlayerStatus.MPTK_MidiFilePlayer

Access all the API available with MidiFilePlayer.

◆ PctVolume

float MidiPlayerTK.MidiListPlayer.MidiListPlayerStatus.PctVolume

Percentage of volume to applied. Range [0, 1].
Increase from 0 to 1 when starting during the overlap time.
Decrease from 1 to 0 when ending during the overlap time.

◆ StatusPlayer

enStatusPlayer MidiPlayerTK.MidiListPlayer.MidiListPlayerStatus.StatusPlayer

Current status of the player.

◆ Volume

float MidiPlayerTK.MidiListPlayer.MidiListPlayerStatus.Volume

Global volume defined for all the Midi playing.