---
title: gain
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/audiomixgroup/gain
---

# gain

The overall level for all sounds of an audio mix group in relative decibels.

## Declaration

```swift
var gain: Audio.Decibel { get set }
```

## Discussion

Discussion The gain is a value in the range [-.infinity, .zero], where -.infinity is silent and .zero is nominal.
