Noise suppression and automatic gain with speex
Project description
pyspeex-noise
Noise suppression and automatic gain control using speex.
from pyspeex_noise import AudioProcessor
auto_gain = 4000
noise_suppression = -30
audio_processor = AudioProcessor(auto_gain, noise_suppression)
# Process 10ms chunks of 16-bit mono PCM @16Khz
while audio := get_10ms_of_audio(): # you define this
assert len(audio) == 160 * 2 # 160 samples
clean_audio = audio_processor.process_10ms(audio)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyspeex_noise-2.0.0.tar.gz.
File metadata
- Download URL: pyspeex_noise-2.0.0.tar.gz
- Upload date:
- Size: 49.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fdb16e59d7a353690661c71e35e2c91972419bfd79dfe37db66ead0e95e7827
|
|
| MD5 |
269085d06931d8e8c9ec4258c4045e3d
|
|
| BLAKE2b-256 |
39aaf257019e3159fccd34091e0acd66fd7527666417c28a3efaae40129007c5
|
Provenance
The following attestation bundles were made for pyspeex_noise-2.0.0.tar.gz:
Publisher:
publish.yml on rhasspy/pyspeex-noise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyspeex_noise-2.0.0.tar.gz -
Subject digest:
6fdb16e59d7a353690661c71e35e2c91972419bfd79dfe37db66ead0e95e7827 - Sigstore transparency entry: 590992443
- Sigstore integration time:
-
Permalink:
rhasspy/pyspeex-noise@3f8983cb87d00ece1bef9472a49041f458207914 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/rhasspy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3f8983cb87d00ece1bef9472a49041f458207914 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 145.6 kB
- Tags: CPython 3.9+, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e26882383f81d474b31158185d88fcf91775b9c7978413a55e46b2d2ac6d41ee
|
|
| MD5 |
e37b340a24016ec4356507c9d92b36af
|
|
| BLAKE2b-256 |
8b35b02df058b780346e5d6a0b1cebe624e872ae5beb6ada4ffec27cefb1efe0
|
Provenance
The following attestation bundles were made for pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on rhasspy/pyspeex-noise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
e26882383f81d474b31158185d88fcf91775b9c7978413a55e46b2d2ac6d41ee - Sigstore transparency entry: 590992456
- Sigstore integration time:
-
Permalink:
rhasspy/pyspeex-noise@3f8983cb87d00ece1bef9472a49041f458207914 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/rhasspy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3f8983cb87d00ece1bef9472a49041f458207914 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 137.9 kB
- Tags: CPython 3.9+, manylinux: glibc 2.27+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34928605513a0e48bbe35eec8e532c864fd4691ab03639eb5dcb53af7033b21f
|
|
| MD5 |
3917e0ab745137b9a00dcfe1d483c546
|
|
| BLAKE2b-256 |
e18c929d47f8ad20507cd7c6bdaa8470a7afbae286a9ca59a976917868d7d644
|
Provenance
The following attestation bundles were made for pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:
Publisher:
publish.yml on rhasspy/pyspeex-noise
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl -
Subject digest:
34928605513a0e48bbe35eec8e532c864fd4691ab03639eb5dcb53af7033b21f - Sigstore transparency entry: 590992473
- Sigstore integration time:
-
Permalink:
rhasspy/pyspeex-noise@3f8983cb87d00ece1bef9472a49041f458207914 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/rhasspy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3f8983cb87d00ece1bef9472a49041f458207914 -
Trigger Event:
push
-
Statement type: