SpecialEvent Struct Reference
#include <player.h>
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 48 of file player.h.
Public Attributes | |
int | id |
ulong | diffmilliseconds |
ulong | absmilliseconds |
int | ticks |
int | type |
char | text [1024] |
ulong | tempo |
int | num |
int | den |
SpecialEvent * | next |
Member Data Documentation
The absolute millisecond (from the beginning of the song) at which this SpecialEvent object is played.
- See also:
- diffmilliseconds
int SpecialEvent::id |
An integer ID, that is assigned in order to each SpecialEvent.
struct SpecialEvent* SpecialEvent::next |
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().
ulong SpecialEvent::tempo |
char SpecialEvent::text[1024] |
Type of event.
This currently includes:
- 0 - Nothing, end of linked list.
- 1 - Text Event . See text.
- 3 - Change Tempo Event . See tempo.
- 5 - Lyrics Event . See text.
- 6 - Change number of beats per measure . See num and den.
- 7 - Beat . See num and den.
The documentation for this struct was generated from the following file: