Clearline
Collection
VAD and noise cancellation for voice agents on one CPU core, and a GPU noise filter that keeps every voice. • 3 items • Updated
Removes background noise and keeps every voice, on a GPU. 555M parameters, causal: 16 kHz in and out, 10 ms of look-ahead, live or on whole recordings.
ac5d9550.STT-API's noise-cancellation benchmark, the harness and test sets of Clearline-NC-CPU's card. DeepFilterNet3 and the GPU models run on whole files (for a causal model, its stream); GTCRN and Clearline-NC-CPU stream through their plugins.
| GTCRN | DeepFilterNet3, whole file | Clearline-NC-CPU, quality mode | Clearline-NC-GPU v1 | Clearline-NC-GPU v2 | |
|---|---|---|---|---|---|
| VoiceBank+DEMAND PESQ | 2.535 | 2.673 | 2.597 | 2.614 | 2.719 |
| VoiceBank+DEMAND SI-SDR | 14.6 dB | 15.0 dB | 16.8 dB | 18.0 dB | 16.5 dB |
| VoiceBank+DEMAND ESTOI | 0.820 | 0.838 | 0.833 | 0.841 | 0.847 |
| DNS 2020 synthetic PESQ | 2.293 | 2.499 | 2.550 | 2.600 | 2.741 |
| DNS 2020 synthetic SI-SDR | 14.9 dB | 13.4 dB | 16.4 dB | 17.0 dB | 17.0 dB |
| DNS 2020 synthetic ESTOI | 0.872 | 0.897 | 0.898 | 0.908 | 0.916 |
| DNS 2020 real recordings, DNSMOS overall | 2.75 | 2.87 | 2.77 | 2.84 | 2.95 |
| DNS 2020 real recordings, DNSMOS speech | 3.07 | 3.18 | 3.06 | 3.13 | 3.23 |
| DNS 2020 real recordings, DNSMOS background | 3.86 | 3.96 | 3.93 | 3.96 | 4.01 |
import sys
import soundfile as sf
from huggingface_hub import snapshot_download
d = snapshot_download("Scicom-intl/Clearline-NC-GPU")
sys.path.insert(0, d)
from example import enhance, load
model = load(d, device="cuda")
x, sr = sf.read("noisy.wav", dtype="float32") # 16 kHz mono
sf.write("enhanced.wav", enhance(model, x), 16000)
python example.py noisy.wav enhanced.wav (any rate or channel count; resampled to 16 kHz mono).vi/stream.py) in half precision, 55.1 dB from an exact run over 600 s, three times faster than real time in 4.5 GB of one GPU.Live, 20 ms at a time, the output 10 ms behind the input:
from example import load, stream
out = stream(load(d, device="cuda"), x) # dict(y=..., delay=160 samples)
python example.py noisy.wav enhanced.wav --live writes what a live call would hear.| file | what |
|---|---|
model.safetensors |
the weights (float32) |
config.json |
the model's configuration (The Voice on the Line's, enrollment unused) |
vi/ |
The Voice on the Line's model and streaming code, as released |
example.py |
load, enhance, stream and a command line |
Preprint pending for Clearline; the model design is The Voice on the Line's.
@misc{zolkepli2026clearline,
title = {Clearline: Voice Activity Detection and Noise Cancellation for Voice Agents, on One CPU Core},
author = {Zolkepli, Husein},
year = {2026},
note = {Preprint pending}
}
@misc{zolkepli2026voice,
title = {The Voice on the Line},
author = {Zolkepli, Husein},
year = {2026},
eprint = {2610.35272},
archivePrefix = {arXiv},
primaryClass = {cs.SD},
url = {https://arxiv.org/abs/2610.35272}
}