Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MultiChannelGain

File: Rhapsodist/Core/ScriptFX/MultiChannelGain.js.

Overview

Provides a basic Gain/Smoothing/Width/Balance gain stage, applied across however many channels the host Script FX module has. This isn’t the same parameter set as HISE’s built-in Simple Gain effect (which has Gain/Delay/Width/Balance/InvertPolarity and no user-facing smoothing control); the name refers to the general kind of effect, not a drop-in replacement.

Parameters

IDDescription
GainDecibel-mode gain, -100–12 dB.
SmoothingTime-mode smoothing, 0–1000 ms.
WidthStereo width, 0–200.
BalancePan-mode balance control.

Usage

On a Script FX module, use “Connect to External Script” and point it at MultiChannelGain.js; its Gain/Smoothing/Width/Balance knobs then control that module’s channels directly.

Gain and balance are applied per channel pair (odd/even channels share a gain stage), using an equal-power pan law for balance. Width processing is applied uniformly across every channel.

Internal Reference

FunctionDescriptionReturns
updateGainers()Recomputes the equal-power pan values from Balance and applies gain (from Gain, converted from dB) to each of the two gain stages. Called whenever Gain or Balance changes.—