Skip to content

Call Individual Mastering Processors by Name ​

This page is the registry for the named mastering API in libsonare. It answers "what can I call?", not "how does it work internally?"

If dBFS, headroom, or mastering chain are unfamiliar, read Audio Basics and What Is Mastering? first — this page assumes that vocabulary and focuses on the processor names.

The authoritative runtime source is the name-list API: masteringProcessorNames(), masteringPairProcessorNames(), masteringPairAnalysisNames(), masteringStereoAnalysisNames(), and masteringPresetNames(). This page mirrors those lists.

New to mastering? Don't start here

Calling individual processors one by one is the hard way. Start with a preset and masterAudio, or the Mastering Assistant, which profiles your audio and proposes a whole chain. Reach for solo processors only when you need surgical control over one stage.

For behavior, processing boundaries, and real-time notes by DSP family, see DSP Implementation Notes. For standards and paper citations, see Algorithm References. For test coverage, see Implementation Validation.

What You Will Learn ​

By the end of this page you should be able to:

  • distinguish presets, solo processors, pair processors, and record-returning analyses;
  • start from a goal such as "control dynamics" or "match a reference" rather than scanning IDs alphabetically;
  • know when a preset or assistant flow is more appropriate than directly calling a processor;
  • find the exact registry name to pass to JavaScript, Python, Node native, or the C ABI.

What the names mean ​

Name typeMeaningExample
PresetA named chain configuration for a style or delivery target, applied by masterAudiostreaming, podcast, jpop
Solo processorOne processor applied to a mono or stereo signaldynamics.compressor, eq.tilt
Pair processorA processor that uses a source and a reference signalmatch.applyMatchEq
AnalysisA measurement that returns JSON instead of audiomatch.referenceLoudness, stereo.monoCompatCheck

Sidechain and loudness processors

The dynamics family includes dynamics.duckingProcessor (sidechain ducking), maximizer.loudnessOptimize (maximizing toward a LUFS target — LUFS is Loudness Units relative to Full Scale, the broadcast loudness scale), and a bandpass Q control on dynamics.deesser (with stereo preservation), alongside dynamics.transientShaper, dynamics.upwardCompressor, dynamics.upwardExpander, dynamics.vocalRider, and dynamics.sidechainRouter.

Which processor for which job ​

A goal-first index into the registry below. This is a starting point, not a rule — read the linked guides before committing.

You want to…Reach forLearn the concept
Even out level / control dynamicsdynamics.compressor, dynamics.limiter, multiband.compressorDynamics
Add punch without squashingdynamics.transientShaper, dynamics.parallelCompDynamics
Tame harsh "ess" soundsdynamics.deesserDynamics
Duck a music bed under voicedynamics.duckingProcessor, dynamics.sidechainRouterMixing Engine
Shape overall tone / brightnesseq.tilt, eq.parametric, spectral.airBandTone and Air
Add warmth / harmonicssaturation.tape, saturation.tube, saturation.exciterTone and Air
Widen / narrow / check stereostereo.imager, stereo.monoMaker, stereo.monoCompatCheckStereo, Limiter, Loudness
Hit a loudness target safelyloudness stage, maximizer.loudnessOptimize, maximizer.truePeakLimiterDelivery Targets
Clean up noise / clicks / clippingrepair.denoiseClassical, repair.declick, repair.declipRepair and Input
Match a reference trackmatch.applyMatchEq, match.referenceLoudnessReference Match
What is sidechaining / ducking?

Sidechaining lets one signal control a processor applied to another. The most common use is ducking: a music bed is automatically turned down whenever a voice is present, then comes back up in the gaps — the way background music drops under a narrator.

What is parallel compression?

A normal compressor turns the loud parts down.

Parallel compression mixes the original signal with a heavily compressed copy. The compressed copy lifts quiet detail, while the original keeps the natural peaks.

Use it when you want density and "glue" without flattening transients. It is also called New York compression. dynamics.transientShaper is the related tool for the opposite goal: exaggerating or softening the attack of each hit.

Drag the threshold and ratio to watch the transfer curve bend and hear a dynamics.compressor work on a live signal (Dynamics Controls explains threshold, ratio, attack, release and knee with a worked table):

DYNAMICS · COMPRESSORIDLE
Compression — threshold, ratio, knee, attack, release

The left panel is the transfer curve — input level in, output level out — with the threshold and the soft knee marked; raise the ratio and it bends harder past the threshold. The right panel runs a fixed program (a steady bed with transient hits) through the compressor: the shaded gap is the gain reduction, and attack and release decide how fast it clamps down and lets go. Press play to hear the same program — the pumping you see is the pumping you hear.

