Access under PolyForm Small Business
Access is approved automatically after you confirm eligibility or written permission.
Read the PolyForm Small Business License 1.0.0 linked below before requesting access. Your Hugging Face username and email are shared with Trelis Research to manage access and send a welcome email.
Log in or Sign Up to review the conditions and access this model content.
Trelis Voice Isolator
Suppress background speech and noise in 16 kHz mono audio, running on CPU without a speaker-enrolment sample or cloud inference service.
Licence and access
Available under the PolyForm Small Business License 1.0.0, which permits commercial use by qualifying small businesses. Access is approved automatically after you confirm eligibility or written permission from Trelis Research.
If your company does not qualify, contact hello@trelis.com for a simple annual commercial licence.
Quick start
Requires x86-64 Linux with glibc, Python 3.11 or later, and uv.
Accept access on this page, authenticate and download:
uvx --from huggingface-hub==0.36.2 hf auth login
uvx --from huggingface-hub==0.36.2 hf download Trelis/voice-isolator --local-dir voice-isolator
uv run --no-project --with numpy==2.4.4 --with soundfile==0.13.1 python voice-isolator/enhance.py input.wav output.wav
Supply a 16 kHz mono WAV and a new output path. The example verifies the model and runtime hashes and writes a float32 WAV with the same sample count. It does not resample or compensate for model delay. For reproducible deployments, add --revision <full-commit-hash> to the download command.
Streaming use
Run from the downloaded directory with NumPy installed:
import numpy as np
from runtime import HushModel
model = HushModel("libweya_nc.so", "voice-isolator.tar.gz")
stream = model.stream()
try:
# Supply consecutive microphone chunks as mono float32 at 16 kHz.
microphone_chunk = np.zeros(320, dtype=np.float32)
enhanced_chunk = stream.process(microphone_chunk)
finally:
stream.close()
Keep one stream per microphone session and preserve its state across chunks. Incomplete 160-sample frames are buffered, so a call can return fewer samples than it receives. Reset only when starting an independent stream. Do not call the same stream concurrently from multiple threads.
Use this release for optional isolation before speech recognition. For interruption detection, use voice isolation for barge detection, the model packaged with Trelis Barge-In Detector.
Voice isolation for barge detection
Voice isolation for barge detection was tuned more aggressively than this release. In barge detection it only has to tell whether the caller is speaking, so it is tuned to silence background speech and noise as completely as possible, even at the cost of some of the caller's words. That trade-off makes it unsuitable as the main voice isolator before speech recognition: it removes too much of the caller's own speech. On the internal Phone Calls recordings, which have no added background speaker, recognition lost 226 of 5,210 words with it, compared with 19 with no isolation. On quiet callers in the public benchmark it lost 84 of 2,099 words, compared with 2 for this release. It is shown below for comparison only.
Benchmarks
Internal benchmark
265 recordings (96 Work, 106 Call Center, 63 Phone Calls), transcribed with NVIDIA Parakeet TDT 0.6B v2. Every system was run on all 265 recordings. Phone Calls has no deliberately added competing speaker. Lower word error rate is better.
| Audio | Work | Call center | Phone calls | All recordings |
|---|---|---|---|---|
| Original audio, no enhancement | 29.15% | 25.10% | 3.95% | 23.16% |
| Hush | 16.17% | 9.26% | 5.93% | 10.91% |
| Inworld Voice Isolator, realtime | 26.06% | 24.76% | 3.90% | 22.00% |
| Voice isolation for barge detection, from Trelis Barge-In Detector | 9.97% | 8.21% | 10.23% | 9.07% |
| Trelis Voice Isolator, this release | 8.39% | 8.15% | 6.66% | 8.00% |
Voice isolation for barge detection was rerun on the same GPU as this release; across all recordings, this release had 1.07 percentage points fewer errors (paired speaker-bootstrap 95% interval β2.54 to +0.08). These results do not establish a general improvement. Raw audio and upstream Hush were scored in an earlier run on different hardware. On Phone Calls, raw audio still had fewer errors than this release. Inworld's realtime model ran with its package defaults on GPU; its offline model scored 22.62% across all recordings.
Public benchmarks
Six conditions from five public datasets, none used to train this release: 1,425 clips (4.2 hours). Every system processed every clip in every row, and each output was transcribed with NVIDIA Parakeet TDT 0.6B v2. Lower word error rate is better.
| Condition (dataset) | Clips | No isolation | Hush | Inworld Voice Isolator, realtime | Voice isolation for barge detection, from Trelis Barge-In Detector | Trelis Voice Isolator, this release |
|---|---|---|---|---|---|---|
| Background speech on phone and VoIP calls (Dawn Chorus) | 450 | 20.6% | 17.3% | 19.9% | 23.2% | 16.6% |
| Neighboring talker on a speakerphone (DNS Challenge 5, dev set) | 115 | 38.8% | 46.3% | 40.0% | 43.7% | 40.8% |
| Household and office noise on a speakerphone (DNS Challenge 5, dev set) | 484 | 22.3% | 26.6% | 22.3% | 24.8% | 24.3% |
| TV, babble or music in a room (VOiCES) | 216 | 2.9% | 6.7% | 4.6% | 4.5% | 4.5% |
| Quiet caller at β45 dBFS (LibriSpeech test-clean) | 100 | 2.3% | 6.3% | 2.3% | 6.8% | 2.3% |
| Clean call-center calls (AppTek Call-Center Dialogues) | 60 | 9.7% | 10.7% | 9.5% | 10.9% | 10.3% |
On Dawn Chorus, this release had 4.0 percentage points fewer errors than no isolation (paired speaker-bootstrap 95% interval β6.2 to β2.1), 3.3 fewer than Inworld (β5.5 to β1.0) and 6.6 fewer than voice isolation for barge detection (β8.9 to β4.1). Its difference from Hush (β0.7, β1.8 to +0.3) is not statistically reliable. In the other five conditions, no isolation or Inworld had the fewest errors. This release added errors with speakerphone noise (+2.0, +1.0 to +3.0) and on VOiCES (+1.7, +0.8 to +2.7); its differences with neighboring talkers (+2.0, β0.6 to +5.0) and on clean calls (+0.5, 0.0 to +1.6) are not statistically reliable. Hush and voice isolation for barge detection added errors for quiet callers (+4.1 and +4.5 points over no isolation), deleting 55 and 84 words where no isolation deleted 1.
- VOiCES plays speech and distractors from loudspeakers in real rooms, recorded on a close microphone, so the speech already dominates. With no distractor playing, word error rate was 1.6% with no isolation, 3.2% with Hush and 2.3% with this release.
- Inworld ran its realtime model (
voice-isolator-v1-realtime, 20 ms look-ahead, float32). Its card says voices at similar levels are usually both kept, so it is not designed to remove background speakers. On two VOiCES TV clips the recognizer returned no words from its output. - Omitted: REAL-T evaluation meetings, where the target is chosen by an enrollment sample and every system scored 71 to 73%, and clean controls where all five systems were within 0.5 points.
- The quiet-caller clips are LibriSpeech with gain reduced to β45 dBFS. About a third of Dawn Chorus foreground voices are synthesized. Some DNS Challenge reference transcripts contain errors.
- Transcripts were scored with the Whisper English normalizer, ignoring hesitations such as "um", so these figures are not comparable with the internal benchmark above.
- Datasets: Dawn Chorus by ai-coustics (CC BY-NC 4.0, revision
d0294c5); DNS Challenge 5 by Microsoft (CC BY 4.0); VOiCES by Lab41 and SRI International (CC BY 4.0); LibriSpeech (CC BY 4.0); AppTek Call-Center Dialogues (CC BY-SA 4.0, revision82a7290). The internal benchmark uses Krisp's voice isolation benchmark recordings (CC BY-NC 4.0). Only scores are published; no audio is redistributed.
CPU speed
On CPU, one stream processes 20 ms chunks at about 17 times real time on a single thread of a 2.6 GHz x86 Xeon (real-time factor 0.058; slowest chunk 2.3 ms).
Limitations
- Compared with the previous release, this model gives lower word error rate after recognition but suppresses competing speakers less in internal measurements.
- Quiet or distant speech, short responses and speech onsets can be suppressed. Evaluate before using the model ahead of speech recognition.
- Nearby competing speakers, overlapping speech, television and reverberation can reduce separation quality. The model does not identify a particular speaker.
- Quality may vary across languages, accents and devices.
- The 10 ms processing frame size is not an end-to-end latency measurement.
Attribution and package
Derived from Hush. Upstream components retain their own licences; see third-party notices.
The model is a native runtime bundle loaded by runtime.py. File hashes are recorded in manifest.json.
- Downloads last month
- 30
Model tree for Trelis/voice-isolator
Base model
weya-ai/hush