Skip to content

Installation

Choose your target SDK or download the standalone terminal studio demo:

Prebuilt binary wheels (cp311-abi3, cp314-cp314t, and PEP 803 cp315-abi3.abi3t) are published on PyPI for Windows (x64, ARM64), Linux (x86_64, aarch64 manylinux_2_28), and macOS (Apple Silicon arm64) with zero mandatory runtime dependencies:

Terminal window
pip install capture-system-or-process-audio
# Optional: enable zero-copy 2D NumPy views via block.to_numpy(copy=False)
pip install "capture-system-or-process-audio[numpy]"

Using uv:

Terminal window
uv add capture-system-or-process-audio

Inspect your current OS platform, active audio backends, permissions, and live CaptureTarget table directly from the terminal:

Terminal window
python -m capture_system_or_process_audio

Or verify OS recording permissions programmatically without opening a stream:

import capture_system_or_process_audio as cspa
report = cspa.check_permissions()
print("OS:", report.os.value, "All granted:", report.is_granted)

Linux Runtime Shared Libraries 0 NEEDED Links

Section titled “Linux Runtime Shared Libraries 0 NEEDED Links ”

Prebuilt Linux wheels, Rust binaries, and libcspa_ffi.so dynamically load libpipewire-0.3.so.0 (>= 0.3.65) and/or libpulse.so.0 (>= 15.0) at runtime via dlopen. Your binary starts cleanly even on minimal containers where neither audio server is installed, and activates whichever server is running on desktop hosts.


Prebuilt Interactive Studio Demo (cspa-tui-demo)

Section titled “Prebuilt Interactive Studio Demo (cspa-tui-demo)”

Want to explore live applications, processes, microphones, execution plans, and real-time FFT/Waterfall/Oscilloscope views before writing code? Download cspa-tui-demo-<version>-<target> from GitHub Releases or run from source:

Terminal window
cargo run --release --manifest-path tools/cspa-tui-demo/Cargo.toml

Continue to Choosing an API.