> 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/input-gain-set.md).

# Input Gain Set

| Message                                  | Description                                              | Arguments |
| ---------------------------------------- | -------------------------------------------------------- | --------- |
| `/mixeffect/legacy-audio/input-gain/set` | Sets the level for the legacy audio source's input gain. | Multiple  |

| Argument        | Type    | Description                                                                                                                                                                                                |
| --------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Audio Source ID | Integer | Integer that is the audio source ID.                                                                                                                                                                       |
| 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 |
