Back to Blog
AI Trend DigestEN

Voice Isolator v1: Open-Source 48 kHz Voice Separation for Live and Recorded Audio

5 min read

Abstract illustration for: Voice Isolator v1: Open-Source 48 kHz Voice Separation for Live and Recorded Audio

Voice quality matters. Whether you're transcribing a podcast recorded in a coffee shop, running a voice assistant on noisy input, or processing live calls, background noise degrades both user experience and downstream model performance. Inworld's Voice Isolator v1 addresses this by separating voice from noise at 48 kHz, available under Apache-2.0 license in two configurations: an offline model for maximum quality and a streaming model for real-time applications with 20 ms of algorithmic latency.

The project ships as a Python package with CLI tools, making it accessible to both researchers and production engineers. It's designed to preserve speaker identity and non-verbal sounds—laughter, breaths, sighs—while removing environmental noise, competing voices, music, and room reflections.

Why it matters

Audio quality is a bottleneck in many pipelines. Noisy recordings degrade transcription accuracy, voice assistant performance, and dataset quality. Existing solutions often either introduce artifacts, require specialized hardware, or lack the flexibility to run both offline and live.

Voice Isolator addresses three concrete needs:

  • Dataset curation: Clean speech datasets where speaker identity survives, useful for training voice models or building high-quality training corpora.
  • Live applications: Real-time voice enhancement for calls, streams, and voice assistants with bounded latency (63 ms at 20 ms look-ahead).
  • Content preparation: Pre-processing recordings before publication or playback, with the ability to extract both the isolated voice and the removed background as separate files.

The model is not a speaker selector—it doesn't identify who is speaking—and it performs denoising rather than restoration. When two people speak simultaneously, it keeps the louder voice and typically removes one that is several dB quieter; voices at similar levels are usually both preserved. Restoration (filling in missing bandwidth or recovering lost detail) is planned for version 2.

How it works

Architecture overview

Voice Isolator uses a band-split dual-path network operating on the Short-Time Fourier Transform (STFT). The input is processed at 48 kHz, mono, with an FFT size of 2048 and hop size of 480 samples (10 ms frames).

The spectrum is divided into 46 frequency bands—narrow at low frequencies, wider at high frequencies—creating one token per band per frame. Seven transformer-like blocks refine these tokens:

  • Four blocks alternate time attention (with rotary position embeddings and exclusive self-attention) followed by cross-band attention.
  • Three blocks use Mamba layers along the time axis, then across bands (with state size 16).

Each band produces two outputs: a bounded complex mask and a bounded per-bin residual, which is added to the input spectrum. The result is inverse-transformed back to audio.

The offline model (voice-isolator-v1) is non-causal: every frame sees its full 8-second context window, allowing bidirectional information flow. Long files are processed in overlapping 8-second chunks (2-second overlap).

The realtime model (voice-isolator-v1-realtime) is causal with trained look-ahead of 0, 20, or 40 ms. It carries a look-ahead embedding and processes audio as a stream, enabling live applications.

Model variants

AspectOffline (v1)Realtime (v1-realtime)
Use caseRecorded audio, non-latency-sensitiveLive audio, streaming pipelines
ProcessingNon-causal, 8 s contextCausal, 20 ms look-ahead
Parameters64.0M58.2M
LatencyNone (batch processing)63 ms (at 20 ms look-ahead)

Training and evaluation

The model was trained on approximately 10,000 hours of unique audio:

  • Speech sources: Read and conversational speech in multiple languages, expressive and character voices, whispered speech, singing, and speaker non-verbal sounds (laughter, breaths, sighs).
  • Noise: Environmental and household noise, traffic, rain, wind, music, crowd sound, isolated transient events, competing talkers, room responses, telephony degradation, and codec artifacts.
  • Real data: Clean and noisy recordings of the same speech captured in rooms.

