Smart Denoising only (recommended for most cases):
const assistant = await sulus.assistants.create({
name: "Support Agent",
backgroundSpeechDenoisingPlan: {
smartDenoisingPlan: {
enabled: true
}
}
});
Noisy call center (aggressive filtering):
const assistant = await sulus.assistants.create({
name: "Call Center Agent",
backgroundSpeechDenoisingPlan: {
smartDenoisingPlan: { enabled: true },
fourierDenoisingPlan: {
enabled: true,
mediaDetectionEnabled: true,
baselineOffsetDb: -10, // Aggressive filtering
windowSizeMs: 2000, // Fast adaptation
baselinePercentile: 90 // Focus on clear speech
}
}
});
Home environment with TV/music:
const assistant = await sulus.assistants.create({
name: "Home Assistant",
backgroundSpeechDenoisingPlan: {
smartDenoisingPlan: { enabled: true },
fourierDenoisingPlan: {
enabled: true,
mediaDetectionEnabled: true, // Essential for TV/music
baselineOffsetDb: -15,
windowSizeMs: 4000,
baselinePercentile: 80
}
}
});