Livekit plugin for noise cancellation of inbound AudioStream
Project description
Enhanced Noise Cancellation Plugin for LiveKit
Add realtime enhanced noise cancellation to inbound AudioStream
. Fully compatible with LiveKit Agents.
Requires LiveKit Cloud.
Read more in the documentation
Usage
In LiveKit Agents
Just include it in the constructor for VoicePipelineAgent
or MultimodalAgent
to automatically apply it to incoming audio tracks.
from livekit import agents
from livekit.plugins import noise_cancellation
pipeline_agent = agents.pipeline.VoicePipelineAgent(
# ...,
noise_cancellation=noise_cancellation.NC()
)
multimodal_agent = agents.multimodal.MultimodalAgent(
# ...,
noise_cancellation=noise_cancellation.NC()
)
On AudioStream
Noise cancellation can also be applied to any individual inbound AudioStream
:
stream = rtc.AudioStream.from_track(
track=track,
noise_cancellation=noise_cancellation.NC(),
)
Available Models
noise_cancellation.NC()
noise_cancellation.BVC()
Notes
Noise cancellation only needs to be applied once, so if you choose to apply it here you should disable noise cancellation / Krisp filter in your frontend clients.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file livekit_plugins_noise_cancellation-0.2.1-py3-none-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: livekit_plugins_noise_cancellation-0.2.1-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 47.0 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca8d1ac55223b19690653a0346ded60b769c23ce9ac2f40a56a0c146baed9fb |
|
MD5 | 55a9423720877c30b8f5e15e0fe2b0e8 |
|
BLAKE2b-256 | 8682bc86c24feb1c98d4aaf98e3ccc9457c56764fe0d8e3b4ae4bd04989918c1 |
File details
Details for the file livekit_plugins_noise_cancellation-0.2.1-py3-none-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: livekit_plugins_noise_cancellation-0.2.1-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 43.9 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8560df698a88731b16a1e09b5a97d4964f8b9ad4bd7b865d6cc031e017a67e08 |
|
MD5 | 24ecaa431753f09eab1b8e570e9b669a |
|
BLAKE2b-256 | 8ba67fe59d703e4a67d50868efc26de59895bad2796730a8b6224a940401a2bf |
File details
Details for the file livekit_plugins_noise_cancellation-0.2.1-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: livekit_plugins_noise_cancellation-0.2.1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 38.3 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79766363aada1ae1d04d7c4ee7ce8604e6a7cfbde241b768d285b257d767c934 |
|
MD5 | 2498db107a46cc27988636f2bfbb979c |
|
BLAKE2b-256 | fca42b03f1680248ed568fea7b4cedf1f5385ddf3e44bc030fcc72485dee037d |
File details
Details for the file livekit_plugins_noise_cancellation-0.2.1-py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: livekit_plugins_noise_cancellation-0.2.1-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 39.8 MB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5b26b064f878205ac1f3a2956594cbbd946f1780939b427973f53552c7ab1c2 |
|
MD5 | e1c07fc1fd444e57cfe6f9136525b585 |
|
BLAKE2b-256 | b4a48cefb5597e0668783bca971d1a8d90759db33cab04b8b8333b92b143cb0a |