27 #include <csutil/refarr.h> 28 #include <iutil/document.h> 29 #include <isndsys/ss_data.h> 30 #include <csutil/csstring.h> 31 #include <csutil/scf_implementation.h> 97 bool Initialize(csRef<iDocument> musicalScore);
105 virtual size_t GetDataSize();
110 virtual size_t GetFrameCount();
111 virtual const char* GetDescription();
112 virtual const csSndSysSoundFormat* GetFormat();
113 virtual void SetDescription(
const char* description);
116 virtual iSndSysStream* CreateStream(csSndSysSoundFormat* renderFormat,
int mode3D);
120 csString description;
ScoreStatistics scoreStats
keep the statistics of the score.
uint tempo
suggested tempo in quarter notes per minute.
csRefArray< iDocumentNode > measures
the measures of the musical sheet.
This implements a data class that can be used for the CS sound system to play a song from a musical s...
uint beats
numerator of the time signature.
This struct keeps the data about the instrument and the musical sheet.
Instrument * instrument
the instrument that the player uses to play this song.
int fifths
0 is the number of sharps, < 0 the number of flats.
void void Initialize(iObjectRegistry *object_reg)
uint divisions
number of divisions of the quarter coded in the sheet.
This struct keeps general information about a score.
uint beatType
denumerator of the time signature.
This class represent a musical instrument.