Introduction
Krisp provides a JS SDK with an out-of-the-box application architecture that allows developers and teams to integrate AI-powered speech clarity features in real-time communication applications.
Krisp SDK is the only robust Javascript-based Noise Cancellation SDK available for browsers. Running audio AI inside the browsers is challenging for various reasons.
Audio Pipeline and Processing
Krisp Javascript SDK is integrated with WebRTC and Web Audio as a noise audio filter.
The noise-canceling neural network is built on WASM for high performance.
The SDK receives audio buffers in chunks and processes them in a dedicated worker to offload the main thread.
Supported Audio Characteristics
Audio frame duration
10ms
*
* While an audio stream of any frame size is supported, Krisp SDK processing is performed using 10ms frames.
Audio sample rates
8KHz, 16KHz, 32KHz, 24KHz, 44.1KHz, 48KHz, 88.2KHz, 96KHz
Performance
- Package Size: 12MB
- Memory Footprint: ~100 MB
- Frame Processing: 1.5-2ms
Outbound (Mic) Noise Cancellation
Inbound (Speaker) Noise Cancellation
Background Voice Cancellation
Important Notes
- CPU% is generally higher in JS SDK compared to native SDK. This is expected as the code runs in the browser in different worker threads, which provides improved stability and eliminates memory leaks.
- 8K audio stream is not supported by theSafari browser due to the Apple WebKit limitations.
Updated 5 months ago