SpecialEvent Struct Reference
This struct stores text, lyrics and change tempo events among others. Struct used to store certain events. More...
#include <player.h>
Collaboration diagram for SpecialEvent:

Public Attributes | |
int | id |
An integer ID, that is assigned in order to each SpecialEvent. | |
ulong | diffmilliseconds |
Delta milliseconds from the previous SpecialEvent. | |
ulong | absmilliseconds |
The absolute millisecond (from the beginning of the song) at which this SpecialEvent object is played. | |
int | ticks |
MIDI ticks (from the beginning of the song) at which this event is played. | |
int | type |
Type of event. | |
char | text [1024] |
Text field . | |
ulong | tempo |
Tempo field . | |
int | num |
Numerator . | |
int | den |
Denominator . | |
SpecialEvent * | next |
This struct stores text, lyrics and change tempo events among others. |
Detailed Description
This struct stores text, lyrics and change tempo events among others. Struct used to store certain events.It includes the main information for an event. That is, the absolute millisecond at which this event is played (from the beginning of the song), the delta milliseconds from the previous SpecialEvent, an ID, etc.
This struct is used as nodes for a linked list, which you can get using MidiPlayer::specialEvents().
- Version:
- 0.9.5 17/01/2000
- Author:
- Antonio Larrosa Jimenez <larrosa@kde.org>
Definition at line 47 of file player.h.
Member Data Documentation
|
An integer ID, that is assigned in order to each SpecialEvent.
|
|
Delta milliseconds from the previous SpecialEvent.
|
|
The absolute millisecond (from the beginning of the song) at which this SpecialEvent object is played.
|
|
MIDI ticks (from the beginning of the song) at which this event is played.
|
|
Type of event. This currently includes: The "Change number of beats per measure" and "beat" events are not really in the midi file, but they are added to the linked list in case you have an use for it. |
|
Text field . It has a meaning only for Text and Lyrics events. |
|
Tempo field . It has a meaning only for Change Tempo events. |
|
Numerator . It has a meaning only for Change number of beats per measure and beat events. |
|
Denominator . It has a meaning only for Change number of beats per measure and beat events. |
|
This struct stores text, lyrics and change tempo events among others. It includes the main information for an event. That is, the absolute millisecond at which this event is played (from the beginning of the song), the delta milliseconds from the previous SpecialEvent, an ID, etc. This struct is used as nodes for a linked list, which you can get using MidiPlayer::specialEvents(). |
The documentation for this struct was generated from the following file: