Skip to main content

Koala Noise Suppression Engine demos

Project description

Koala Noise Suppression Demos

Made in Vancouver, Canada by Picovoice

Koala

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 (4, 3) and NVIDIA Jetson Nano

Compatibility

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

Installation

pip3 install pvkoalademo

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 to get your AccessKey.

Usage

Microphone Demo

The microphone demo collects audio from a microphone connected to your machine. The audio is passed through the Koala noise suppression engine and stored in a .wav file. Run the following in the terminal:

koala_demo_mic --access_key ${ACCESS_KEY} --output-path ${WAV_OUTPUT_PATH}

Replace ${ACCESS_KEY} with yours obtained from Picovoice Console and ${WAV_OUTPUT_PATH} with a path to a .wav file where the enhanced audio will be stored. Terminate the demo with Ctrl+C.

File Demo

The file demo passes audio stored in a .wav file through the Koala noise suppression engine. The result is shifted to compensate for the delay introduced by Koala and stored in a separate .wav file that will have the same length as the input file without any delay. Run the following in the terminal:

koala_demo_file --access_key ${ACCESS_KEY} --input_path ${WAV_INPUT_PATH} --output_path ${WAV_OUTPUT_PATH}

Replace ${ACCESS_KEY} with yours obtained from Picovoice Console, ${WAV_INPUT_PATH} with a path to a compatible (single-channel, 16 kHz, 16-bit PCM) .wav file you wish to enhance, and ${WAV_OUTPUT_PATH} with a path to a .wav file where the enhanced audio will be stored.

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

pvkoalademo-1.0.2.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

pvkoalademo-1.0.2-py3-none-any.whl (10.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