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

VibratoController

File: Rhapsodist/Processors/VibratoController.js.

Important

The modelling here is subject to change as it is refined. Might possibly be replaced by a dedicated script modulator in the future.

Overview

Controls the intensity/frequency of LFO-based vibrato, flutter, or growl effects via CC and time variant modulators, resolved by a fixed module naming convention.

One instance is used per mode (Vibrato/Flutter/Growl), selected via cmbMode; switching modes re-resolves every modulator this instance controls.

Parameters

IDDescription
ModeSelects which mode (Vibrato/Flutter/Growl) this instance controls; switching re-resolves every modulator by naming convention.
GainSets intensity on every matched gain Global Time Variant Modulator for the current mode.
PitchSets intensity on every matched pitch Global Time Variant Modulator for the current mode, -2–2.
XfadeSets intensity on every matched sampler group crossfade Global Time Variant Modulator for the current mode.
RateSets the default value on every matched frequency CC modulator for the current mode, 0–127.
DepthSets the default value on every matched intensity CC modulator for the current mode, 0–127.

Usage

A project using this processor needs a fixed set of modulators, all named by convention.

Global LFOs: vibratoGainLfo, vibratoPitchLfo, flutterGainLfo, flutterPitchLfo, growlPitchLfo (growl only needs pitch).

CC modulators controlling each LFO’s intensity/frequency, following the same naming convention, e.g. vibratoGainLfoIntensityCc. Each one is set to CC 94, an otherwise-unused controller reserved for this purpose across every VibratoController instance in the project.

Target global modulators for gain, pitch, and sampler group crossfade, as needed for the mode.

Interface knobs connected to this script’s parameters, for user control.

Internal Reference

FunctionDescriptionReturns
getModulators(type: string)Re-resolves every modulator this instance controls for the given mode (vibrato/flutter/growl): matching LFOs, CC intensity/frequency modulators, and gain/pitch/crossfade Global Time Variant Modulators, all by ID naming convention. Called whenever Mode changes.—