Builder
public class Builder
Undocumented
-
Creates
Builderprepared to construct aModel.Declaration
Swift
public init()
-
Adds the given
instrumentto the performance context.Declaration
Swift
public func createInstrument(_ instrument: Instrument) -> Instrument.ID -
Adds the given voice identifier for the given
performerandinstrument.Declaration
Swift
public func createVoice(_ voice: Voice? = nil, performer: Performer, instrument: Instrument) -> Voice.ID
-
Add the given
tempoat the givenoffset, and whether or not it shall be prepared to interpolate to the next given tempo.Declaration
Swift
@discardableResult public func addTempo( _ tempo: Tempo, at offset: Fraction? = nil, easing: Tempo.Interpolation.Easing? = nil ) -> Model.Builder -
Add the given
meter.Declaration
Swift
@discardableResult public func addMeter(_ meter: Meter) -> Model.Builder
View on GitHub
Install in Dash
Builder Class Reference