<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/AudioUnitParameterEvent/eventValues",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@S@AudioUnitParameterEvent@FI@eventValues"
  },
  "title" : "eventValues"
}
-->

# eventValues

The values for this parameter event.

```
var eventValues: AudioUnitParameterEvent.__Unnamed_union_eventValues
```

## Discussion

If the parameter event type is [`AUParameterEventType.parameterEvent_Immediate`](/documentation/AudioToolbox/AUParameterEventType/parameterEvent_Immediate), use the `immediate` struct of this union. If the parameter event type is [`AUParameterEventType.parameterEvent_Ramped`](/documentation/AudioToolbox/AUParameterEventType/parameterEvent_Ramped), use the `ramp` struct of this union.

#### immediate

- **bufferOffset**: A `UInt32` value that indicates the sample time at which to change the parameter value.
- **value**: An [`AudioUnitParameterValue`](/documentation/AudioToolbox/AudioUnitParameterValue) that indicates the new parameter value.

#### ramp

- **startBufferOffset**: An `SInt32` value that indicates the sample time at which to begin the parameter value change.
- **durationInFrames**: A `UInt32` value that indicates the number of frames over which the parameter value should linearly change from  `startValue` to `endValue`.
- **startValue**: An [`AudioUnitParameterValue`](/documentation/AudioToolbox/AudioUnitParameterValue) that indicates the starting parameter value.
- **endValue**: An [`AudioUnitParameterValue`](/documentation/AudioToolbox/AudioUnitParameterValue) that indicates the ending parameter value.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)