{"id":48567963,"url":"https://github.com/mochi-neko/voice-activity-detection-unity","last_synced_at":"2026-04-08T13:32:39.176Z","repository":{"id":176805996,"uuid":"659512767","full_name":"mochi-neko/voice-activity-detection-unity","owner":"mochi-neko","description":"A voice activity detection (VAD) library for Unity.","archived":false,"fork":false,"pushed_at":"2023-12-09T02:05:33.000Z","size":193,"stargazers_count":39,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T04:40:37.332Z","etag":null,"topics":["unity","vad"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mochi-neko.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-28T02:14:24.000Z","updated_at":"2024-04-21T17:36:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"f373a018-a66e-4030-8a3c-e15ecd870824","html_url":"https://github.com/mochi-neko/voice-activity-detection-unity","commit_stats":null,"previous_names":["mochi-neko/voice-activity-detection-unity"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/mochi-neko/voice-activity-detection-unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochi-neko%2Fvoice-activity-detection-unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochi-neko%2Fvoice-activity-detection-unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochi-neko%2Fvoice-activity-detection-unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochi-neko%2Fvoice-activity-detection-unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mochi-neko","download_url":"https://codeload.github.com/mochi-neko/voice-activity-detection-unity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochi-neko%2Fvoice-activity-detection-unity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31558382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["unity","vad"],"created_at":"2026-04-08T13:32:38.961Z","updated_at":"2026-04-08T13:32:39.122Z","avatar_url":"https://github.com/mochi-neko.png","language":"C#","funding_links":[],"categories":["C# #"],"sub_categories":[],"readme":"# voice-activity-detection-unity\nA voice activity detection (VAD) library for Unity.\n\n## Features\n\nRecords voice data from any sources (`IVoiceSource`, e.g. recording by `UnityEngine.Microphone`),\n detects voice activity by any logic,\n and provides voice data to any buffers (`IVoiceBuffer`, e.g. buffering to WAV file) when voice is active.\n\nYou can customize voice sources, voice buffers,\n and voice activity detection logics adjusting your use cases.\n\n- Sources\n  - [x] `UnityEngine.Microphone` -\u003e [UnityMicrophoneSource](./Assets/Mochineko/VoiceActivityDetection/UnityMicrophoneSource.cs)\n  - [x] `UnityEngine.AudioSource` (`OnAudioFilterRead` callback) -\u003e [UnityAudioSource](./Assets/Mochineko/VoiceActivityDetection/UnityAudioSource.cs)\n  - [ ] Native microphone\n- Buffers\n  - [x] Null (Detection only) -\u003e [NullVoiceBuffer](./Assets/Mochineko/VoiceActivityDetection/NullVoiceBuffer.cs)\n  - [x] Wave file (by [NAudio](https://github.com/naudio/NAudio)) -\u003e [WaveFileVoiceBuffer](./Assets/Mochineko/VoiceActivityDetection/WaveVoiceBuffer.cs)\n  - [x] AudioClip -\u003e [AudioClipBuffer](./Assets/Mochineko/VoiceActivityDetection/AudioClipBuffer.cs)\n- Voice activity detection logics\n  - [x] Queueing-based simple VAD logic -\u003e [QueueingVoiceActivityDetector](./Assets/Mochineko/VoiceActivityDetection/QueueingVoiceActivityDetector.cs)\n    - Less memory usage but less stability \n  - [x] Cumulative VAD logic -\u003e [CumulativeVoiceActivityDetector](./Assets/Mochineko/VoiceActivityDetection/CumulativeVoiceActivityDetector.cs)\n    - More stability but more memory usage and less noise robustness\n\n## How to import by UnityPackageManager\n\nAdd following dependencies to your `/Packages/manifest.json`.\n\n```json\n{\n    \"dependencies\": {\n        \"com.mochineko.voice-activity-detection\": \"https://github.com/mochi-neko/voice-activity-detection-unity.git?path=/Assets/Mochineko/VoiceActivityDetection#0.4.2\",\n        \"com.cysharp.unitask\": \"https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask\",\n        \"com.neuecc.unirx\": \"https://github.com/neuecc/UniRx.git?path=Assets/Plugins/UniRx/Scripts\",\n        \"com.naudio.core\": \"https://github.com/mochi-neko/simple-audio-codec-unity.git?path=/Assets/NAudio/NAudio.Core#0.2.0\",\n        ...\n    }\n}\n```\n\n## Samples\n\n- [VAD as component](./Assets/Mochineko/VoiceActivityDetection.Samples/VADSample.cs)\n- [VAD with echo](./Assets/Mochineko/VoiceActivityDetection.Samples/VADAudioClipEchoSample.cs)\n- [VAD by AudioSource](./Assets/Mochineko/VoiceActivityDetection.Samples/VADAudioSourceSample.cs)\n- [VAD with OpenAI/Whisper API transcription](./Assets/Mochineko/VoiceActivityDetection.Samples/VADToWhisperSample.cs)\n- [VAD by cumulative logic](./Assets/Mochineko/VoiceActivityDetection.Samples/VADCamulationSample.cs)\n\nSee also [Samples](./Assets/Mochineko/VoiceActivityDetection.Samples).\n\n## Change log\n\nSee [CHANGELOG](./CHANGELOG.md).\n\n## 3rd party notices\n\nSee [NOTICE](./NOTICE.md).\n\n## License\n\nLicensed under the [MIT](./LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmochi-neko%2Fvoice-activity-detection-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmochi-neko%2Fvoice-activity-detection-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmochi-neko%2Fvoice-activity-detection-unity/lists"}