Threshold
-18 dB
Ratio
4 :1
Knee
6 dB
Attack
15 ms
Release
160 ms

Processor Families In Plain English ​

The exact IDs matter for code, but users usually choose by role:

FamilyUse it whenAvoid it when
DynamicsThe level envelope is the problem: peaks jump out, vocals are uneven, transients need shaping, or a bed must duck under speechThe problem is tonal balance; EQ or spectral processors are clearer
EQThe frequency balance is wrong: too dark, too harsh, too boomy, or needs a surgical cutYou are trying to increase loudness; use dynamics/maximizer stages
MultibandDifferent frequency ranges need different dynamics or width treatmentA broad single-band processor already solves it; multiband can overfit quickly
SaturationYou want harmonic density, edge, warmth, or controlled clipping characterYou need clean correction; saturation adds coloration by design
SpectralThe issue is perceptual tone shaping: air, presence, low-end focus, broad spectral contourYou need exact filter moves; use EQ
StereoWidth, mono compatibility, phase, or left/right balance is the problemThe mix is already phase-sensitive or mono delivery is primary
Maximizer / finalYou are at the delivery stage: loudness, ceiling, bit depth, or final output polishYou are still fixing balance or arrangement problems
RepairThe input has defects: clicks, crackle, hum, clipping, noise, excessive tailYou expect source separation or neural restoration

Most full chains use only a small subset: repair if needed, one tone stage, one dynamics stage, optional saturation/stereo, then maximizer/loudness. Stacking many processors from the registry is rarely better than starting from a preset and overriding one or two values.

Anti-aliasing on the distortion stages

Five processors shape the waveform hard enough that harmonics above Nyquist fold back as inharmonic tones (aliasing), and each takes an aliasing parameter selecting how that is handled: 0 none, 1 first-order antiderivative anti-aliasing (ADAA1), 2 second-order (ADAA2), 3 a 4x oversampled path.

ProcessorModes it implements
saturation.hardClippernone, ADAA1, ADAA2, 4x oversample
saturation.softClipper, saturation.waveshapernone, ADAA1, 4x oversample
spectral.presenceEnhancernone, ADAA1, 4x oversample
saturation.exciternone, 4x oversample

A mode a processor does not implement is refused with RangeError rather than silently ignored, and the message names the set that would have worked — soft clipper ADAA2 anti-aliasing is not supported; use None, Adaa1, or Oversample4x. Asking a processor outside this set of five for the parameter at all is refused by key with TypeError: unknown key params.aliasing (expected bias, biasV, driveDb, harmonicDrive, mix, oversampleFactor) for saturation.tube.

