<!--
{
  "documentType" : "article",
  "framework" : "USD",
  "identifier" : "/documentation/USD/gain",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "gain"
}
-->

# gain

A value that controls the audio volume.

## Discussion

The runtime multiplies this value by the incoming audio to produce the output signal. An asset may use this action to raise or lower the audio’s original volume.

The default value of `1.0` matches the audio’s original volume. The runtime clamps negative values to `0.0`, which mutes the audio.

### Declaration

```other
uniform double gain = 1.0
```

---

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)