pvkoala


Namepvkoala JSON
Version 2.0.2 PyPI version JSON
download
home_pagehttps://github.com/Picovoice/koala
SummaryKoala Noise Suppression Engine.
upload_time2024-09-04 17:22:00
maintainerNone
docs_urlNone
authorPicovoice
requires_python>=3.8
licenseNone
keywords noise cancellation noise suppression noise removal speech enhancement speech denoising
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Koala Binding for Python

## Koala Noise Suppression Engine

Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)

Koala is an on-device noise suppression engine. Koala is:

- Private; All voice processing runs locally.
- Cross-Platform:
  - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
  - Android and iOS
  - Chrome, Safari, Firefox, and Edge
  - Raspberry Pi (3, 4, 5)

## Compatibility

- Python 3.8 or higher
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5).

## Installation

```console
pip3 install pvkoala
```

## AccessKey

Koala requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Koala
SDKs. You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.
Signup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.

### Usage

Create an instance of the engine and enhance audio:

```python
import pvkoala

koala = pvkoala.create(access_key='${ACCESS_KEY}')

def get_next_audio_frame():
    pass

while True:
    enhanced_audio = koala.process(get_next_audio_frame())
```

Replace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/).
The input audio must come from a single-channel stream with integer 16-bit encoding. The sample rate must be identical
to `koala.sample_rate`. The stream must be split into *frames* with a fixed length in samples that can be obtained
from `koala.frame_length`.

The output of `koala.process()` is a frame of enhanced audio with the same 16-bit integer encoding. The delay in
samples between the start time of the input frame and the start time of the output frame can be attained from
`koala.delay_sample`.

In case the next audio frame does not directly follow the previous one, call `koala.reset()`.
When done be sure to explicitly release the resources using `koala.delete()`.

## Demos

[pvkoalademo](https://pypi.org/project/pvkoalademo/) provides command-line utilities for processing audio using Koala.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Picovoice/koala",
    "name": "pvkoala",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "Noise Cancellation, Noise Suppression, Noise Removal, Speech Enhancement, Speech Denoising",
    "author": "Picovoice",
    "author_email": "hello@picovoice.ai",
    "download_url": "https://files.pythonhosted.org/packages/9f/4f/20bd0de6322a49b977d2e658d48a42e616d099a7db7f1481da1322bfe83c/pvkoala-2.0.2.tar.gz",
    "platform": null,
    "description": "# Koala Binding for Python\n\n## Koala Noise Suppression Engine\n\nMade in Vancouver, Canada by [Picovoice](https://picovoice.ai)\n\nKoala is an on-device noise suppression engine. Koala is:\n\n- Private; All voice processing runs locally.\n- Cross-Platform:\n  - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)\n  - Android and iOS\n  - Chrome, Safari, Firefox, and Edge\n  - Raspberry Pi (3, 4, 5)\n\n## Compatibility\n\n- Python 3.8 or higher\n- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5).\n\n## Installation\n\n```console\npip3 install pvkoala\n```\n\n## AccessKey\n\nKoala requires a valid Picovoice `AccessKey` at initialization. `AccessKey` acts as your credentials when using Koala\nSDKs. You can get your `AccessKey` for free. Make sure to keep your `AccessKey` secret.\nSignup or Login to [Picovoice Console](https://console.picovoice.ai/) to get your `AccessKey`.\n\n### Usage\n\nCreate an instance of the engine and enhance audio:\n\n```python\nimport pvkoala\n\nkoala = pvkoala.create(access_key='${ACCESS_KEY}')\n\ndef get_next_audio_frame():\n    pass\n\nwhile True:\n    enhanced_audio = koala.process(get_next_audio_frame())\n```\n\nReplace `${ACCESS_KEY}` with yours obtained from [Picovoice Console](https://console.picovoice.ai/).\nThe input audio must come from a single-channel stream with integer 16-bit encoding. The sample rate must be identical\nto `koala.sample_rate`. The stream must be split into *frames* with a fixed length in samples that can be obtained\nfrom `koala.frame_length`.\n\nThe output of `koala.process()` is a frame of enhanced audio with the same 16-bit integer encoding. The delay in\nsamples between the start time of the input frame and the start time of the output frame can be attained from\n`koala.delay_sample`.\n\nIn case the next audio frame does not directly follow the previous one, call `koala.reset()`.\nWhen done be sure to explicitly release the resources using `koala.delete()`.\n\n## Demos\n\n[pvkoalademo](https://pypi.org/project/pvkoalademo/) provides command-line utilities for processing audio using Koala.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Koala Noise Suppression Engine.",
    "version": "2.0.2",
    "project_urls": {
        "Homepage": "https://github.com/Picovoice/koala"
    },
    "split_keywords": [
        "noise cancellation",
        " noise suppression",
        " noise removal",
        " speech enhancement",
        " speech denoising"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f920dbb3e977944d2494103c2dca0629d0d95ad0d3ab69f589073c9afa80385e",
                "md5": "7c2bebe62c3a1a097aedbe91f0455f56",
                "sha256": "668fa678e62f7572a7f4c57583fdffb664fd311e42f23ef7a3f1a29395e826fb"
            },
            "downloads": -1,
            "filename": "pvkoala-2.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7c2bebe62c3a1a097aedbe91f0455f56",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4537629,
            "upload_time": "2024-09-04T17:21:57",
            "upload_time_iso_8601": "2024-09-04T17:21:57.922158Z",
            "url": "https://files.pythonhosted.org/packages/f9/20/dbb3e977944d2494103c2dca0629d0d95ad0d3ab69f589073c9afa80385e/pvkoala-2.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f4f20bd0de6322a49b977d2e658d48a42e616d099a7db7f1481da1322bfe83c",
                "md5": "52cc86f7029eb275b1f429d37c789067",
                "sha256": "179f78edf1bf07a10f73a7c6a5c1159eff8a45f33f5c5027f99086fe3d4aef4e"
            },
            "downloads": -1,
            "filename": "pvkoala-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "52cc86f7029eb275b1f429d37c789067",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4540322,
            "upload_time": "2024-09-04T17:22:00",
            "upload_time_iso_8601": "2024-09-04T17:22:00.112143Z",
            "url": "https://files.pythonhosted.org/packages/9f/4f/20bd0de6322a49b977d2e658d48a42e616d099a7db7f1481da1322bfe83c/pvkoala-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-04 17:22:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Picovoice",
    "github_project": "koala",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pvkoala"
}
        
Elapsed time: 3.68685s