The oversampled path aligns its dry signal and reports the delay it introduces: the up-and-down round trip through the polyphase filter costs 48 samples at the base rate, so the latency is 48 on the 4x path where None and ADAA1 report 0 (ADAA1's half-sample delay is tracked internally and the dry path of a blend is delayed to match) and saturation.hardClipper's ADAA2 reports 1. It reaches you wherever the processor's result does — latencySamples on the MasteringResult that masteringApplyProcessor() returns in the browser and in Node, latency_samples on the Python MasteringResult and on the C SonareMasteringResult, and latency_samples() on the processor itself when it is hosted as an insert. Compensate for it the same way you would for any other latency the chain reports.

What is a crossover?

A crossover splits the signal into frequency bands (e.g. lows / mids / highs) so each band can be processed separately. The "crossover cutoffs" are the frequencies where one band ends and the next begins; more cutoffs means more bands and finer control.

Every multiband.* solo processor (compressor, dynamicEq, expander, imager, limiter, and saturation) shares the same crossover mechanism and accepts a custom number of crossover cutoffs, so you can split into the band count your material needs instead of a fixed three. The solo and insert entry points expose up to 8 cutoffNHz slots (cutoff0Hz … cutoff7Hz), so a single multiband.* call addresses up to 9 bands; the mastering chain goes further, to 63 cutoffs and 64 bands, and also accepts the scalar key family dynamics.multibandComp.cutoff{i}Hz (see The chain-config JSON schema).

Slope, the four crossover modes and what the linear-phase mode costs are on Crossover Slope and Mode.

Solo processors ​

FamilyProcessor names
Dynamicsdynamics.brickwallLimiter, dynamics.compressor, dynamics.deesser, dynamics.expander, dynamics.gate, dynamics.limiter, dynamics.parallelComp, dynamics.sidechainRouter, dynamics.duckingProcessor, dynamics.transientShaper, dynamics.upwardCompressor, dynamics.upwardExpander, dynamics.vocalRider
Effectseffects.acoustic.roomMorph, effects.delay.stereo, effects.filter.vowel, effects.gsEfx, effects.modulation.autoWah, effects.modulation.chorus, effects.modulation.ensemble, effects.modulation.flanger, effects.modulation.phaser, effects.modulation.pitchShifter, effects.modulation.ringModulator, effects.modulation.rotary, effects.modulation.wah, effects.reverb.convolution, effects.reverb.fdn, effects.reverb.plate, effects.reverb.room, effects.reverb.velvet (FX builds; see Effects Inserts)
EQeq.bandPass, eq.cutFilter, eq.dynamic, eq.equalizer, eq.graphic, eq.linearPhase, eq.midSide, eq.minimumPhase, eq.parametric, eq.passiveTube, eq.shelving, eq.steppedProportionalQ, eq.tilt
Finalfinal.bitDepth, final.dither, final.outputChain
Maximizermaximizer.adaptiveRelease, maximizer.loudnessOptimize, maximizer.maximizer, maximizer.softKneeMax, maximizer.truePeakLimiter
Multibandmultiband.compressor, multiband.dynamicEq, multiband.expander, multiband.imager, multiband.limiter, multiband.saturation
Repairrepair.declick, repair.declip, repair.decrackle, repair.dehum, repair.denoiseClassical, repair.dereverbClassical, repair.trimSilence (decrackle, dehum, denoiseClassical and dereverbClassical are also realtime inserts)
Saturationsaturation.ampSim, saturation.bitcrusher, saturation.distortion, saturation.exciter, saturation.hardClipper, saturation.multibandExciter, saturation.overdrive, saturation.softClipper, saturation.tape, saturation.transformer, saturation.tube, saturation.waveshaper
Spectralspectral.airBand, spectral.lowEndFocus, spectral.presenceEnhancer, spectral.spectralShaper
Stereostereo.autoPan, stereo.binaural, stereo.haasEnhancer, stereo.imager, stereo.monoMaker, stereo.phaseAlign, stereo.stereoBalance
Utilityutility.gain
Voicevoice.changer (see Realtime Voice Changer)

Stereo-family processors use a different entry point

Most processors run through the single-array masteringApplyProcessor() (mono, or interleaved). The stereo-family processors (stereo.imager, stereo.monoMaker, stereo.autoPan, stereo.binaural, stereo.haasEnhancer, stereo.phaseAlign, stereo.stereoBalance) operate on true left/right channels, so call them through the separate stereo entry point masteringApplyProcessorStereo() / mastering_apply_processor_stereo(), which takes distinct left and right arrays. stereo.monoMaker uses frequencyHz as the crossover below which it collapses the signal toward mono; amount controls how strongly it does so. stereo.stereoBalance also takes gain (linear, at least 0, default 1), which scales both channels after the balance law. The same is true of eq.midSide and multiband.imager. Passing any of these to masteringApplyProcessor() throws RangeError (processor is stereo-only; use the stereo API: stereo.imager) — see How to call them for the exact signatures. The other multiband.* processors also run on a mono signal.

What is dither?

When you reduce bit depth (e.g. 24-bit down to 16-bit for CD/streaming), rounding each sample to the nearest step leaves an error that follows the signal, which is heard as grainy distortion on quiet tails and fades. Dither adds a tiny random noise before the rounding, so the error no longer follows the signal: the distortion turns into a steady, very low hiss. final.dither uses TPDF (triangular) dither by default, the standard choice, which keeps both the average and the loudness of the error independent of the signal; RPDF (rectangular) and a noise-shaped option, which moves the hiss toward frequencies the ear is less sensitive to, are also available. Noise shaping applies to the TPDF dither as well as to the rounding error, and its filter is designed for the sample rate in use. Apply it once, last, at the final bit-depth reduction.

Repair is classical DSP, by design

repair.denoiseClassical, repair.dereverbClassical, and related processors use spectral subtraction / MMSE-STSA / LogMMSE with explicit noise estimation.

They are not DNN source separation or neural spectral repair.

  • Good for: noise, hum, clicks, clipping, and mild room smear.
  • Not for: unmixing finished tracks or rebuilding missing sources.
  • Design reason: the repair path stays deterministic and dependency-free.
A/B PROCESS · DENOISEIDLE
Denoise repair — damaged vs repaired

Broadband hiss is added to a clean chord. Compare the noisy and denoised signals and their spectra, then choose a denoising algorithm. Both retain their processed levels without extra loudness matching. Noise reduction can also change musical transients and timbre. FLOOR shows the average high-band reduction in dB.

Compare
Algorithm

Registry names and chain keys differ

The named processor registry exposes one-shot repair processors as repair.denoiseClassical and repair.dereverbClassical.

Full-chain configs use shorter stage keys: repair.denoise.* and repair.dereverb.*. Those keys address the repair slots inside MasteringChainConfig. The config styles are on Master Audio.

Both naming styles point to the same classical denoise/dereverb implementations.

Classical denoise: spectral subtraction vs MMSE gain

These are classical denoising methods. All of them work on short-time spectrum frames and need an estimate of the noise in each frequency bin first.

  1. Noise estimation. The quantile estimator (the offline default) averages the quietest 10% of frames into one fixed noise spectrum. mcra, imcra and spp instead track the noise frame by frame, so they follow a floor that changes and can run in a stream; spp is what the realtime insert and the repair recommendation use.
  2. Spectral subtraction subtracts that estimated noise power from each frame, with an over-subtraction factor and a floor.
  3. MMSE-STSA and LogMMSE (the default) subtract nothing. From the estimated signal-to-noise ratio of each bin they compute a gain between the floor and 1 and multiply the bin by it.

The SNR they use is smoothed from frame to frame (the decision-directed estimate, ddAlpha), which is what keeps them from leaving the warbly "musical noise" that plain subtraction tends to. None of these methods separate instruments; they only attenuate noise.

saturation.overdrive, saturation.distortion and saturation.ampSim are mixer-grade inserts as well as solo processors. Their ranges, latency and tail, and the amp simulator's cabinet and microphone keys, are on Effects Inserts.

Pair processors and analyses ​

Pair processors consume a source and a reference. Pair/stereo analyses return measurement JSON and do not render audio by themselves.

TypeNames
Pair processorsmatch.applyMatchEq, match.alignReferenceToSource, match.abSwitch, match.abCrossfade
Pair analysesmatch.referenceLoudness, match.tonalBalance, match.tonalBalanceLogBands, match.matchEqCurve, match.estimateReferenceDelaySamples
Stereo analysesstereo.monoCompatCheck, stereo.monoCompatCheckLogBands

A pair processor or analysis takes the reference at its own rate through referenceSampleRate (Python reference_sample_rate), as do EqMatchOptions and StreamingEqualizer.match: the reference is resampled onto the source's rate, and a delay estimate comes back in source-rate samples. The request shapes are in A reference at its own sample rate. mastering-pair-analyze and mastering-pair-processor on both CLIs read a reference file at any rate.

The stereo pair entry point masteringApplyPairProcessorStereo() accepts only match.abCrossfade. Each source pair and each reference pair must have equal left/right lengths, while the source pair and reference pair may have different durations. masteringAbMatchLoudnessStereo() takes a request object, measures one shared gain for the stereo program, and returns matched left and right results without a ceiling clamp.

These are registry names you pass to masteringAnalyzePair(...) / masteringAnalyzeStereo(...). Separately from the registry, the assistant helpers have their own stereo entry points that take a left/right pair directly — masteringAudioProfileStereo, masteringAssistantSuggestStereo, and masteringStreamingPreviewStereo. Use them instead of profiling a downmix, which under-reports integrated loudness by about 6 dB on decorrelated material; see Stereo sources.

What do "tonal balance" and "mono compatibility" measure?
  • Tonal balance (match.tonalBalance) describes how a track's energy is spread across frequency bands — how much sub, bass, mid, presence, and air it has. Comparing your tonal balance to a reference track shows where you are darker or brighter, which is what match.applyMatchEq then corrects.
  • Mono compatibility (stereo.monoCompatCheck) predicts what happens when your stereo mix is summed to mono (phone speakers, club PAs, some broadcast paths). If the left and right channels are out of phase, parts can cancel out and lose level when folded down. The check flags that risk before it surprises a listener. See Mono Compatibility for a deeper walk-through.

A match curve is defined only inside its frequency limits

match.applyMatchEq and the match.matchEqCurve analysis fit the correction over [minFrequencyHz, maxFrequencyHz] — 40 Hz to 18 kHz by default — using at most maxBands bands (default 8) of at most maxGainDb (default 12). Nothing outside that interval is matched.

Both realizations of the curve say so, which is what lets you swap between them. The parametric realization places no band outside the limits. The FIR realization tapers its gain back to unity over one octave beyond each edge, narrowed on the high side when Nyquist is closer than an octave so the weight reaches zero exactly at Nyquist.

The taper is load-bearing, not a cosmetic smoothing. Carrying the fitted gain all the way down to DC instead would let a thin source matched against a bass-heavy reference reach the full maxGainDb below the low limit — a broadband offset plus subsonic energy that eats the headroom of every stage after it — while the parametric realization of the very same match left that region untouched. Lower minFrequencyHz if you actually want the sub region matched; do not expect the default fit to reach it.

Match EQ construction keys

match.applyMatchEq and match.matchEqCurve read the same curve-fitting keys. The remainder configure the FIR realization only.

KeyDefaultMeaning
minFrequencyHz40Low edge of the matched band; must be greater than 0
maxFrequencyHz18000High edge of the matched band; must be greater than minFrequencyHz
maxBands8Most bands the fit may use
maxGainDb12Largest correction any one band may apply
q1.0Q of each fitted band
smoothingBins2Spectral smoothing applied before fitting
fftSize2048Analysis FFT size for the FIR realization
kernelSize513FIR kernel length
phase00 = linear phase, 1 = minimum phase
partitionSize0Convolution partition size; 0 selects it automatically
Reading stereo.monoCompatCheck and stereo.monoCompatCheckLogBands

stereo.monoCompatCheck returns one whole-signal verdict: correlation, width, monoPeak, sideRms, and a likelyMonoCompatible flag decided against its single correlationThreshold parameter (default 0).

stereo.monoCompatCheckLogBands spreads the same measurement across a logarithmic band set — bandsPerOctave (default 3) between lowHz (default 20) and highHz (default 20000) — and returns a bands array whose entries each carry lowHz, highHz, correlation, and sideRms.

Each band's correlation covers that band's whole [lowHz, highHz) interval rather than a single probe at its logarithmic center, and the difference decides whether the read-out can be trusted. Two components inside one band, one in phase and one anti-phase, cancel when the mix is folded down; a center-frequency probe would see only whichever of them happened to sit nearer the center and call the band correlated. Measuring the interval reports the canceling pair for what it is.

Band count does not drive cost the way it looks like it should: the bands share one set of transforms instead of each taking its own full-length pass, so a thirty-band split over a long buffer is nowhere near ten times the work of a three-band one. Choose the resolution the material needs.

Mixer and engine inserts ​

The creative-FX insert catalog — reverb, modulation, delay, and GS insert IDs, their parameter tables, the masteringInsertNames() discovery APIs, and SONARE_HAVE_FX / BUILD_ACOUSTIC_SIM build gating — lives on its own page: Effects Inserts. The standalone effects.gsEfx processor uses the same BUILD_FX gate and GS type/raw-byte options described there.

How to call them ​

Use capabilityCatalog() / capability_catalog() when a host needs one build-aware picker across solo, pair, and creative-insert processors. It lists each processor's parameter descriptors, plus the processor slots metadata, a chain section describing the flat chain keys, built-in preset lists, and mastering-preset metadata. What each descriptor field holds, how to read a bound and how far to trust it are on Capability Catalog; the chain keys are in its chain section, and a worked control surface is Build Controls from Parameter Descriptors. masteringProcessorCatalog() is the narrower mastering registry classification used for mastering-specific pickers.

A one-shot named-processor call refuses a parameter the processor does not read, and names it with the keys it does read: masteringApplyProcessor({ processor: 'utility.gain', samples, sampleRate, params: { gainDb: 6 } }) throws TypeError: masteringApplyProcessor: unknown key params.gainDb (expected levelDb), because the key is levelDb. The stereo, pair and analysis forms, Python mastering_apply_processor and its siblings, and C sonare_mastering_apply_processor and its siblings do the same. A multiband band's keys are read only when enough crossover cutoffs make that band live (band5.thresholdDb with two cutoffs is refused as an unknown key; band2.thresholdDb is the last live band), and an amp sim's cabIrSampleRate only beside a cabinet impulse response.

The per-band EQ surface is the bulk of the flat parameter set: eq.parametric, eq.midSide, and multiband.dynamicEq publish descriptors for every indexed band* field, including construction keys.

typescript
const build = capabilityCatalog();
console.log(build.processors.length, build.presets.mastering);

masteringProcessorNames();   // discover solo processor ids at runtime
masteringProcessorCatalog(); // classify processors for picker/filter UIs
masteringInsertParamInfo({ insert: 'eq.parametric', sampleRate }); // construction and automation metadata, Nyquist ceilings resolved for this rate
masteringInsertTiming({ insert: 'eq.parametric', params: { 'band0.frequencyHz': 1000 }, sampleRate });
masteringPresetParams('pop'); // nested overrides for masterAudio

const out = masteringApplyProcessor({
  processor: 'dynamics.compressor',
  samples,
  sampleRate,
  params: { thresholdDb: -24, ratio: 1.5 },
});

const stereo = masteringApplyProcessorStereo({ processor: 'stereo.imager', left, right, sampleRate, params: { width: 1.1 } });

// Analyses return typed records
const report = masteringAnalyzePair({ analysis: 'match.referenceLoudness', source, reference, sampleRate });
const mono   = masteringAnalyzeStereo({ analysis: 'stereo.monoCompatCheck', left, right, sampleRate });
typescript
import {
  capabilityCatalog,
  masteringInsertParamInfo,
  masteringInsertTiming,
  masteringAnalyzePair,
  masteringApplyProcessor,
  masteringApplyProcessorStereo,
  masteringProcessorCatalog,
  masteringProcessorNames,
  masteringPresetParams,
  masteringAnalyzeStereo,
} from '@libraz/libsonare-native';

const build = capabilityCatalog();
console.log(build.processors.length, build.presets.mastering);

masteringProcessorNames();
masteringProcessorCatalog();
masteringInsertParamInfo({ insert: 'eq.parametric' });
masteringInsertTiming({ insert: 'eq.parametric', params: { 'band0.frequencyHz': 1000 }, sampleRate });
masteringPresetParams('pop');

const out = masteringApplyProcessor({
  processor: 'dynamics.compressor',
  samples,
  sampleRate,
  params: { thresholdDb: -24, ratio: 1.5 },
});
const stereo = masteringApplyProcessorStereo({ processor: 'stereo.imager', left, right, sampleRate, params: { width: 1.1 } });
const report = masteringAnalyzePair({ analysis: 'match.referenceLoudness', source, reference, sampleRate });
const mono = masteringAnalyzeStereo({ analysis: 'stereo.monoCompatCheck', left, right, sampleRate });
python
import libsonare as sonare

build = sonare.capability_catalog()
print(len(build.processors), build.presets.mastering)

sonare.mastering_processor_names()   # discover solo processor ids at runtime
sonare.mastering_insert_param_info('eq.parametric')
sonare.mastering_insert_timing('eq.parametric', {'band0.frequencyHz': 1000}, sr)
sonare.mastering_preset_params('pop')

out = sonare.mastering_apply_processor('dynamics.compressor', samples, sample_rate=sr, params={
    'thresholdDb': -24,
    'ratio': 1.5,
})

stereo = sonare.mastering_apply_processor_stereo('stereo.imager', left, right, sample_rate=sr, params={'width': 1.1})

# Analyses return typed records
report = sonare.mastering_analyze_pair('match.referenceLoudness', source, reference, sample_rate=sr)
mono   = sonare.mastering_analyze_stereo('stereo.monoCompatCheck', left, right, sample_rate=sr)
bash
# inspect this build and its capability-catalog summary
sonare doctor --json

# discover solo processor ids
sonare mastering-processors

# The CLI lists and applies presets, but does not expose the API-only timing or
# flat-preset-parameter queries.
sonare mastering-presets

# apply one solo processor (--params are k=v,k=v: numbers, or the choices name of an enum key)
sonare mastering-processor song.wav --processor dynamics.compressor \
  --params "thresholdDb=-24,ratio=1.5" -o out.wav

# two-input (pair) analysis prints JSON
sonare mastering-pair-analyze song.wav --reference ref.wav --analysis match.referenceLoudness

# the two-channel stereo analyses: `mastering-stereo-analyses` lists them and
# `mastering-stereo-analyze` runs one (left channel as the file, right channel as --reference)

Native C callers use sonare_mastering_insert_timing with the same flat JSON parameter map and sample-rate query, and sonare_mastering_preset_params_json to obtain {"version":1,"params":{...}} for a named preset; free the returned JSON with the C ABI's string-free function. sonare_capability_catalog_json carries the masteringPresets metadata. The CLI exposes preset names and application, but not these timing or parameter-map queries.