Reverb, Delay, Modulation and Saturation FX
Effects inserts are the creative-FX processors you load into mixer channel-strip and bus slots (and realtime engine inserts): reverbs, modulation effects, delays, and saturation pedals. They are built through the same insert factory that the Mixing Engine uses for every channel-strip insert.
Inserts are not mastering processors
This page catalogs mixer/engine inserts. The named Mastering Processors registry — compressors, EQ, saturation, stereo, repair, and the loudness/maximizer stages — is a separate topic with its own scope. The two overlap: every FX insert is also a one-shot mastering processor. If you are looking for the mastering registry, start on that page instead.
An insert sits in the channel path, so every later stage sees its output: for a pre-fader insert that is the fader, the sends, and the bus; for a post-fader insert it is the post-fader sends and the bus. That position is what separates an insert from a send (see Inserts vs sends), and it is the first thing to be sure of before reading the catalog below.
The page starts with the catalog and what each family of effects does, then covers the descriptor API that lets a host build controls for any insert without a table of its own.
Creative-FX insert catalog
In addition to the mastering solo processors, builds with creative FX enabled expose reverb, modulation, vowel-filter, delay, and stereo insert IDs:
stereo.binaural is listed alongside the effects category as a stereo-category insert.
| Insert ID | Meaning |
|---|---|
effects.reverb.plate | Dattorro plate-style reverb |
effects.reverb.fdn | Feedback delay network reverb |
effects.reverb.velvet | Velvet-noise style reverb |
effects.reverb.convolution | Convolution reverb; takes an impulse response as irF32Base64 in its params, or synthesizes one from decaySec and seed |
effects.reverb.room | Geometric room reverb synthesized from room parameters |
effects.acoustic.roomMorph | Room-character morph toward a target geometric room |
effects.gsEfx | GS insertion-effect unit with a selected type and 20 raw parameter bytes |
saturation.overdrive | Overdrive pedal with gain, tone, and output level |
saturation.distortion | Distortion pedal with gain, tone, and output level |
effects.filter.vowel | Three-band resonant vowel filter with a direct path |
effects.modulation.ensemble | Bucket-brigade-delay (BBD) string-machine ensemble |
effects.modulation.chorus | Stereo chorus |
effects.modulation.flanger | Flanger |
effects.modulation.phaser | Phaser |
effects.modulation.wah | Tempo-style swept wah filter |
effects.modulation.autoWah | Envelope-following auto-wah filter |
effects.modulation.rotary | Rotary-speaker style pitch/tremolo motion |
effects.modulation.ringModulator | Ring modulator |
effects.modulation.pitchShifter | Simple pitch shifter |
effects.delay.stereo | Stereo delay |
stereo.binaural | Measured-HRTF virtual-speaker renderer for a stereo pair |
Build-flag gating
These insert IDs are available only in builds configured with the CMake option BUILD_FX (which derives the internal SONARE_HAVE_FX define). The geometric room inserts (effects.reverb.room, effects.acoustic.roomMorph) also require BUILD_ACOUSTIC_SIM. In a build without an option, the corresponding IDs simply do not appear in masteringInsertNames().
Effect families and what their keys mean
Most of these effects are built from a few shared ideas, and the parameter names follow them.
Reverbs synthesize the tail a room adds after a sound. They differ in how they build it, so pick by character rather than by correctness:
- Plate — a smooth, dense, classic-studio sound. The Dattorro topology is a widely used plate-style design, and it is the one the plate insert is built on.
- FDN (feedback delay network) — interconnected delay lines feeding back into each other, easy to tune from small rooms to large halls.
- Velvet-noise — builds the tail from sparse random impulses, which gives a very smooth, grain-free tail even at low density. The catalog rates this implementation's
realtimeCostashigh, the only reverb abovemoderate. - Convolution — reproduces a real space by convolving the signal with a measured impulse response of that room.
- Geometric room — computes the response from a room's dimensions and the source and listener positions (below).
Their common keys: decaySec (or a normalized decay) sets how long the tail lasts; damping / hfDamping makes high frequencies die away sooner, the way soft furnishings absorb treble; preDelayMs is the gap between the dry sound and the start of the tail, which keeps a vocal clear of its own reverb; dryWet is the share of the processed signal, set to 1 on a send-return strip.
Modulated delays (chorus, flanger, ensemble) mix the signal with a copy delayed by a few milliseconds and sweep that delay with a low-frequency oscillator (LFO). centerDelayMs is the average delay, depthMs how far the LFO swings it, and rateHz how fast. The delay range decides the effect. A chorus sits around 10–30 ms (the default here is 14 ms ± 6 ms), long enough to sound like a second, slightly detuned player. A flanger sits around 1–10 ms (default 3 ms ± 2 ms), where the copy combs the spectrum into a sweeping, jet-like notch pattern; its feedback routes part of the output back into the delay, which makes the comb resonant and the sweep metallic.
Phaser sweeps a chain of all-pass stages between minHz and maxHz, which produces a few broad notches rather than the flanger's dense comb. Wah and auto-wah sweep one resonant band-pass filter; the auto-wah follows the input level (sensitivity, attackMs, releaseMs) instead of an LFO.
Delay (effects.delay.stereo) repeats the signal after delayTimeLMs / delayTimeRMs. feedback is how much of each repeat comes back for another, so 0 gives one echo and values toward 1 give long trails; pingPong bounces the repeats between the channels.
Ring modulator multiplies the signal by a sine at carrierHz, which replaces each frequency with a pair of sum and difference tones: metallic, bell-like, or robotic. Pitch shifter moves the whole signal by pitchSemitones and pitchCents.
Parameters by insert
This list is partial: it shows the common keys of each insert. masteringInsertParamInfo({ insert }) and capabilityCatalog().processors[].params are complete and cover further keys such as chorus/flanger preFilterHz and preFilterMode, phaser feedback and mixMode, rotary drum controls, pitch-shifter windowMs, and stereo-delay dampingHz.
| Insert | Common keys |
|---|---|
| Reverbs (which keys apply depends on the algorithm) | decaySec, decay, damping / hfDamping, dryWet, preDelayMs, reverbTimeSec, densityHz, enableShelf |
effects.reverb.plate | the reverb keys, plus modRateHz (rate of the low-frequency oscillator that modulates the tank, a figure-8 loop of delays and all-pass filters; default 0.5) and modDepthSamples (modulation depth in samples at the reverb's internal reference rate, default 6.0) for the chorused tail |
effects.reverb.convolution | irF32Base64 (an impulse response, a recording of how a real space responds to one short burst, as base64 float32, in scene JSON as anywhere else), decaySec, seed. Without an impulse response it synthesizes a decaying-noise one from decaySec (an RT60-style length, clamped to 12 s) and seed when prepared, so it produces a tail like its algorithmic siblings instead of passing the signal through |
effects.modulation.chorus | rateHz, depthMs, centerDelayMs, dryWet |
effects.modulation.flanger | rateHz, depthMs, centerDelayMs, feedback, dryWet |
effects.modulation.phaser | rateHz, minHz, maxHz, stages, dryWet |
effects.modulation.ensemble | rateSlowHz, rateFastHz, depthSlowMs, depthFastMs, centerDelayMs, toneHz, dryWet |
effects.modulation.wah | rateHz, minHz, maxHz, resonance, dryWet |
effects.modulation.autoWah | sensitivity, minHz, maxHz, resonance, attackMs, releaseMs, dryWet |
effects.modulation.rotary | rateHz, depthMs, tremolo, stereoSpread, dryWet |
effects.modulation.ringModulator | carrierHz, dryWet |
effects.modulation.pitchShifter | pitchSemitones, pitchCents, dryWet |
effects.delay.stereo | delayTimeLMs, delayTimeRMs, feedback, pingPong, dryWet |
effects.filter.vowel | vowel, accelMs, drive, driveOn, dryWet |
stereo.binaural | azimuthDeg, autoTurn, turnRateHz, clockwise, output (0 = speakers, 1 = phones), dryWet |
effects.reverb.convolution clamps decaySec to its synthesized-tail ceiling of 12 seconds at construction time.
Every other effects insert (chorus, flanger, phaser, ensemble, wah, auto-wah, rotary, pitch shifter, ring modulator, stereo delay, vowel filter, and the plate, velvet and FDN reverbs) refuses an out-of-range or non-finite value by name when it is constructed, configured or automated, and keeps its previous configuration; a room insert's materialPreset outside 0–5 is refused the same way. The ranges are the min / max of the descriptors.
GS EFX (effects.gsEfx)
effects.gsEfx is the standalone GS insertion-effect unit. It is included only when the library is built with BUILD_FX; otherwise the name is absent from masteringInsertNames() and cannot be passed to masteringApplyProcessor() or an insert slot.
The factory takes a flat numeric parameter object. If both typeMsb and typeLsb are omitted, the type is 0 (thru). To select another type, supply both selectors as integers in 0..127; supplying only one is rejected, and the pair selects (typeMsb << 8) | typeLsb. A non-zero type must be known by the build. realization is optional and is 0 for modern (the default) or 1 for classic. byte0 through byte19 are optional raw GS parameter bytes, each in 0..127; omitted bytes use the selected type's defaults, and values that the selected type does not accept are rejected.
const processed = masteringApplyProcessor({
processor: 'effects.gsEfx',
samples,
sampleRate,
params: {
typeMsb: 0x01,
typeLsb: 0x10,
realization: 0,
byte0: 64,
byte19: 127,
},
});processed = sonare.mastering_apply_processor(
"effects.gsEfx", samples, sample_rate=sr,
params={"typeMsb": 0x01, "typeLsb": 0x10, "realization": 0, "byte0": 64, "byte19": 127},
)sonare mastering-processor song.wav --processor effects.gsEfx \
--params "typeMsb=1,typeLsb=16,realization=0,byte0=64,byte19=127" -o out.wavThe same parameter object is used when the processor is constructed as a mixer or realtime insert. Use masteringInsertParamInfo({ insert: 'effects.gsEfx' }) or the capability catalog for the descriptors published by the current build.
Saturation pedals
saturation.overdrive and saturation.distortion are realtime-safe, multichannel inserts. They are also named solo processors, so a host can use the same parameter map with masteringApplyProcessor(...). The bounds, defaults, and timing below are the values in the capability catalog.
| Insert | Parameter | Accepted range | Default | Unit |
|---|---|---|---|---|
saturation.overdrive | gainDb | 0–41 | 20 | dB |
toneHz | 500–8000 | 3000 | Hz | |
levelDb | not validated (see below) | 0 | dB | |
saturation.distortion | gainDb | 0–60 | 30 | dB |
toneHz | 475–20000 | 4000 | Hz | |
levelDb | not validated (see below) | 0 | dB |
Each reports 48 samples of latency and a tail of 10,513 (overdrive) or 15,793 (distortion) samples at 48 kHz. All three parameters have realtime automation ids and are safe to change while the insert runs. Construction does not check levelDb against a range, so the catalog has no usable bound for it; keep it to output-level trims of a few dB.
Amp simulator (saturation.ampSim)
What is saturation.ampSim?
A guitar/bass-amp-style coloration stage in the form preamp drive → tone stack → power amp → cabinet. An oversampled twin-triode drive stage sits behind a single [0, 1] drive knob, with a drive-scaled pre-emphasis shelf so the gain character shifts as you push it. After the drive comes a bass/mid/treble tone stack, then an optional power-amp section and a data-free cab voicing. The live automation targets are drive (0-1), bassDb, midDb, trebleDb, presenceDb, levelDb, power, sag, transformer, nfb, micAxis, micBAxis, micBlend, cone, crossover, biasShift, and inputDb; all are automatable through set_parameter on every binding. power adds a class-AB push-pull soft-saturation stage; sag models supply droop and bloom after hard hits; transformer adds low-frequency output-transformer saturation; nfb adds a negative-feedback loop around the active power stage. cab (boolean) and cabModel are also live targets. cabModel takes 0 = 4x12 guitar stack, 1 = 8x10 bass stack, 2 = 1x12 combo, or 3 = 2x12 open-back. ampModel is a construction-time choice: 0 = crunch, 1 = bright clean, 2 = modern high-gain, 3 = low-gain with touch-sensitive breakup, 4 = chime-voiced clean with a top-end lift, 5 = heavy high-gain.
The cabinet and microphone keys are included in masteringInsertParamInfo({ insert: 'saturation.ampSim' }) with an id only where one exists. Most are construction-only (no id, rtSafe: false), including ampModel, micModel, micBModel, micBInvert, powerTube, topology, preampStages, doppler, and the mic distances. micAxis, micBAxis, micBlend, and cone have live automation ids, as do crossover, biasShift, inputDb, cab, and cabModel. Read each descriptor before deciding whether a cabinet or microphone control can be changed after preparation:
| Key | Meaning |
|---|---|
preset | Named amp rig, resolved before any numeric key applies |
cabIrF32Base64 | A captured cabinet impulse response, base64-encoded 32-bit float samples |
cabIrSampleRate | The rate that capture was made at; 0 means it is already at the processor's rate. Read only beside cabIrF32Base64; given alone it is not read, and a one-shot call refuses it |
cabIrGenerate | Synthesize a cabinet impulse response from cabModel instead of using the analytic cab voicing |
cabIrDrivers | Whether the cabinet's other drivers are summed into a generated impulse response |
micModel, micAxis, micDistanceCm, micBlend | The first microphone: type (0 none, 1 dynamic, 2 ribbon, 3 condenser), on-axis position, distance, and blend |
micBModel, micBAxis, micBDistanceCm, micBInvert | The second microphone of a pair, with a polarity flip |
ampModel, powerTube, topology, preampStages, presetIndex | Further construction-time choices: amp voicing, power-tube type, topology (voiced or circuit), the preamp stage count, and a preset index |
cone, doppler | Cone breakup and cone-motion Doppler; doppler moves the reported latency |
The second microphone's path-length delay is aligned and counted in the reported latency, so the latency (48 samples at 48 kHz without Doppler) does not move with micBlend or with the power setting.
Drain the tail of an offline saturation.ampSim render
The tail this processor reports includes the cabinet impulse response, not just the second microphone's path-length delay. The default rig reports a tail of 8,939 samples at 48 kHz (4,419 with a generated cabinet response, 2,500 with cab: false), so an offline bounce that stops pulling output at the last input sample loses that much cabinet decay — the render simply ends early and a little dry, with nothing to indicate it happened. Keep reading output until the reported tail is drained.
Prepare it for the channel count you will actually render
saturation.ampSim allocates per channel: each one owns a cabinet-IR ring, a Doppler line, and two microphone delay lines. That makes it far and away the heaviest member of the saturation family to prepare — preparing the realtime maximum channel count for a mono bounce reserves around 84 MB where the equivalent saturation.tube render uses 2.6 MB, which is enough to fail an allocation inside a large WebAssembly mixing graph.
The channel-aware prepare overload reserves state only for the channels it will process, so use it for an offline mono or stereo render. A realtime caller using the two-argument prepare is unaffected either way.
Vowel filter
effects.filter.vowel shapes an existing signal with three resonant bands and a direct path. It is a vowel-colored filter, not a full speech synthesizer, and it has no independent A/B matching stage; use its dry/wet control when you want to compare the filtered and direct paths.
Dry/wet mix law
Eight catalog entries expose the enum mixLaw: effects.delay.stereo, effects.modulation.chorus, effects.modulation.flanger, effects.modulation.ensemble, effects.modulation.pitchShifter, effects.modulation.ringModulator, effects.reverb.plate, and saturation.bitcrusher.
| Choice | Dry gain | Wet gain |
|---|---|---|
crossfade (0) | 1 - w | w |
twoRamps (1) | min(1, 2 * (1 - w)) | min(1, 2 * w) |
Here w is dryWet in [0, 1]. At 0.5, crossfade gives each path half gain, while twoRamps gives both unity gain, so correlated paths can sound louder. The current catalog reports crossfade as the default for each of these eight entries. Read each processor's mixLaw descriptor for its default, choices, and automation id when building a control.
What is effects.modulation.ensemble?
A bucket-brigade-delay string-machine ensemble, the lush chorused tone of vintage string synths. It runs three delay taps per channel, swept simultaneously by a slow and a fast 3-phase LFO bank, so the modulation is dense rather than a single chorus wobble. A BBD bucket-bandwidth lowpass darkens the wet path, emulating the analog bucket-brigade delay lines. The right-channel LFO polarity is inverted, which spreads a mono source into a wide stereo image. It is exposed through the insert factory and its parameters are automatable through set_parameter on every binding.
Geometric room inserts
effects.reverb.room and effects.acoustic.roomMorph are driven by room geometry rather than a decay time: a shoebox room, a source position and a listener position. An omitted source or listener takes the default placement scaled per axis to the given room, so it lies inside it; an omitted receiverSpacingM is fitted to the room. An explicit spacing must fit: keep the listener at least half of it away from every wall, i.e. inside [s/2, lengthM - s/2] × [s/2, widthM - s/2]. The table lists the room insert's descriptors as the capability catalog publishes them; every geometry and air-absorption key is construction-only, and only dryWet has a realtime automation id.
| Parameter | Accepted range | Default | Unit |
|---|---|---|---|
dryWet | none published | 0.35 | none |
lengthM | (0, 10000] | 7 | m |
widthM | (0, 10000] | 5 | m |
heightM | (0, 10000] | 3 | m |
sourceX / sourceY / sourceZ | 0 and up, at most lengthM / widthM / heightM | 1 / 1 / 1.2 in the default room; omitted, scaled per axis to the given room | m |
listenerX / listenerY / listenerZ | above 0 / above 0 / 0 and up, at most lengthM / widthM / heightM | 5 / 4 / 1.7 in the default room; omitted, scaled per axis to the given room | m |
absorption | 0–1, validated | 0.2 | none |
ismOrder | 0 and up | 3 | count |
maxSec | 0–600; 0 sizes the response from the RT60 | 0 | s |
seed | 0 and up | 1 | none |
receiverSpacingM | above 0; an explicit value must place both receivers inside the room | 0.5 where the pair fits the room, otherwise the largest spacing that fits | m |
airAbsorptionEnabled | boolean | true | none |
airTemperatureC / airHumidityPercent | above -273.15 / 0–100 | 20 / 50 | degC / percent |
The effects.acoustic.roomMorph insert takes the same geometry, receiver and air keys, with dryWet defaulting to 0.5, plus sourceTailSuppression (0–1, default 0.5, realtime automation id 1), crossfadeMs (0–1000, default 5), mixingTimeMs (0–10000), preferEyring, materialPreset (0–5), and the bandAbsorption / bandScattering arrays. The catalog bounds the source and listener only by the room's own dimensions; the wall clearance a stereo pair needs is checked when the insert is built.
The geometric room inserts validate absorption, they do not clamp it
effects.reverb.room and effects.acoustic.roomMorph take an absorption coefficient normalized to [0, 1]. A value outside that interval is rejected; the insert does not build with the nearest valid figure instead.
Clamping is the friendlier-looking option, and it is the wrong one here. A caller who passes a percentage, a reflection coefficient on another scale, or a dB figure into a normalized field gets a room they did not ask for, and the mistake surfaces only as a tail that is too short or too long. Every other way of supplying the same coefficient — the per-band absorption array on these inserts, and the offline room-impulse synthesis facade — already reports a parameter error, so the scalar path reports one too.
Given an explicit receiverSpacingM, both geometric room inserts refuse, with a RangeError, a placement that puts either receiver of the stereo pair outside the room, so a listener closer to a side wall than half that spacing is refused even on a mono strip. An omitted spacing is 0.5 m where the pair fits and otherwise the largest spacing that does, so a small room or a listener near a wall builds with a narrower pair. The library refuses rather than moves a listener, since a moved listener is a different room sound; a listener inside [s/2, lengthM - s/2] × [s/2, widthM - s/2], with s the receiver spacing, always builds, so move a refused saved scene's listener into that range or leave the spacing out. On a stereo strip each channel is convolved with the target room heard at its own receiver of a spaced pair (receiverSpacingM, fitted to the room when omitted), so the added room is not centered and identical in both channels; the late tails follow the diffuse-field coherence of two points that far apart. A mono strip keeps the single-listener response. The offline mono roomMorph does not place the pair and accepts such a placement.
Both geometric room inserts also take the atmospheric-absorption controls: airAbsorptionEnabled (on by default), airTemperatureC (default 20), and airHumidityPercent (default 50). They resolve the same option bag as the offline facade, so a room built as an insert and the same room built through synthesizeRir(...) agree — including the rule that an explicit 0 on either climate value is a literal 0 degC or 0 %RH, not the default. See Room Acoustics.
For what the receiver spacing changes in the sound, see Spaced Receivers and Coherence.
Inserts that are also one-shot mastering processors
Use these ids in Mixing Scene JSON insert.processor fields. In the shipped FX-enabled WASM build every insert id, including the geometry-driven effects.reverb.room and effects.acoustic.roomMorph and the modulation inserts (effects.modulation.ensemble, wah, autoWah, rotary, ringModulator, and pitchShifter), is returned by masteringProcessorNames() and runs through the one-shot apply path, so one parameter map works in a mixer chain, a realtime engine, or masteringApplyProcessor(...). A one-shot call reports the insert's latency in latencySamples (256 for the convolution and geometric room inserts).
Discovering the insert set
Mixer scene inserts use the same processor factory as mastering inserts. Every insert id is also a name in masteringProcessorNames(); the reverse does not hold, because seven offline processors (final.bitDepth, final.dither, final.outputChain, maximizer.loudnessOptimize, repair.declick, repair.declip, and repair.trimSilence) run only as one-shot calls. Six runtime APIs describe what is available and how to configure it:
| API | Returns |
|---|---|
masteringInsertNames() | The full list of valid insert ids |
masteringInsertParamNames(name) | The construction keys one insert accepts (band/sub-band processors list their indexed band{i}.* keys) |
masteringInsertParamInfo({ insert, sampleRate? }) | A full descriptor for every construction key and realtime automation target — see The parameter descriptor. Pass sampleRate to resolve a Nyquist-bounded ceiling for that processing rate |
masteringProcessorCatalog() | Machine-readable entries (kind, forms, realtimeInsertable, stereoOnly, latencySamples, tailSamples, channelPolicy, causal, params, offlineParams when the offline form takes different parameters, and slot metadata) for picker/filter UIs. The representative 48 kHz / 512-sample probe reports latency and audible decay tail (both 0 for offline processors); query the live processor for exact configuration-dependent latency. Hosts can filter capabilities without hard-coding processor IDs. |
masteringInsertTiming({ insert, params, sampleRate }) | The exact prepared latency and tail for one insert configuration; params takes every value type the insert's descriptor declares (numbers, booleans, enum names, strings, number arrays) — see Preset parameters and configured insert timing |
capabilityCatalog() | The build-wide document: every processor with the same descriptors masteringInsertParamInfo returns, plus the chain-key section and the preset lists, in one read — see From the catalog to an insert control surface |
Both metadata lookups reject an unknown ID, but they cover different sets: masteringInsertParamNames(name) takes IDs from masteringInsertNames(), while masteringInsertParamInfo({ insert: name }) also accepts IDs from masteringProcessorCatalog(), including offline-only processors. Unknown IDs throw RangeError on Node and WASM; the Python equivalents, mastering_insert_param_names(name) and mastering_insert_param_info(name), raise SonareValueError.
The Python equivalents are mastering_insert_names(), mastering_insert_param_names(name), mastering_insert_param_info(name, sample_rate=...), mastering_processor_catalog(), mastering_insert_timing(name, params, sample_rate), and capability_catalog().
Check an insert's accepted construction keys with masteringInsertParamNames(name) (Python: mastering_insert_param_names(name)) or its descriptor before submitting a scene or strip settings. Insert params and mastering-chain overrides are checked on their respective routes: an unread key is refused with its path and the route's sorted accepted-key list. Such a key is not ignored or reported by Mixer.sceneWarnings().
The parameter descriptor
masteringInsertParamInfo({ insert }) returns one descriptor for every construction key and every realtime automation target. It is the same 22-field descriptor capabilityCatalog() carries for the insert: Capability Catalog defines every field, the closed unit set and how far to trust a measured bound. A missing id identifies a construction-only key; rtSafe: false means that live automation is not supported, whether or not an id is present. A scene's params take an enum as the number in choices[].value, not its name.
The descriptor list includes construction keys and automation targets
masteringInsertParamNames(name) remains the construction-read key list. masteringInsertParamInfo({ insert }) covers that list plus any realtime automation targets. Construction-only rows have no id and rtSafe: false; some automation targets can have rtSafe: false when the prepared processor cannot change them safely. Build a picker from the parameter names, and enable live controls only for descriptors whose rtSafe is true.
A frequency key bounded by the processing rate publishes maxRelativeTo: 'nyquist'; pass sampleRate to masteringInsertParamInfo to resolve the ceiling for the session (A ceiling that follows the sample rate).
From the catalog to an insert control surface
Capability Catalog covers the document itself — which surfaces return it, the descriptor fields, slot metadata, and how a bound is measured. This section is the insert-specific part: how a host goes from a processor id to a laid-out control surface without keeping a table of its own.
The route is three lookups in the one document rather than a call per processor:
Pick the insert set. Filter
processorsonrealtimeInsertable; that is the same setmasteringInsertNames()returns. The other entries are the seven offline processors and four pair processors.categorygroups the set the way a picker does:effectsis the creative-FX ids on this page,voiceholds thevoice.changerinsert, and the other categories are the mastering families. Three entry fields decide how a picker treats an insert:Field Reading causaltruefor every insert.falsefor the 11 non-inserts: the three offline repair processors (repair.declick,repair.declip,repair.trimSilence),final.*,maximizer.loudnessOptimize, and the pair processors.channelPolicyHow the mixer wraps the insert on a bus wider than stereo. Every reverb, modulation and delay insert is stereoPairOnlyexcepteffects.modulation.ringModulator, which ismultichannel.paramsEmpty for the pair processors, final.*, andmaximizer.loudnessOptimize. The three offline repair processors and the four realtime repair inserts (repair.decrackle,repair.dehum,repair.denoiseClassical,repair.dereverbClassical) publish construction-only rows.Read the descriptors. An insert's
paramsis exactly the listmasteringInsertParamInfo({ insert: id })returns for that id, in the same order, so a host holding the catalog never needs the per-processor call (the offline repair processors answer there too). Entries without anidare construction-only; the ids that are present are the automation ids used byMixer.scheduleInsertAutomation(strip, insertIndex, { paramId, samplePos, value })on Node and WASM,Mixer.schedule_insert_automation(...)on Python, andsonare_strip_schedule_insert_automationon the C ABI. The realtime engine's setters take thenameinstead (setStripInsertParam(ref, insertIndex, { name, value }), withsetBusInsertParamfor a bus).Lay out each control from
type,default,min,max,unit, andchoices. Construction-only keys have descriptors too, sostageson the phaser,attackMs/releaseMson the auto-wah,stereoSpreadon the rotary, and room geometry can be represented as build-time fields. Useslotto identify a slot group, then read the processor'sslotsentry:activation(anyKeyoralways), the enclosingparent, andminCrossoverCutoffsdetermine whether that group is present.
The catalog also exposes saturation.overdrive and saturation.distortion in the saturation category. Both are multichannel realtime inserts and solo processors, so the same ids work in a mixer chain, a realtime engine, or the one-shot mastering apply path.
The same descriptor route covers the current insertable maximizer controls: ceilingDb on maximizer.truePeakLimiter, maximizer.maximizer, maximizer.adaptiveRelease, and maximizer.softKneeMax. GS-bound realtime controls are also published there: windowMs, preDelayMs, and preDelay2Ms on effects.modulation.pitchShifter; stereoSpread, accelTauSec, decelTauSec, undershootHz, and drumUndershootHz on effects.modulation.rotary; preDelayMs and character on effects.reverb.plate; and typeLadder on saturation.bitcrusher. Use the descriptor list instead of maintaining a second control table.
const catalog = capabilityCatalog();
const inserts = catalog.processors.filter((p) => p.realtimeInsertable);
const fx = inserts.filter((p) => p.category === 'effects'); // the creative-FX ids on this page
const chorus = fx.find((p) => p.id === 'effects.modulation.chorus')!;
for (const param of chorus.params) {
// param.id is absent for construction-only keys; param.name is the scene JSON key
addControl(param.name, param.default, param.min, param.max, param.unit, param.rtSafe);
if (param.id !== undefined && param.rtSafe) {
bindAutomation(param.id, param.choices, param.slot);
}
}catalog = sonare.capability_catalog()
inserts = [p for p in catalog.processors if p.realtime_insertable]
fx = [p for p in inserts if p.category == "effects"] # the creative-FX ids on this page
chorus = next(p for p in fx if p.id == "effects.modulation.chorus")
for param in chorus.params:
# param.id is None for construction-only keys; param.name is the scene JSON key
add_control(param.name, param.default, param.min, param.max, param.unit, param.rt_safe)
if param.id is not None and param.rt_safe:
bind_automation(param.id, param.choices, param.slot)Neither CLI prints the catalog; sonare doctor --json reports the build, not the processors.
Four things the effects family reports that a general reading of the document would not lead you to expect:
rtSafe: falseis a hard stop for automation, not a hint. Scheduling automation on such a parameter returnsNotSupported(code 6). Construction-only rows have noidandrtSafe: false; this page also contains id-bearing targets that remain unsafe, including every GS EFX raw byte andmodDepthSamples. A UI that draws an automation lane per descriptor has to disable every row whosertSafeis false, including an id-bearing row.- The catalog has more than numeric toggles. Effects descriptors include
number,boolean,enum,string, andarraytypes.choicescan describe enum values or a closed numeric set with gaps. Do not infer a toggle from a name; usetype, and usechoicesfor discrete controls. - Latency and tail are per insert, and non-zero for the reverbs.
effects.reverb.convolution,effects.reverb.roomandeffects.acoustic.roomMorphreport 256 samples of latency. At 48 kHz with default parameters the reverb tails run from about 1 s (room,roomMorph) through 1.5 s (convolution) to about 7.5 s (fdn), and the stereo delay is about 2.5 s. A reported tail covers the output down to 1e-5 of full scale, so it is an upper bound for sizing a bounce.realtimeCostismoderatefor every reverb exceptvelvet, which ishigh, andlowfor every modulation and delay insert; it is absent only on the 11 non-inserts. - The effects family is small in parameters. The per-band EQ and multiband processors account for most of the descriptors in the full catalog, so an insert UI that sizes itself by descriptor count should expect the families to differ by an order of magnitude.
Two things an absent bound and a default do not tell you
An absent bound means construction did not refuse, not that any value is meaningful, and a default is the config struct's initializer, which a preset or scene is under no obligation to hand you: initialize a control from the scene's own params and fall back to default only for keys the scene does not carry. Both are explained, with examples, in Capability Catalog.
A worked example that builds sliders, toggles and band slots from these descriptors, end to end, is Build Controls from Parameter Descriptors.
Related
- Mixing Engine — load these as channel-strip/bus inserts
- Mixing Scene JSON — the
insert.processorfield reference - Mastering Processors — the named mastering processor/preset/analysis registry