Data model
Last updated
Was this helpful?
Last updated
Was this helpful?
Song
The object is the main data model. It is mainly composed of a and a .
The ChordLeadSheet
object is the model of the Chord leadsheet editor. It holds the sections and the chord symbols.
The SongStructure
object is the model of the Song structure editor. It holds the , each one being linked to a parent section, and each one defining a set of RhythmParameter
values.
Combining the SongStructure
and the ChordLeadSheet
will give you the "unrolled" chord lead sheet for which the backing track must be generated.
MidiMix
The stores the Midi configuration of a given Song
. It is mainly used by the framework to control the Midi output device. Your MusicGenerator
will use it only to retrieve the Midi channel associated to a Rhythm
track (RhythmVoice
).
Supporting classes used in the Song
: , , , etc.
Supporting classes useful for your MusicGenerator
:
etc.
and : the MusicGenerator
needs to create a Phrase
for each rhythm track.
: a helper class to get the "unrolled" chord leadsheet descrive above.
: music phrase manipulation methods
: music phrase manipulation methods, including methods to adapt a music source phrase (e.g. a bass pattern for C7M) into a different chord (e.g. Ab-6)