Skip to main content

pysilentmic: Python Real-Time Voice Isolator

Python C-FFI bindings for SilentMic-RT — the deterministic, zero-allocation sub-3ms hard real-time neural voice isolator and virtual microphone driver.

Features

  • Ultra-Low Latency: 1.33 ms frame hop (64 samples at 48,000 Hz).
  • Sub-3ms Total Latency: Complete input-to-output algorithmic delay under 2.67 ms.
  • Zero Allocation: Lock-free, zero heap memory allocations on audio worker threads.
  • Pure Offline SIMD: Operates entirely on CPU SIMD instructions with zero network or cloud latency.
  • NumPy Integration: Seamlessly denoises NumPy arrays and streaming audio generators.

Installation

pip install pysilentmic

Quickstart

import numpy as np
from pysilentmic import SilentMic

# Initialize SilentMic engine at 48kHz
mic = SilentMic(sample_rate=48000, attenuation_db=-48.0)

# Process 64-sample audio frame in real time (< 30 us)
raw_frame = np.random.randn(64).astype(np.float32)
clean_frame = mic.process_frame(raw_frame)

# Denoise complete audio file / NumPy array
noisy_audio = np.random.randn(48000 * 5).astype(np.float32)
isolated_voice = mic.process(noisy_audio)

# Access hardware telemetry
print(mic.get_stats())

Author & Maintainer

Metadata

Release files for pysilentmic 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysilentmic 0.1.0
File Size Uploaded Provenance Actions
pysilentmic-0.1.0.tar.gz 5.0 kB Without provenance Details for pysilentmic-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysilentmic 0.1.0
File Interpreter ABI Platform Actions
pysilentmic-0.1.0-py3-none-any.whl Python 3 none any Details for pysilentmic-0.1.0-py3-none-any.whl

Total release size: 9.9 kB

Release files / pysilentmic-0.1.0.tar.gz

Download URL pysilentmic-0.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
63e2b2b73fa4c59438d0d7b2696ba6a1f6209c6bf7fe04744f8a7347137ada14
BLAKE2b-256 checksum
How to use checksums
a2ea9d4a3a4d0228007d10a48f5777a8a40020d02c24216a6648cf8e18301e46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / pysilentmic-0.1.0-py3-none-any.whl

Download URL pysilentmic-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1277851f09734f72346c1533dcc2c8955cce60981dbc9f385514e19f4fdfd900
BLAKE2b-256 checksum
How to use checksums
f65d9f950da2af436b9a1e7d63027c22d00fa4b8eff1d14e0ac17bbe32683ddd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for pysilentmic 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page