SongAutomation

Wrapper around a song automation.

Constructors

this
this(string name, T initValue)

Creates a new song automation.

Members

Functions

addValue
void addValue(T value)

Adds a value to the automation.

modifyValue
void modifyValue(T value, size_t automationPoint)

Modifies an automation point.

toJson
string toJson()

Converts the automation to json.

toString
string toString()

Converts the automation to a string. This will call toJson().

toXml
string toXml()

Converts the automation to xml.

Properties

name
string name [@property getter]

Gets the name.

name
string name [@property setter]

Sets the name of the automation.

value
T value [@property getter]

Gets the base value of the automation.

value
T value [@property setter]

Sets the base value of the automation.

values
InternalMaxSizeCollection!(T, 32) values [@property getter]

Gets the values of the automation.

Meta