Planeshift
Public Member Functions | Public Attributes

SongData Struct Reference

This struct keeps the data about the instrument and the musical sheet. More...

#include <songdata.h>

List of all members.

Public Member Functions

 SongData ()
 Constructor.

Public Attributes

uint beats
 numerator of the time signature.
uint beatType
 denumerator of the time signature.
uint divisions
 number of divisions of the quarter coded in the sheet.
int fifths
 > 0 is the number of sharps, < 0 the number of flats.
Instrumentinstrument
 the instrument that the player uses to play this song.
csRefArray< iDocumentNode > measures
 the measures of the musical sheet.
ScoreStatistics scoreStats
 keep the statistics of the score.
uint tempo
 suggested tempo in quarter notes per minute.

Detailed Description

This struct keeps the data about the instrument and the musical sheet.

Definition at line 48 of file songdata.h.


Constructor & Destructor Documentation

SongData::SongData ( ) [inline]

Constructor.

Initialize everything to 0.

Definition at line 62 of file songdata.h.


Member Data Documentation

numerator of the time signature.

Definition at line 53 of file songdata.h.

denumerator of the time signature.

Definition at line 54 of file songdata.h.

number of divisions of the quarter coded in the sheet.

Definition at line 51 of file songdata.h.

> 0 is the number of sharps, < 0 the number of flats.

Definition at line 52 of file songdata.h.

the instrument that the player uses to play this song.

Definition at line 50 of file songdata.h.

csRefArray<iDocumentNode> SongData::measures

the measures of the musical sheet.

Definition at line 57 of file songdata.h.

keep the statistics of the score.

Definition at line 56 of file songdata.h.

suggested tempo in quarter notes per minute.

Definition at line 55 of file songdata.h.


The documentation for this struct was generated from the following file: