Repository navigation
TEST-61 Document background sound for simulations - #1384
scott-lowe-vapi wants to merge 1 commit into
Conversation
656ce74 to
5d80e13
Compare
|
🌿 Preview your docs: https://vapi-preview-01a1951b-3813-775b-a0eb-36ff38477e3e.docs.buildwithfern.com |
|
🌿 Preview your docs: https://vapi-preview-01a1951c-790a-75f8-8aac-d8c8eee92f0c.docs.buildwithfern.com |
|
|
||
| ## Background sound | ||
|
|
||
| Add background sound to a voice simulation to test how the assistant or squad you're testing handles a caller in a noisy place. The AI tester plays the sound throughout the call, mixed with its speech. Chat simulations ignore background sound. |
There was a problem hiding this comment.
Suggest opening with a definition sentence so the section answers "what is background sound" directly. Also suggest moving the GPT-Live warning up here so GPT-Live users see the limitation before they set anything up, and using the docs' standard "GPT-Live" name with a link. If you accept this, delete the original warning at lines 237–239.
| Add background sound to a voice simulation to test how the assistant or squad you're testing handles a caller in a noisy place. The AI tester plays the sound throughout the call, mixed with its speech. Chat simulations ignore background sound. | |
| Background sound is an audio file that the AI tester plays throughout a voice simulation, mixed with its speech. Use it to test how the assistant or squad you're testing handles a caller in a noisy place. Chat simulations ignore background sound. | |
| <Warning> | |
| [GPT-Live](/gpt-live/overview) AI testers add background sound only while they're speaking, not during silence. They also don't play the built-in `office` value, so use the hosted **Office** preset URL instead. | |
| </Warning> |
|
|
||
| Include the rest of the personality's assistant configuration in the same request, as described in [Configure the AI tester](#configure-the-ai-tester). | ||
|
|
||
| <Note> |
There was a problem hiding this comment.
Could the steps for hearing the raw noise (lines 221–234) move out of the Note and into the section text?
| Include the rest of the personality's assistant configuration in the same request, as described in [Configure the AI tester](#configure-the-ai-tester). | ||
|
|
||
| <Note> | ||
| The assistant or squad you're testing denoises incoming audio before it transcribes and records the call. Smart denoising is on by default, so it removes most of the background sound and the recording can sound clean. This is expected, because the simulation tests your production setup. |
There was a problem hiding this comment.
Suggest "Smart Denoising" to match the denoising page, and naming what "This" refers to.
| The assistant or squad you're testing denoises incoming audio before it transcribes and records the call. Smart denoising is on by default, so it removes most of the background sound and the recording can sound clean. This is expected, because the simulation tests your production setup. | |
| The assistant or squad you're testing denoises incoming audio before it transcribes and records the call. Smart Denoising is on by default, so it removes most of the background sound, and the recording may sound clean. A clean recording is expected, because the simulation tests your production setup. |
| <Note> | ||
| The assistant or squad you're testing denoises incoming audio before it transcribes and records the call. Smart denoising is on by default, so it removes most of the background sound and the recording can sound clean. This is expected, because the simulation tests your production setup. | ||
|
|
||
| To hear the raw noise, turn off denoising in the scenario's `targetOverrides`. Set `backgroundDenoisingEnabled` as well, because this legacy flag takes precedence when the target sets it: |
There was a problem hiding this comment.
Suggest giving the value, and using "the assistant or squad you're testing" as the rest of the page does instead of "the target".
| To hear the raw noise, turn off denoising in the scenario's `targetOverrides`. Set `backgroundDenoisingEnabled` as well, because this legacy flag takes precedence when the target sets it: | |
| To hear the raw noise, turn off denoising in the scenario's `targetOverrides`. Also set `backgroundDenoisingEnabled` to `false`, because this legacy flag takes precedence when the assistant or squad you're testing sets it: |
| } | ||
| ``` | ||
|
|
||
| If the target enables [Fourier denoising](/documentation/assistants/conversation-behavior/background-speech-denoising#fourier-denoising-experimental), also set `backgroundSpeechDenoisingPlan.fourierDenoisingPlan.enabled` to `false`. Updating a scenario replaces its `targetOverrides`, so include any existing overrides you want to keep. |
There was a problem hiding this comment.
Same wording swap as line 221.
| If the target enables [Fourier denoising](/documentation/assistants/conversation-behavior/background-speech-denoising#fourier-denoising-experimental), also set `backgroundSpeechDenoisingPlan.fourierDenoisingPlan.enabled` to `false`. Updating a scenario replaces its `targetOverrides`, so include any existing overrides you want to keep. | |
| If the assistant or squad you're testing enables [Fourier denoising](/documentation/assistants/conversation-behavior/background-speech-denoising#fourier-denoising-experimental), also set `backgroundSpeechDenoisingPlan.fourierDenoisingPlan.enabled` to `false`. Updating a scenario replaces its `targetOverrides`, so include any existing overrides you want to keep. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5d80e13 to
fd8b58a
Compare
|
🌿 Preview your docs: https://vapi-preview-01a19e46-d38f-71cc-be63-2d8f6ca464a1.docs.buildwithfern.com |

Support background noise in voice sims
Description
Documents the dashboard control for background sound in voice simulations. Changes docs only.
observability/simulations-configure-ai-tester: moves background sound from API-only to the Dashboard column and adds a## Background soundsection (anchor#background-sound, which the dashboard links to). It covers the toggle in the personality's advanced settings, the six bundled presets and their API values (toggle defaults to White noise; Office is about 18 dB quieter than the rest), custom HTTPS URLs (1,000-character URL, 25 MB file, loops, WAV preferred), and the API fieldpersonality.assistant.backgroundSound. It includes a note on target denoising and how to turn it off throughtargetOverridesto hear the raw noise, plus a warning about the GPT Live (realtime) limitation.assistants/background-speech-denoising: one line under best practices saying denoising also applies when a simulation tester plays background sound.test/simulations-best-practices: one bullet recommending a noisy-caller scenario.Merge order: merge after the VapiAI/vapi PR "TEST-61 Bundle named background sounds for calls and sims" (number to follow) ships to production, and at or before VapiAI/vapi#25265.
Testing Steps
fern check(pinned 5.151.1): 0 errors#fourier-denoising-experimentaland#configure-the-ai-testerexist on the live site#background-soundanchor, presets table, and nested JSON in the note render correctly🤖 Generated with Claude Code