---
title: "setValue(_:originator:atHostTime:)"
framework: audiotoolbox
role: symbol
role_heading: Instance Method
path: "audiotoolbox/auparameter/setvalue(_:originator:athosttime:)"
---

# setValue(_:originator:atHostTime:)

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

## Declaration

```swift
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

- [value](audiotoolbox/auparameter/value.md)
- [setValue(_:originator:)](audiotoolbox/auparameter/setvalue(_:originator:).md)
- [setValue(_:originator:atHostTime:eventType:)](audiotoolbox/auparameter/setvalue(_:originator:athosttime:eventtype:).md)
- [string(fromValue:)](audiotoolbox/auparameter/string(fromvalue:).md)
- [value(from:)](audiotoolbox/auparameter/value(from:).md)
