> For the complete documentation index, see [llms.txt](https://docs.mixeffect.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mixeffect.app/automate/osc/messages/legacy-audio/master-gain-set.md).

# Master Gain Set

| Message                                                                            | Description                         | Arguments |
| ---------------------------------------------------------------------------------- | ----------------------------------- | --------- |
| `/mixeffect/legacy-audio/master-gain` or `/mixeffect/legacy-audio/master-gain/set` | Sets the level for the master gain. | Integer   |

| Argument | Type    | Description                                                                                                                                                                                                |
| -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Level    | Float   | The new level in dB.                                                                                                                                                                                       |
| 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 |
