Noice Canceling Level Control

KrispSDK Constructor Arguments

PropertyTypeDefaultDescription
noiseSuppressionLevelNumber100Noise suppression aggressiveness level in the range of [0, 100].
With the 0 value, there will be no noise suppression.
With the 100 value, the full noise suppression capability of the model is used.
const krispSDK = new KrispSDK({
  params: {
		// ...
    noiseSuppressionLevel: 70,
  }
});

Set NC Level during the Audio Processing

document.getElementById("input-slider").addEventListener("input", (event) => {
  if (filterNode) {
    filterNode.setNoiseSuppressionLevel(parseInt(event.target.value));
  }
});