pyspeex-noise


Namepyspeex-noise JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/rhasspy/pyspeex-noise
SummaryNoise suppression and automatic gain with speex
upload_time2025-10-07 21:47:26
maintainerNone
docs_urlNone
authorMichael Hansen
requires_python>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyspeex-noise

Noise suppression and automatic gain control using speex.

``` python
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)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rhasspy/pyspeex-noise",
    "name": "pyspeex-noise",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Michael Hansen",
    "author_email": "mike@rhasspy.org",
    "download_url": "https://files.pythonhosted.org/packages/39/aa/f257019e3159fccd34091e0acd66fd7527666417c28a3efaae40129007c5/pyspeex_noise-2.0.0.tar.gz",
    "platform": null,
    "description": "# pyspeex-noise\n\nNoise suppression and automatic gain control using speex.\n\n``` python\nfrom pyspeex_noise import AudioProcessor\n\nauto_gain = 4000\nnoise_suppression = -30\naudio_processor = AudioProcessor(auto_gain, noise_suppression)\n\n# Process 10ms chunks of 16-bit mono PCM @16Khz\nwhile audio := get_10ms_of_audio():  # you define this\n    assert len(audio) == 160 * 2  # 160 samples\n    clean_audio = audio_processor.process_10ms(audio)\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Noise suppression and automatic gain with speex",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/rhasspy/pyspeex-noise"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e18c929d47f8ad20507cd7c6bdaa8470a7afbae286a9ca59a976917868d7d644",
                "md5": "3917e0ab745137b9a00dcfe1d483c546",
                "sha256": "34928605513a0e48bbe35eec8e532c864fd4691ab03639eb5dcb53af7033b21f"
            },
            "downloads": -1,
            "filename": "pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl",
            "has_sig": false,
            "md5_digest": "3917e0ab745137b9a00dcfe1d483c546",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 137916,
            "upload_time": "2025-10-07T21:47:23",
            "upload_time_iso_8601": "2025-10-07T21:47:23.273613Z",
            "url": "https://files.pythonhosted.org/packages/e1/8c/929d47f8ad20507cd7c6bdaa8470a7afbae286a9ca59a976917868d7d644/pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8b35b02df058b780346e5d6a0b1cebe624e872ae5beb6ada4ffec27cefb1efe0",
                "md5": "e37b340a24016ec4356507c9d92b36af",
                "sha256": "e26882383f81d474b31158185d88fcf91775b9c7978413a55e46b2d2ac6d41ee"
            },
            "downloads": -1,
            "filename": "pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e37b340a24016ec4356507c9d92b36af",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 145644,
            "upload_time": "2025-10-07T21:47:24",
            "upload_time_iso_8601": "2025-10-07T21:47:24.623771Z",
            "url": "https://files.pythonhosted.org/packages/8b/35/b02df058b780346e5d6a0b1cebe624e872ae5beb6ada4ffec27cefb1efe0/pyspeex_noise-2.0.0-cp39-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "39aaf257019e3159fccd34091e0acd66fd7527666417c28a3efaae40129007c5",
                "md5": "269085d06931d8e8c9ec4258c4045e3d",
                "sha256": "6fdb16e59d7a353690661c71e35e2c91972419bfd79dfe37db66ead0e95e7827"
            },
            "downloads": -1,
            "filename": "pyspeex_noise-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "269085d06931d8e8c9ec4258c4045e3d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 49242,
            "upload_time": "2025-10-07T21:47:26",
            "upload_time_iso_8601": "2025-10-07T21:47:26.148223Z",
            "url": "https://files.pythonhosted.org/packages/39/aa/f257019e3159fccd34091e0acd66fd7527666417c28a3efaae40129007c5/pyspeex_noise-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-07 21:47:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rhasspy",
    "github_project": "pyspeex-noise",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pyspeex-noise"
}
        
Elapsed time: 2.18526s