LabDAW

De-esser

A de-esser device: three models, frequency, over body, ratio and range, a panel that draws what it does at each frequency, a Web Audio engine and tools for agents.

Audio UI

Softens the sharp s and t of a voice. When the highs above a frequency get loud, they are taken down, never by more than the range. The split, band and wide band models, from audio.js, read how far they rise over the voice's body, so the same setting works at any recording level. It is a device: a state, a panel, an engine and tools, each its own file.

Installation

pnpm dlx shadcn@latest add @audio-ui/deesser

It installs the device's state, its engine and its panel to components/audio-ui/devices/deesser/. The demo above, which wires them to a loop, is @audio-ui/block-deesser.

Controls

Controls · 7

Models

ModelTells an s byTakes down
Splitthe highs rising over the voice's bodythe highs over the frequency, by a linear-phase split
Bandthe samea band around the frequency, as wide as the Q
Wide bandthe samethe whole sound, while the s lasts

Split, Band and Wide band are the modes of @audio/dynamics-deesser, its processor as published in an AudioWorklet. They hear the sound 5 ms ahead of what they cut, so an s is taken down from its start: the device's latency is 5 ms. Until the worklet is ready, the highs pass unchanged. Their values change as they play. Their knee, attack and release are the package's: 6 dB, 1 ms and 15 ms.

Panel

The panel draws what the device does at each frequency at full reduction. The handle sits on the curve at the frequency: drag it across for the frequency and down for the range. deesserResponse(state) is the curve the panel draws. Pass signal, the device's live sound from useDeviceSignal, to see the spectrum of what comes out behind the curve.

import { DeesserPanel } from "@/components/audio-ui/devices/deesser/panel";
import { deesserDevice } from "@/components/audio-ui/devices/deesser/device";

const [state, setState] = useState(() => deesserDevice.defaults());

<DeesserPanel onValueChange={setState} value={state} />;

Engine

Create it, connect it and update it as for any device: see The engine.

engine.reduction; // dB taken off the highs, read per frame

The panel draws the cut of the split with two Butterworth biquads in a row, a Linkwitz-Riley split, and the band with a band-pass of the same Q: at the frequency they match the package's linear-phase filters, which fall away faster around it. engine.reduction reads what is taken off the whole sound, which for a split or a band is less than what the highs lose.

Built by Ouest Labs, the source code is available on GitHub.
RSS