Skip to main content
k2k audio logo k2k audio

Back to Masks
Documentation tree

Amplitude Mask

Amplitude Mask selects spectral bins by their magnitude in dB — keep only bins between amp_min and amp_max, send the rest to the rejected output.

Parameters

ParameterRangeDefault
Amp Min-96.0 – 0.0-60.0
Amp Max-96.0 – 0.00.0
Feather0.0 – 20.00.0

Amp Min — Lower amplitude bound in dB, −96 to 0 (default −60). Bins quieter than this fall outside the selection. Pair with amp_max to define a “loudness window” — e.g. amp_min = −40, amp_max = −10 selects bins between −40 and −10 dB. Auto-clamps so it never exceeds amp_max.

Amp Max — Upper amplitude bound in dB, −96 to 0 (default 0). Bins louder than this also fall outside the selection. Useful for surgical work — set amp_max = −20 to grab everything quieter than the loudest peaks (mute the lead, keep the bed). Auto-clamps so it never falls below amp_min.

Feather — Soft-edge transition zone in dB, 0–20. 0 = hard threshold (binary in/out); higher values = smoothstep cross-fade through the edges. Use 3–6 dB for natural-sounding amplitude masks (avoids spectral artifacts at the threshold boundary). Applied symmetrically at both edges (above max, below min).

Additional controls

Invert — Swaps which output port carries which signal. Off (default): Out1 = Extracted (selected bins), Out2 = Rejected (everything else). On: Out1 = Rejected, Out2 = Extracted. Useful when downstream patching is easier with the inversion baked in. The label colors under the toggle show which output is which (green = Extract, orange = Reject).

About Amplitude Mask

Amplitude Mask selects spectral bins by their magnitude in dB — keep only bins between amp_min and amp_max, send the rest to the rejected output. Both outputs are always populated (dual-output extractor pattern). The two outputs sum back to the original (within feathering rounding) — so you can split a signal into “loud” and “quiet” portions, process each separately, and remix without phase artifacts. Use cases: isolate sustained tonal content (set min above the noise floor, max at 0), remove the loudest peaks (set max below them, take Rejected), pull out only quiet reverb tails (set max well below the dry signal). Pair with Frequency Band Mask when you want amplitude AND frequency restrictions, or use Unified Mask which combines amplitude + frequency + time in one node. Operates in the spectral domain; ISTFT is deferred to playback or downstream consumers.


Generated 2026-05-05 from K2K_Dev@96730bdc by scripts/gen_lexique.py. Edit _intros/ or _overrides/, not this file.