low-mid 160 Hz (Q 1.2), round outline 1.3 kHz (Q 0.9) and point 3.8 kHz (Q 0.8) bells;
broad high shelf, 2–10 kHz (auto 3 / 4.3 / 5 / 8 kHz), Q 0.45, -8 to +3 dB;
16 kHz air shelf;
4 manual peaking bands (±12 dB, Q 0.3–10).
Dynamic bells:
They compute y = x + (g−1)·BP(x) with a 0 dB bandpass, which gives an exact bell whose gain can change every sample.
Thresholds are calibrated per song, so the loudest 15 % of the song gets the set depth.
For narrow resonance bells (Q ≥ 4), static EQ boosts at the same frequency are added to the depth. Broad bands don't do this, so they don't cancel the high shelf on loud moments.
Hi-hat tamer: a wide dynamic bell at 10 kHz, Q 0.8 (about 7–14 kHz), keyed on jumps rather than level: when a fast envelope (0.2 / 5 ms) rises more than 1 dB over the band's own average (15 / 120 ms), 3/4 of the jump is taken off, at most 6 dB, released over about 300 ms (a fast release dipped the top on every hit, heard as a swishy top). It acts on every hit, quiet hats included; cymbal ring and the overall top end are barely touched. It is an ordinary dynamic EQ band (level depth 0, jump detector only), so CUSTOM shows it as "Hi-hat control (10k)" with its maximum as the slider. It stays separate from the 8 kHz crash band: one band for both missed the hats around 10 kHz.
Punch: a complementary split at 150 Hz, with transient shaping on the low band only and a measured makeup. Auto: only when the source kick band peak/RMS is under the reference range (8.21–12.17 dB), by the shortfall (cap 4; 808 3; dense, sparse drums and ballads 1.5), with tails at −0.375× and low level at 0.25× of it. In range: 0. Over the top (strong kick): nothing here; the finished master decides (see Kick guard).
Glue: a feed-forward, linked compressor.
The sidechain is high-passed at 100 Hz.
Detection is dual (RMS and peak), with a 6 dB soft knee.
Auto settings pick an amount per song: the average gain reduction on the loud parts (top 15%), set only by how far the section loudness spread (p95−p5) is over the reference range (2.39–8.81 dB), 0.5–2.5 dB. Songs in range get no glue. The threshold is calibrated per song to hit that amount, so quiet parts pass almost untouched.
The ratio is 2:1 (1.5:1 for dense masters), the attack 30 ms, and the releases are synced to the BPM.
Colour: asymmetric tanh at 2× oversampling, normalised to unity small-signal gain. Auto: drive only for the part of the loud-part micro-crest (median 50 ms peak/RMS) over the reference range (8.73–9.78 dB); each unit rounds off only ~0.03 dB, so capped at 3. In range: 0.
Space: an 8-line FDN (Hadamard mixing, damped loop, pre-delay up to 250 ms), used at a few percent wet. Its input is high-passed at 500 Hz.
End tail (export only): the last 0.45 s goes through the same space; its wet tail starts 10 dB under the song's end and fades over 0–3 s. The song itself is untouched. Set to 1.5 s automatically when the last 0.1 s is within 12 dB of the song's RMS.
Stereo:
The side is high-passed (4th order) to make the lows mono.
Width is the side gain.
Presence adds a mid bell at 3 kHz and cuts the side there by half as much.
Limiter:
2 ms lookahead, with true-peak detection by 4× polyphase interpolation.
The required gain goes through a sliding-window minimum, release smoothing (plus a 6× slower second release) and a box filter of the same length, so the output never exceeds the ceiling.
05Analysis
Loudness: integrated LUFS, LRA, 10 s section loudness and crest factor.
Tone: low/high ratio (20–250 Hz vs 4–16 kHz) and the long-term spectrum.
Loud parts: bands that grow in the loudest 15 % of frames.
Resonances: persistent 2–5 kHz peaks.
Treble: the share above 5 kHz and at 9–10 kHz in loud parts.
Rhythm: BPM, folded into 70–180, and low-band onset rate.
Bass: the f0 distribution, used to detect 808s.
Stereo: side energy in the lows and highs.
06Auto prescription
Every source is taken to the same measured targets. There is no "already mastered" verdict.
Special cases:
808 → -10 LUFS, HPF 25 Hz;
ballad (crest ≥ 15 dB, section spread ≥ 6 dB) → -13 LUFS, half-tempo releases, cymbal / hi-hat control only on measured excess (no floor), 9–10 kHz judged on spikes only;
space: not added automatically (no measurement shows a shortfall; a light room barely changes anything measurable).
bright source → lighter high control;
very dark source → treble lift of +1 dB at most.
Treble above 5 kHz: the broad high shelf is solved so the loud-part share above 5 kHz hits the typical median of -16.9 dB. After every loud-only bell is in place, the master is measured again; if it falls short, the shelf is raised by the missing amount (at most +2.5 dB, raise only) and the loudness re-locked, which brings back the outline of the voice. Raising the shelf also lifts the source's codec swirl above 12 kHz, so whatever the loud-part level above 12 kHz exceeds the source by is taken back with a 12 kHz shelf (at most -4 dB, aiming 0.5 dB under the source). Ballads and very dark sources are skipped.
9–10 kHz:
The loudness-locked master is rendered and its loud parts are measured through an 8.5 kHz high-pass and 10.5 kHz low-pass (two stages each), in 2 ms chunks.
Amount (band share): if it is more than 0.5 dB above the upper end of typical masters (-26.6 dB), the 9.5 kHz bell is deepened by the excess (at most 3 dB) and the shelf is lowered by only 0.3 × the excess, so the bell does the work and the song does not get dull.
Spikes (loudest 2 ms chunk vs. the median): if they exceed the typical upper end of 11.1 dB, the 9.5 kHz bell is set to 3 dB and the shelf is left alone.
Timing: the 8 kHz bell reacts fast (5 ms) and lets go over 2 s; the 9.5 kHz bell moves per passage, not per hit (0.2 s attack, 3 s release). A bell switching on and off quickly pumps the cymbals and hi-hats up and down, heard as a swishy top. The 11 kHz bell stays fast (80 ms) to catch surges.
10.5–12.5 kHz: on the same master's loud parts (top 15 % of 100 ms blocks), the band's p95 over its median is measured. Above the typical 4.3 dB, 11.3 kHz (Q 1.5) is cut on loud moments by 6× the excess (1.5–4 dB), ballads included.
Dark songs: ballads and very dark songs get no high lift, unless the loud parts' >5 kHz share ends up 3 dB or more under the source; then the shelf comes back to 1.5 dB under the source. If the >5 kHz or air (12 kHz+) share falls under the reference range's floor (P10), it comes back up to the floor.
Kick guard: if the master's low band (below 150 Hz) peak/RMS (median of the louder half of 0.4 s blocks) is over the source's by more than 0.2 dB, the punch comes down by twice the excess (and the tightness by 0.5 above 1 dB). If the master's kick band is still more than 0.2 dB over the reference range top (12.17 dB), the attack goes negative by the excess ÷ 0.09 (measured: about 0.09 dB of crest per dB of negative attack), down to −4. Then the loudness is solved again.
Muddiness: if the loud parts' 125–500 Hz over 1–4 kHz energy ratio is 0.3 dB or more over the reference range top (+8.1 dB, P90 of 35 songs), the mud bell is cut by the excess (at most −2 dB, minus any broad cut already in that band) at the centre of whichever of 125–250 / 250–500 Hz sticks out more.
Shelf corners: not fixed; they follow where the source departs from the typical median. The high shelf starts at the lowest of 2–4k / 4–8k / 8–16k Hz in the unbroken run of short bands from the top (only 8–16k short → 8 kHz, 4–16k → 5 kHz, 2–16k → 3 kHz, top not short → 4.3 kHz). The low shelf covers up to the highest of 20–60 / 60–125 / 125–250 Hz whose deviation in the direction being fixed is at least half the largest (48 / 100 / 200 Hz, otherwise 90 Hz). The 16 kHz air and 12 kHz guard shelves stay fixed: those bands have a set job.
Too much low end: the finished master's whole-song low/high ratio (20–250 Hz over 4–16 kHz) is measured again. If it is 0.3 dB or more over the reference range top (13.85 dB, P90 of 22 songs without hip-hop, ballads and city pop; ballads 19.96 dB) and the source's lows themselves are above the typical median, the low shelf goes down by the excess (at most −2 dB). A song that is only short of highs is left to the high shelf. 808 / pitched sub bass is skipped. Then the loudness is solved again.
Hi-hat tamer: on when hits stick out over the reference (up to 6 dB, ballads included). The two measurements above are made without it; it is added afterwards, after the 11 kHz bell, and the loudness is solved again.
8 kHz bell: 3 dB (1.5 dB for bright sources), 2 s release. The band's loudest 15 % is mostly crash cymbal ring, so it holds while the crash rings.
Resonances: persistent peaks ≥ +4 dB over their neighbourhood are cut narrowly (Q 8) on loud moments only, by the excess (prominence − 2.5 dB, 1–4 dB); peaks within 1/12 octave of each other share one cut. Deeper cuts took the gloss off the vocal, so only the excess is cut. Shallower for ballads (max 1.5 dB).
07Loudness lock
The pre-limiter render is cached, and the limiter drive is solved by the secant method to the target (±0.05 LU).
Edits are re-solved on eight 4 s excerpts plus the measured excerpt/full offset, which is about 5× faster.
The export re-measures the whole song.
08Genres, taste and learning
Genres are a layer on top of the auto settings. Their tone and width moves are sized from the diagnosis. Each genre's low/high ratio target comes from the per-genre median of a 35-song reference range (band pop 12.2, dense idol pop 10.5, city pop 15, ballad 14.5, hip-hop 19.5 dB…). 13 genres.
Taste: 9 axes (±3 steps) and 3 fixes (0–3). The applied deltas are recorded, so undo is exact.
Learning: an exponential average (rate 0.35) of your final-minus-auto offsets, applied to the next song.
09Export and QC
An offline render of the whole song, latency-compensated.
A LUFS correction, up to 2 passes.
A true-peak correction, up to 5 passes.
At 48 kHz, resampling followed by a peak re-check.
A 1 LSB TPDF dither for 16-bit, or lamejs at 320 kbps for MP3.
The measured kHz / LUFS / dBTP are shown.
10Requirements
A browser with AudioWorklet, module Web Workers and the Web Audio API.
All processing is local, and no audio is sent anywhere.
Settings, presets, learning and the language choice are stored in localStorage.
External loads: lamejs (jsDelivr) and Google Fonts.