---
title: "Gain"
slug: "gain"
group: "synthesis"
order: 105
---
The signal path is: oscillator → gain * velocity → filters → distortion → modulation → phaser/flanger → envelope * postgain → chorus → pan.
Pre-filter gain multiplier. Applied before filters and distortion, combined with velocity as gain * velocity.
Post-effects gain multiplier. Applied after phaser/flanger, combined with the envelope as envelope * postgain.
Multiplied with gain before filters. Also passed as accent to Plaits engines.
Stereo position using constant-power panning: left = cos(pan * π/2), right = sin(pan * π/2). 0 = left, 0.5 = center, 1 = right.