# Dynamics Gain Set

<table><thead><tr><th width="359.3333333333333">Message</th><th>Description</th><th>Arguments</th></tr></thead><tbody><tr><td><code>/mixeffect/fairlight/dynamics-gain/set</code></td><td>Set the dynamics make up gain for an audio source.</td><td>Multiple</td></tr></tbody></table>

| Argument        | Type    | Description                                                                                                                                                                                                |
| --------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Audio Source ID | Integer | Integer that is the audio source ID.                                                                                                                                                                       |
| Source Type     | Integer | <p>0 = Stereo<br>1 = Left Channel<br>2 = Right Channel</p>                                                                                                                                                 |
| New Value       | Float   | The new value from 0 to 20.                                                                                                                                                                                |
| Duration        | Integer | (Optional) 0 = Off 1-10000 = Number of milliseconds to tween the parameters. Default is 0.                                                                                                                 |
| Style           | Integer | (Optional) 0 = Cosine 1 = Cubed 2 = Inverse Cubed 3 = Inverse Squared 4 = Linear 5 = Sine 6 = Smooth Step 7 = Smoother Step 8 = Squared 9 = Ease In Out Elastic 10 = Ease Out Bounce 11 = Ease Out Elastic |

### Requirements

MixEffect 1.3.0 or higher


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mixeffect.app/automate/osc/messages/fairlight-audio/dynamics-gain-set.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
