---
title: gain
framework: phase
role: symbol
role_heading: Instance Property
path: phase/phasemixerdefinition/gain
---

# gain

The mixer’s volume.

## Declaration

```swift
var gain: Double { get set }
```

## Discussion

Discussion This property modifies the volume of all the mixer’s audio in the output’s final stages. The framework clamps the value to the range between 0 and 1, where 0 silences the audio and 1 doesn’t modify the audio’s original volume.

## See Also

### Controlling Volume

- [gainMetaParameterDefinition](phase/phasemixerdefinition/gainmetaparameterdefinition.md)
