SongSequence

Wrapper around a song sequence.

Constructors

this
this(MusicalNote note, size_t bar, size_t octave, size_t[] sequence)

Creates a new song sequence.

Members

Functions

addEntry
void addEntry(size_t length)

Adds an entry to the sequence.

toJson
string toJson()

Converts the sequence to json.

toString
string toString()

Converts the sequence to a string. This calls toJson().

toXml
string toXml()

Converts the sequence to xml.

Properties

bar
size_t bar [@property getter]

Gets the bar of the sequence.

entries
SongSequenceEntryCollection entries [@property getter]

Gets the entries of the sequence.

note
MusicalNote note [@property getter]

Gets the note of the sequence.

octave
size_t octave [@property getter]

Gets the octave of the sequence.

Meta