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

# gain

The overall level for all sounds emitted from an entity. In relative Decibels, in the range  -.infinity ... .zero where .zero is the default.

## Declaration

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