Skip to main content

Recorder library for Picovoice.

Project description

PvRecorder Demo for Python

Compatibility

  • Python 3.5+
  • Runs on Linux (x86_64), macOS (x86_64 and arm64), Windows (x86_64), Raspberry Pi (all variants), NVIDIA Jetson (Nano), and BeagleBone.

Installation

pip3 install pvrecorderdemo

Usage

In the following instructions, we will refer to {AUDIO_DEVICE_INDEX} as the index of the audio device to use, and {OUTPUT_WAV_PATH} as the path to save the audio data in wav format.

{AUDIO_DEVICE_INDEX} defaults to -1 and {OUTPUT_WAV_PATH} can be empty if you wish to not save any data.

To show the available audio devices run:

pv_recorder_demo --show_audio_devices

To run PvRecorder run:

pv_recorder_demo --audio_device_index {AUDIO_DEVICE_INDEX} --output_wav_path {OUTPUT_WAV_PATH}

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

pvrecorderdemo-1.2.0.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

pvrecorderdemo-1.2.0-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page