Click here to download our source code.
Click here to download our piece in wav format.
Our score is written in XML. The first element is the "score", which has attributes for the beats per minute (bpm) and the beatspermeasure. The score element has a series of child nodes called "instrument".
Each instrument has a name defined in the "instrument" attribute. In addition each instrument that is not an effect has a 'send' defined for each effect to control the amplitude of the audio that is sent to the given effect.
Finally, each instrument has a number of child nodes called "note". Each note describes a sound that will be played at that given time by the instrument. Each note has a duration, beat, possibly a measure, and a number of other instrument specific attributes. The duration and beat are self explanatory. The measure is only added when the current measure needs to be incremented. This is done by adding this to the xml: measure="1". This tells the program to increment the current measure by 1.