---
title: "setStereoPanValue(_:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwarecontrol/setstereopanvalue(_:)"
---

# setStereoPanValue(_:)

Set the stereoPanValue property.

## Declaration

```swift
func setStereoPanValue(_ value: Float) throws
```

## Parameters

- `value`: A Float where 0.0 is full left, 1.0 is full right, and 0.5 is center.
