pvspeakerdemo


Namepvspeakerdemo JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/Picovoice/pvspeaker
SummarySpeaker library for Picovoice.
upload_time2024-09-03 21:50:02
maintainerNone
docs_urlNone
authorPicovoice
requires_python>=3.8
licenseNone
keywords audio player
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PvSpeaker Demo for Python

This project contains a Python command-line demo for PvSpeaker that demonstrates how to use PvSpeaker to play audio from a WAV file.

## PvSpeaker

PvSpeaker is an easy-to-use, cross-platform audio player designed for real-time speech audio processing. It allows developers to send raw PCM frames to an audio device's output stream.

## Compatibility

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

## Installation

```console
pip3 install pvspeakerdemo
```

## Usage

In the following instructions, we will refer to  `{AUDIO_DEVICE_INDEX}` as the index of the audio device to use, and `{INPUT_WAV_PATH}` as the path to the pcm `wav` file that will be played.

`{AUDIO_DEVICE_INDEX}` defaults to -1 and `{INPUT_WAV_PATH}` must not be empty.

To show the available audio devices run:

```console
pv_speaker_demo --show_audio_devices
```

To run PvSpeaker run:

```console
pv_speaker_demo --audio_device_index {AUDIO_DEVICE_INDEX} --input_wav_path {INPUT_WAV_PATH}
```

Hit `Ctrl+C` if you wish to stop playing audio before it completes. If no audio device index (`-d`) is provided, the demo will use the system's default audio player device.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Picovoice/pvspeaker",
    "name": "pvspeakerdemo",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "Audio Player",
    "author": "Picovoice",
    "author_email": "hello@picovoice.ai",
    "download_url": "https://files.pythonhosted.org/packages/90/f3/7580532d7fc3ff5f8446b3bbea8cd246a44b6f62d1f5fafc3601c3188c9f/pvspeakerdemo-1.0.3.tar.gz",
    "platform": null,
    "description": "# PvSpeaker Demo for Python\n\nThis project contains a Python command-line demo for PvSpeaker that demonstrates how to use PvSpeaker to play audio from a WAV file.\n\n## PvSpeaker\n\nPvSpeaker is an easy-to-use, cross-platform audio player designed for real-time speech audio processing. It allows developers to send raw PCM frames to an audio device's output stream.\n\n## Compatibility\n\n- Python 3.8+\n- Runs on Linux (x86_64), macOS (x86_64 and arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5).\n\n## Installation\n\n```console\npip3 install pvspeakerdemo\n```\n\n## Usage\n\nIn the following instructions, we will refer to  `{AUDIO_DEVICE_INDEX}` as the index of the audio device to use, and `{INPUT_WAV_PATH}` as the path to the pcm `wav` file that will be played.\n\n`{AUDIO_DEVICE_INDEX}` defaults to -1 and `{INPUT_WAV_PATH}` must not be empty.\n\nTo show the available audio devices run:\n\n```console\npv_speaker_demo --show_audio_devices\n```\n\nTo run PvSpeaker run:\n\n```console\npv_speaker_demo --audio_device_index {AUDIO_DEVICE_INDEX} --input_wav_path {INPUT_WAV_PATH}\n```\n\nHit `Ctrl+C` if you wish to stop playing audio before it completes. If no audio device index (`-d`) is provided, the demo will use the system's default audio player device.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Speaker library for Picovoice.",
    "version": "1.0.3",
    "project_urls": {
        "Homepage": "https://github.com/Picovoice/pvspeaker"
    },
    "split_keywords": [
        "audio",
        "player"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fbb414037dcf0e302c9fc618b4fab0a56388cb5ff4ca7151a84ffc1365f68abf",
                "md5": "ff41e8024ef21be085f46f62577bcb56",
                "sha256": "826aaa13b89079144bccb0ed95bfe7b250621948a04e097e9570b1b9e2da98c5"
            },
            "downloads": -1,
            "filename": "pvspeakerdemo-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ff41e8024ef21be085f46f62577bcb56",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 8146,
            "upload_time": "2024-09-03T21:50:01",
            "upload_time_iso_8601": "2024-09-03T21:50:01.243527Z",
            "url": "https://files.pythonhosted.org/packages/fb/b4/14037dcf0e302c9fc618b4fab0a56388cb5ff4ca7151a84ffc1365f68abf/pvspeakerdemo-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "90f37580532d7fc3ff5f8446b3bbea8cd246a44b6f62d1f5fafc3601c3188c9f",
                "md5": "42e28cfeb835daef3766e031d80d5659",
                "sha256": "cb378596da73b1781dffb7be5297f9bb0207f85beb4e1a642bbd95dc813276be"
            },
            "downloads": -1,
            "filename": "pvspeakerdemo-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "42e28cfeb835daef3766e031d80d5659",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7719,
            "upload_time": "2024-09-03T21:50:02",
            "upload_time_iso_8601": "2024-09-03T21:50:02.177566Z",
            "url": "https://files.pythonhosted.org/packages/90/f3/7580532d7fc3ff5f8446b3bbea8cd246a44b6f62d1f5fafc3601c3188c9f/pvspeakerdemo-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-03 21:50:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Picovoice",
    "github_project": "pvspeaker",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pvspeakerdemo"
}
        
Elapsed time: 4.86090s