player.h
MidiFileInfo * information(void)
Returns information about the current MIDI file.
Definition: player.h:375
SpecialEvent * specialEvents()
Returns the linked list of SpecialEvents objects .
Definition: player.h:323
NoteArray * noteArray(void)
Returns and array with the notes playen through the song .
Definition: player.h:333
int isSongLoaded(void)
Returns true if there's a song already loaded (with a previous call to loadSong() ) and false if not.
Definition: player.h:317
PlayerController is a struct that is used by the MidiPlayer object to tell other parts of the applica...
Definition: player.h:139
volatile int OK
When pause is released, if the caller must know when the player has opened the devices and is playing...
Definition: player.h:157
volatile int playing
When the player is playing (or paused), playing is set to 1.
Definition: player.h:162
volatile int pgm[16]
Force a given patch in each channel at "this" moment, as determined by forcepgm.
Definition: player.h:221
volatile int gm
If gm is 1, the song follows the General Midi standard, if gm is 0, the song is in MT 32 format.
Definition: player.h:202
volatile int moving
When the player seeking the position of the song, moving is set to 1.
Definition: player.h:172
volatile int volumepercentage
100 means no change, 50 halfs the volume, 200 doubles it (if possible), etc.
Definition: player.h:209
volatile int finished
When the player has finished playing a song, finished is set to 1.
Definition: player.h:177
volatile bool forcepgm[16]
Activate or disactivate the force to use a patch for a given channel.
Definition: player.h:215
This struct stores text, lyrics and change tempo events among others.
Definition: player.h:49
int ticks
MIDI ticks (from the beginning of the song) at which this event is played.
Definition: player.h:73
struct SpecialEvent * next
This struct stores text, lyrics and change tempo events among others.
Definition: player.h:121
ulong absmilliseconds
The absolute millisecond (from the beginning of the song) at which this SpecialEvent object is played...
Definition: player.h:68