The training objective is explicit: return the voice as recorded, remove everything else (noise, music, other voices, room tail), preserve the speaker's own sounds and timing, and invent nothing.

Inworld publishes results on the VIBE (Voice Isolation Benchmark and Evals) benchmark, which ranks 48 kHz isolators on two boards: denoising (for systems that don't add excessive energy outside the input band) and restoration (for those that do). Scores are computed on Inworld's internal evaluation set, which is not distributed.

How to try it

Installation

pip install inworld-voice-isolation

Or from source:

git clone https://github.com/inworld-ai/voice-isolator
cd voice-isolator
pip install -e .

Offline processing

Download a sample file:

curl -LO https://raw.githubusercontent.com/inworld-ai/voice-isolator/main/demo/examples/sample_14.wav

Isolate the voice:

voice-isolate sample_14.wav sample_14_clean.wav

This produces two files: sample_14_clean.wav (isolated voice) and sample_14_clean_background.wav (removed background). Both are float32 WAV at 48 kHz, and together they reconstruct the aligned mono input.

Python API (offline)

from inworld import voice_isolation

offline = voice_isolation.VoiceIsolator("inworld/voice-isolator")
wav, sample_rate = voice_isolation.load_audio("sample_14.wav")
voice = offline.isolate(wav, sample_rate)
voice_isolation.save_audio("sample_14_clean.wav", voice, sample_rate, subtype="FLOAT")
voice_isolation.save_audio("sample_14_clean_background.wav", wav - voice, sample_rate, subtype="FLOAT")

Streaming (real-time)

import torch
from inworld import voice_isolation

live = voice_isolation.VoiceIsolator("inworld/voice-isolator",
                                     mode="streaming", lookahead_frames=2)
session = live.stream()
wav, sample_rate = voice_isolation.load_audio("sample_14.wav")
voice = []
for start in range(0, len(wav), 960):  # 20 ms chunks
    voice.append(session.push(wav[start:start + 960]))
voice.append(session.flush())
voice_isolation.save_audio("sample_14_streamed.wav", torch.cat(voice), sample_rate)

Or via CLI:

voice-isolate sample_14.wav sample_14_streamed.wav --mode streaming --lookahead 2

Hardware and device selection

The model runs on NVIDIA GPUs (tested on Ampere, Hopper, and Blackwell architectures), Apple Silicon Macs with PyTorch 2.6+ (Metal backend), and CPU. Use --device to select explicitly. Weights download on first use with checksum verification.

For more details, including options like --output-sr, --background, and --no-background, check the README.

Who it's for (and limits)

Good fit:

  • Speech dataset curation and cleaning
  • Pre-processing for transcription pipelines
  • Live voice calls and streams
  • Extracting backing tracks or noise residuals for music/vocals separation
  • Any workflow where speaker identity must be preserved

Not designed for:

  • Speaker identification or selection (it doesn't know who is speaking)
  • Audio restoration (filling missing bandwidth or recovering lost detail—planned for v2)
  • Separating multiple speakers into individual tracks (it keeps the louder voice when two speak simultaneously)

The model is production-ready for denoising tasks. Smaller GPUs have not been tested; check the GitHub repository for updates on support.

The day's GitHub and Hugging Face picks side by side.

ProjectSource★Language / Type
elementalsouls/Claude-BugHunterGitHub20,850Python
HKUDS/CLI-AnythingGitHub64,362Python
jingyaogong/minimindGitHub69,975Python
openvinotoolkit/openvinoGitHub12,392C++
cathrynlavery/diagram-designGitHub71,580HTML
thinkingmachines/Inkling-2-MiniHugging Face5,666image-text-to-text
unsloth/Inkling-2-Mini-GGUFHugging Face1,195image-text-to-text
inworld/voice-isolatorHugging Face777audio-to-audio
tencent/Hy4-flashHugging Face667image-text-to-text
AtomicChat/Inkling-2-Mini-Uncensored-GGUFHugging Face707image-text-to-text