Planeshift
SongData Struct Reference

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

#include <songdata.h>

Public Member Functions

 SongData ()
 Constructor. More...
 

Public Attributes

uint beats
 numerator of the time signature. More...
 
uint beatType
 denumerator of the time signature. More...
 
uint divisions
 number of divisions of the quarter coded in the sheet. More...
 
int fifths
 

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

More...
 
Instrumentinstrument
 the instrument that the player uses to play this song. More...
 
csRefArray< iDocumentNode > measures
 the measures of the musical sheet. More...
 
ScoreStatistics scoreStats
 keep the statistics of the score. More...
 
uint tempo
 suggested tempo in quarter notes per minute. More...
 

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

uint SongData::beats

numerator of the time signature.

Definition at line 53 of file songdata.h.

uint SongData::beatType

denumerator of the time signature.

Definition at line 54 of file songdata.h.

uint SongData::divisions

number of divisions of the quarter coded in the sheet.

Definition at line 51 of file songdata.h.

int SongData::fifths

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

Definition at line 52 of file songdata.h.

Instrument* SongData::instrument

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.

ScoreStatistics SongData::scoreStats

keep the statistics of the score.

Definition at line 56 of file songdata.h.

uint SongData::tempo

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: