DEV Community

Dilek Karasoy for Picovoice

Posted on

Build your own Krisp App: Noise Cancellation with Python

Krisp has become popular with COVID-19. Removing background noises improves the quality of virtual meetings. It's easy to download the Krisp app and start using. How about building one?

Enter [Koala Noise Suppression (https://picovoice.ai/platform/koala/)
It takes only a few lines of Python to get it embedded into your app. Koala Noise Suppression Python SDK supports Linux, macOS, Windows, Raspberry Pi, and NVIDIA Jetson. [Koala Noise Suppression (https://picovoice.ai/platform/koala/) can also run on mobile and web!

  1. Install the SDK
pip install pvkoala
Enter fullscreen mode Exit fullscreen mode
  1. Import the package
import pvkoala
Enter fullscreen mode Exit fullscreen mode
  1. Create an instance with your AccessKey:
handle = pvkoala.create(access_key)
Enter fullscreen mode Exit fullscreen mode

Get your AccessKey from Picovoice Console for free and replace the placeholder with it!

  1. Suppress Noise!
enhanced_pcm = handle.process(pcm)
Enter fullscreen mode Exit fullscreen mode

Voila! You're done!


Additional Resources:

  1. Open-source demo
  2. Other Koala Noise Suppression SDKs
  3. More about Picovoice

Top comments (0)