Instance Method

setValue(_:originator:atHostTime:)

Sets the parameter’s value, preserving the host time of the gesture that initiated the change.

Declaration

func setValue(_ value: AUValue, originator: AUParameterObserverToken?, atHostTime hostTime: UInt64)

Parameters

value

The parameter’s new value.

originator

The originator of the change in value. This token allows for observer management to avoid notification callback loops.

hostTime

The time at which to schedule the change in value. This parameter allows for synchronization with other events.

See Also

Managing Parameter Values

var value: AUValue

The parameter’s current value.

func setValue(AUValue, originator: AUParameterObserverToken?)

Sets the parameter’s value, avoiding redundant notifications to the originator.

func string(fromValue: UnsafePointer<AUValue>?) -> String

Gets the string representation of a parameter value.

func value(from: String) -> AUValue

Converts a string into a parameter value.