player.h
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
ulong absmilliseconds
The absolute millisecond (from the beginning of the song) at which this SpecialEvent object is played...
Definition: player.h:68
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
volatile int playing
When the player is playing (or paused), playing is set to 1.
Definition: player.h:162
volatile int moving
When the player seeking the position of the song, moving is set to 1.
Definition: player.h:172
PlayerController is a struct that is used by the MidiPlayer object to tell other parts of the applica...
Definition: player.h:138
volatile bool forcepgm[16]
Activate or disactivate the force to use a patch for a given channel.
Definition: player.h:215
volatile int volumepercentage
100 means no change, 50 halfs the volume, 200 doubles it (if possible), etc.
Definition: player.h:209
NoteArray * noteArray(void)
Returns and array with the notes playen through the song .
Definition: player.h:333
volatile int finished
When the player has finished playing a song, finished is set to 1.
Definition: player.h:177
Holds a resizeable array of note on/off and patch change events.
Definition: notearray.h:38
MidiFileInfo * information(void)
Returns information about the current MIDI file.
Definition: player.h:375
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
This struct stores text, lyrics and change tempo events among others.
Definition: player.h:48
struct SpecialEvent * next
This struct stores text, lyrics and change tempo events among others.
Definition: player.h:121
int ticks
MIDI ticks (from the beginning of the song) at which this event is played.
Definition: player.h:73
SpecialEvent * specialEvents()
Returns the linked list of SpecialEvents objects .
Definition: player.h:323
volatile int pgm[16]
Force a given patch in each channel at "this" moment, as determined by forcepgm.
Definition: player.h:221