Gain
gain · v1Multiplies both audio channels by Gain. The coefficient follows its target with a 10 ms time constant.
Gain
Inputs
Outputs
Select a port to see its purpose and an example connection. Its reference row will highlight.
Ports and connections
| Port / ID | Type | Connection |
|---|---|---|
Audioin | audio | Audio: audio input for Gain. A source connection is required.Required |
Gaingain | number | Controls Gain with a number stream. Without a wire, the manual value is 1.Manual value when disconnected |
Outputout | audio | The audio result of Gain, available to other nodes on every sample.Output |
An output can feed multiple inputs of the same type. An input has one source; Function also requires matching signatures. All connection rules →
Parameters
Values describe manual settings. A connected stream replaces a parameter’s manual value; disconnecting restores it.
| Parameter | Range | Default | Control |
|---|---|---|---|
Gaingain | 0…2 | 1 | Input or manualLinear scale |
How to use it
Input → Gain → Mix / B; an LFO with Amount 0.5 and Offset 0.5 → Gain / Gain creates tremolo.
Things to check
Gain is a linear factor from 0 to 2, not dB. Use Scale Audio for negative gain.
Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →