[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116529":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":29,"discoverSource":30},116529,"voice-isolator","inworld-ai\u002Fvoice-isolator","inworld-ai","Voice isolation — separating clean speech from background noise and mixed audio.","",null,"Python",401,34,9,2,0,100,266,429,94.52,"Apache License 2.0",false,"main",[],"2026-11-18 07:55:17","2026-11-23 20:41:53","\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Finworld-logo-white.svg\">\n    \u003Cimg src=\"docs\u002Fassets\u002Finworld-logo-black.svg\" alt=\"Inworld\" width=\"220\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Voice Isolator\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  Open-license (Apache-2.0) 48 kHz voice isolation for noisy speech recordings and live audio.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fhuggingface.co\u002Finworld\u002Fvoice-isolator\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHugging%20Face-inworld%2Fvoice--isolator-FFD21E?logo=huggingface&logoColor=FFD21E\" alt=\"Hugging Face: inworld\u002Fvoice-isolator\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## TL;DR\n\nInworld Voice Isolator v1 ships as two models that share one architecture:\n\n| | `voice-isolator-v1` | `voice-isolator-v1-realtime` |\n|---|---|---|\n| made for | recorded audio and anything not latency-sensitive, at the best quality | live audio, as a stream in your pipeline or production |\n| how it runs | offline: every frame sees its whole 8 s chunk | a causal stream with 20 ms of look-ahead |\n| parameters | 64M | 58M |\n\n**Use them for** cleaning recordings before playback or publication, curating speech datasets and voice pipelines where the speaker's identity must survive.\nWith the realtime model, use them for live calls and streams.\nSubtract the isolated voice from the input to extract background noise or a backing-track residual for vocals\u002Fmusic separation.\n\n**They are not** a speaker selector or a restoration model.\nRestoration is planned for version 2 (see [Plans](#plans)), stay tuned!\n\n## Quick start\n\nUsing a coding agent? Point it at the [setup section of AGENTS.md](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002FAGENTS.md#setting-up-the-voice-isolator-for-a-user): it installs the package, checks the machine with `voice-isolate-doctor` and cleans a first file.\n\n```bash\npip install inworld-voice-isolation\n# or from a clone: git clone https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator && cd voice-isolator && pip install -e .\n\n# a noisy example; a clone also has it at demo\u002Fexamples\u002Fsample_14.wav\ncurl -LO https:\u002F\u002Fraw.githubusercontent.com\u002Finworld-ai\u002Fvoice-isolator\u002Fmain\u002Fdemo\u002Fexamples\u002Fsample_14.wav\n\n# offline isolation (downloads the offline model on first use):\n# the voice goes to sample_14_clean.wav and the removed background\n# to sample_14_clean_background.wav, beside it\nvoice-isolate sample_14.wav sample_14_clean.wav\n```\n\nBoth are float32 WAVs at 48 kHz, with their original levels preserved; together they reconstruct the aligned mono input.\nUse `--output-sr 0` to keep the input rate, `--background noise.wav` to choose the background path for one file, or `--no-background` to save only the voice.\n\n```python\nfrom inworld import voice_isolation\n\n# isolate a recording offline\noffline = voice_isolation.VoiceIsolator(\"inworld\u002Fvoice-isolator\")\nwav, sample_rate = voice_isolation.load_audio(\"sample_14.wav\")\nvoice = offline.isolate(wav, sample_rate)\nvoice_isolation.save_audio(\"sample_14_clean.wav\", voice, sample_rate, subtype=\"FLOAT\")\nvoice_isolation.save_audio(\"sample_14_clean_background.wav\", wav - voice, sample_rate, subtype=\"FLOAT\")  # what was removed\n```\n\n### Streaming\n\nThe realtime model isolates the voice as the audio arrives, with 20 ms of look-ahead:\n\n```python\nimport torch\nfrom inworld import voice_isolation\n\nlive = voice_isolation.VoiceIsolator(\"inworld\u002Fvoice-isolator\",\n                                     mode=\"streaming\", lookahead_frames=2)\nsession = live.stream()                             # takes 48 kHz mono, in pieces of any size\nwav, sample_rate = voice_isolation.load_audio(\"sample_14.wav\")  # 48 kHz mono, standing in for a live source\nvoice = []\nfor start in range(0, len(wav), 960):               # 20 ms at a time, as a microphone delivers it\n    voice.append(session.push(wav[start:start + 960]))  # the samples that are final: play or send them\nvoice.append(session.flush())                       # the rest, once the source ends\nvoice_isolation.save_audio(\"sample_14_streamed.wav\", torch.cat(voice), sample_rate)\n```\n\nThe streaming CLI writes only the isolated voice, after the whole file has gone through:\n\n```bash\nvoice-isolate sample_14.wav sample_14_streamed.wav --mode streaming --lookahead 2\n```\n\n`inworld\u002Fvoice-isolator` is the weights' repository, [huggingface.co\u002Finworld\u002Fvoice-isolator](https:\u002F\u002Fhuggingface.co\u002Finworld\u002Fvoice-isolator): they download on first use and are checked against the checksums in [the registry](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002Fsrc\u002Finworld\u002Fvoice_isolation\u002Fregistry.py).\nThe mode picks the checkpoint: `voice-isolator-v1` offline, `voice-isolator-v1-realtime` for streaming.\n`--model` and `VoiceIsolator(...)` also take either name, a local checkpoint path or an `hf:\u002F\u002F\u003Corg>\u002F\u003Crepo>\u002F\u003Cfile>[@\u003Crevision>]` location.\nPython 3.10 or later and PyTorch 2.1 or later; `pip install \"inworld-voice-isolation[fast]\"` adds the CUDA Mamba kernels.\nCUDA is used when available, Apple's Metal backend (`mps`) on an Apple-silicon Mac with PyTorch 2.6 or later, and the CPU otherwise; `--device` picks one.\n\nThe [interactive demo](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002Fdemo\u002FREADME.md) has **Offline** and **Online** tabs, with both models loaded at startup.\nOffline processes files and samples into voice and background audio. Online streams the microphone for up to 60 seconds, updating waveforms and spectrograms as you speak; capture pauses before playback.\nThe background is whatever the model removed and can contain voice leakage.\n\nThe [audio cleanup notebook](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002Fexamples\u002Faudio_cleanup.ipynb) walks through a first evaluation: clean a noisy sample, compare it with the original by ear, then try your own recording.\n\n## Hardware\n\nTested on NVIDIA Ampere, Hopper and Blackwell GPUs (A100, H100, B200 and B300) and on CPU.\nSmaller GPUs are not tested yet (see [Plans](#plans)).\n\n## The VIBE benchmark\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Fboard-dark.svg\">\n    \u003Cimg src=\"docs\u002Fassets\u002Fboard-light.svg\" alt=\"Inworld VIBE full-band tier: denoising score per system\" width=\"100%\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Fboard-restoration-dark.svg\">\n    \u003Cimg src=\"docs\u002Fassets\u002Fboard-restoration-light.svg\" alt=\"Inworld VIBE full-band tier: restoration score per system\" width=\"100%\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\nInworld VIBE (Voice Isolation Benchmark and Evals) ranks 48 kHz voice isolators on two boards.\nA system that puts more than 10 dB more energy above a band-limited input's band than inside it is ranked on restoration; every other system is ranked on denoising.\nInworld scores every system on its internal evaluation set, which is not distributed.\n\n[How the systems are scored and what the scores mean](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002Fbench\u002FREADME.md).\n\n## Architecture\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Farchitecture-dark.svg\">\n    \u003Cimg src=\"docs\u002Fassets\u002Farchitecture-light.svg\" alt=\"The network: STFT, band split, seven dual-path blocks, per-band heads, iSTFT; the two checkpoints\" width=\"100%\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\nSee the model card for [architecture details](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002FMODEL_CARD.md#architecture) and [training data](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002FMODEL_CARD.md#training-data).\n\n## Plans\n\n- [x] Version 1, denoising only: two checkpoints, one for recordings and one for live audio.\n- [ ] Version 2: one model that runs offline or streaming and does denoising and restoration.\n      It keeps removing what is around the voice, and restores what the recording lost when asked to.\n      It will be scored on both VIBE boards.\n- [ ] Testing on smaller GPUs.\n- [ ] On-device support (beyond Apple silicon).\n- [ ] Allow natural language prompting.\n\n## License\n\nCode and weights are Apache-2.0 ([LICENSE](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002FLICENSE)).\nThird-party notices are in [NOTICE](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002FNOTICE).\n\n## How to contribute\n\nEveryone is welcome to use the model however they like and to make it better in any way they see fit!\nAsk your agent to open a PR and we'll take a look.\nSee [CONTRIBUTING.md](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002FCONTRIBUTING.md) for setup, tests and bug reports, and [AGENTS.md](https:\u002F\u002Fgithub.com\u002Finworld-ai\u002Fvoice-isolator\u002Fblob\u002Fmain\u002FAGENTS.md) for coding conventions.\n\n---\n\n\u003Cp align=\"center\">Built for people with ❤️ by Inworld.\u003C\u002Fp>\n","Voice Isolator 是一个开源语音分离工具，专注于从嘈杂环境音或混合音频中精准提取干净的人声。它提供两个预训练模型：离线版（高保真，8秒上下文）适用于录音后处理与数据集清洗；实时版（因果流式，20ms前瞻）支持低延迟语音管道，如在线会议与直播。基于Python实现，采用轻量级深度架构（58M–64M参数），输出48kHz浮点WAV，保持原始电平并支持背景残差导出。适用于语音增强、ASR前端降噪、播客后期制作、语音数据标注及实时通信系统等对人声保真度要求较高的场景。","2026-11-24 04:53:46","CREATED_QUERY"]