SongTrack

Wrapper around a song track.

Constructors

this
this(SongChord chord)

Creates a new track.

this
this(SongMelody melody)

Creates a new track.

this
this(SongSequence sequence)

Creates a new track.

Members

Functions

getMetaAutomation
FloatAutomation getMetaAutomation(string key)

Gets a meta automation.

getMetaData
T getMetaData(string key)

Gets metadata from the track.

setMetaAutomation
void setMetaAutomation(string key, float value, size_t automationPoint)

Sets the meta-automation of the track.

setMetaData
void setMetaData(string key, T value)

Sets metadata of the track.

toJson
string toJson()

Converts the song track to json.

toString
string toString()

Converts the song track to a string. Calls toJson().

toXml
string toXml()

Converts the song track to xml.

Properties

bar
size_t bar [@property getter]

Gets the bar of the track.

bar
size_t bar [@property setter]

Sets the bar of the track.

chord
SongChord chord [@property getter]

Gets the chord.

chord
SongChord chord [@property setter]

Sets the chord. This will nullify the melody and sequence if any.

dry
FloatAutomation dry [@property getter]

Gets the dryness of the track.

melody
SongMelody melody [@property getter]

Gets the melody.

melody
SongMelody melody [@property setter]

Sets the melody. This will nullify the chord and sequence if any.

name
string name [@property getter]

Gets the name of the track.

name
string name [@property setter]

Sets the name of the track.

parentPart
SongPart parentPart [@property getter]

Gets the parent part.

parentPart
SongPart parentPart [@property setter]

Sets the parent part.

progression
MusicalProgression progression [@property getter]

Gets the progression of the track.

relativeBar
size_t relativeBar [@property getter]

Gets the relative bar.

scales
const(MusicalScale[][]) scales [@property getter]

Gets the scales of the track.

sequence
SongSequence sequence [@property getter]

Gets the sequence.

sequence
SongSequence sequence [@property setter]

Sets the sequence. This will nullify the chord and melody if any.

velocity
FloatAutomation velocity [@property getter]

Gets the velocity of the track.

volume
FloatAutomation volume [@property getter]

Gets the volume of the track.

wet
FloatAutomation wet [@property getter]

Gets the wetness of the track.

Meta