---
title: volumeScalarValue
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwarecontrol/volumescalarvalue
---

# volumeScalarValue

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

## Declaration

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

## Discussion

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.
