Repository navigation
Home
sinaryorg edited this page Nov 7, 2026
·
2 revisions
Welcome to the official WinAudio documentation by SINARY™.
WinAudio is a modern, high-performance Windows audio capture, monitoring, and routing toolkit written in Rust, featuring a standalone CLI, official Python bindings (sinary-winaudio), and core Rust engine crates.
It captures digital audio from specific running applications (e.g. Discord, Spotify, Chrome, games) directly in user-mode using Windows WASAPI Process Loopback — without virtual audio cables, audio repeaters, or kernel drivers.
-
CLI Reference Guide
- Discovering audio sessions (
winaudio list) - Target by name, PID, or window title
- Timed and continuous recording (
Ctrl+Csafe finalization) - Master loopback (
--all), mixing, and exclude mode - Volume and mute control
- Runnable command cheatsheet
- Discovering audio sessions (
-
Python API Guide (
sinary-winaudio)- Installation via
pip - Enumerating active sessions
- Controlling application volume and mute
- Per-process, multi-app, and exclude recording
- Real-time 16-bit PCM streaming for Whisper and AI models
- Installation via
-
Rust API Guide (
winaudio-core)- Adding the crate dependency
-
AudioCapturebuilder and target process selection - Managing sessions via
SessionManager - Reading real-time audio frames via channels
-
Architecture & WASAPI Deep-Dive
- Windows Process Loopback APIs (
AUDIOCLIENT_ACTIVATION_PARAMS) - Dynamic process tree walking for child audio renderers
- MMCSS real-time thread scheduling
- Real-time DSP pipeline (downmixing and resampling)
- Windows Process Loopback APIs (
- Windows 10: Build 20348 (21H2 Server / Enterprise updates) or newer.
- Windows 11: All builds supported.
-
Architecture: 64-bit (
x86_64/x64). - Permissions: Standard user permissions (Administrator not required for standard desktop audio sessions).
-
Python (
pip):pip install sinary-winaudio(PyPI Project) -
Windows Package Manager (
winget):winget install Sinary.WinAudio -
Scoop:
scoop install https://raw.githubusercontent.com/sinaryorg/winaudio/main/packaging/scoop/winaudio.json -
Rust (
crates.io):winaudio-core = "0.1.0"(crates.io/crates/winaudio-core) -
CLI via Cargo:
cargo install winaudio-cli(crates.io/crates/winaudio-cli) - GitHub Releases: Pre-built stand-alone binaries at sinaryorg/winaudio/releases
Copyright © 2026 SINARY™. All rights reserved.
"SINARY" and the SINARY logo are trademarks of SINARY™.
Dual-licensed under either MIT License or Apache License, Version 2.0.
WinAudio — Developed by SINARY™. Dual-licensed under MIT and Apache-2.0.