Instance Method

setValue(_:originator:)

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

Declaration

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

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.

See Also

Managing Parameter Values

var value: AUValue

The parameter’s current value.

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

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

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.