<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareControl/volumeScalarValue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B15HardwareControlC17volumeScalarValueSfvp"
  },
  "title" : "volumeScalarValue"
}
-->

# volumeScalarValue

A Float that represents the value of the volume control. The range is between 0.0 and
1.0 (inclusive).

```
var volumeScalarValue: Float { get throws }
```

## Discussion

Note that the set of all Float values between 0.0 and 1.0 inclusive is much larger than
the set of actual values that the hardware can select. This means that the Float range
has a many to one mapping with the underlying hardware values. As such, setting a scalar
value will result in the control taking on the value nearest to what was set.

---

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)