<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareControl/setStereoPanValue(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B15HardwareControlC17setStereoPanValueyySfKF"
  },
  "title" : "setStereoPanValue(_:)"
}
-->

# setStereoPanValue(_:)

Set the stereoPanValue property.

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

---

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)