> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbit.devotel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Ambient sound bed for voice agents

> Give a voice agent a low-level looping ambience track mixed under its spoken audio — a coffee shop, a call center, a quiet room tone — so the agent reads as a person on a real line instead of a voice in a vacuum.

An ambient sound bed is a low-level looping ambience track the Orbit
voice pipeline mixes **under** the agent's spoken audio for the whole
call. A perfectly silent background behind a synthesized voice is one
of the strongest tells that a caller is talking to a machine; a quiet
coffee-shop murmur or an office room tone removes that tell and the
agent reads as a person on a real line.

The bed sits on the agent's outbound audio leg — the caller hears the
agent's voice over the ambience, and nothing about the inbound caller
audio changes. Voice, language, and accent settings are untouched; the
bed is purely the background the voice sits in.

## Configure it

Ambient sound is a per-agent setting, stored in the agent's
configuration and applied to every call that agent takes. In the
dashboard, open the agent at **/agents/\[id]** on the **Voice** settings
and enable **Ambient sound**, pick a track from the catalogue, and set
the volume. On the API, PATCH the agent:

```bash theme={null}
curl -X PATCH "https://api.orbit.devotel.io/api/v1/agents/agt_7e3b9c1f" \
  -H "Authorization: Bearer $ORBIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ambient_sound": {
      "enabled": true,
      "sound": "call-center",
      "volume": 0.4
    }
  }'
```

The three fields are:

* **`enabled`** (boolean, required) — turns the bed on or off. Set
  `false` to pause the bed without losing `sound` and `volume`, so you
  can audition, pause, and re-enable without reconfiguring.
* **`sound`** (string, optional) — a catalogue id from the list below.
  A `422` response with `must be one of: …` means the id is outside the
  catalogue. Set it explicitly — when omitted, the agent carries no
  track choice (`sound: null` in the voice config).
* **`volume`** (number, optional, `0.0`–`2.0`) — mix level of the bed,
  `0` silent and `1.0` the reference level; values above `1.0` boost
  beyond it. When omitted the voice config emits `volume: null` and the
  call uses the pipeline default. Keep the bed below the voice, never
  competing with it — see the guidance below.

Send only the fields you mean to change — the PATCH body accepts a
partial `ambient_sound` object.

## How it applies to live calls

The voice pipeline bootstraps a call from the agent's compact voice
configuration, `GET /api/v1/agents/{id}/voice-config`, and the ambient
setting round-trips there as `ambient_sound`. A PATCH you save takes
effect on the next call — no redeploy or session reset:

```bash theme={null}
curl -X GET "https://api.orbit.devotel.io/api/v1/agents/agt_7e3b9c1f/voice-config" \
  -H "Authorization: Bearer $ORBIT_API_KEY"
```

```json theme={null}
{
  "data": {
    "agent_id": "agt_7e3b9c1f",
    "instructions": "You are Nora, a patient bookings agent for…",
    "voice": "coral",
    "ambient_sound": {
      "enabled": true,
      "sound": "call-center",
      "volume": 0.4
    }
  },
  "meta": { "request_id": "req_d41c2a9b" }
}
```

When no bed is configured the voice config emits `ambient_sound: null`
and calls run with no background — the feature is fully opt-in.

## Sound catalogue

The catalogue is platform-curated and ships with the stack — the same
tracks on every call, so you audition once and trust the production
mix. Current tracks:

| Catalogue id | Character |
| - | - |
| `coffee-shop` | Café murmur and a quiet espresso machine |
| `convention-hall` | Large-room event ambience, distant voices |
| `summer-outdoor` | Warm outdoor air, light birdsong |
| `mountain-outdoor` | Open, windy outdoor space |
| `static-noise` | Neutral broadband line tone — the "not a studio" bed |
| `call-center` | A busy support floor: distant agents, keyboards |

You cannot upload your own audio. Request additional tracks through
support — the catalogue grows with the platform build.

## Volume and rollout guidance

* Start near **0.3–0.4**. Above `0.5` the bed starts drawing attention
  to itself; below `0.2` it mostly disappears over a handset.
* Audition before you roll out. Place a real call to the agent, listen
  on a phone speaker, and adjust. Pair this with voice auditioning —
  the bed sits under whatever voice the agent uses, and a busier track
  wants a slightly smaller voice. See [Voice
  clones](https://docs.orbit.devotel.io/guides/voice-clones.md) for the audition workflow.
* Match the bed to the persona the caller expects: `call-center` for a
  support desk, `coffee-shop` for a bookings assistant with a casual
  tone, `static-noise` when the call should read as a plain residential
  line.

## Clear back to the inherited default

PATCH the agent with `ambient_sound: null` to remove the setting
entirely — the stored track and volume clear, the voice config emits
`ambient_sound: null` again, and calls fall back to no background.
PATCH `{ "enabled": false }` instead when you want to pause the bed
without losing the stored track and volume.

## Scope

The bed is a media-processing stage on the agent's outbound audio leg,
inside the Orbit voice pipeline. It changes nothing about routing,
number assignment, call control, barge-in, or transcription, and call
recordings capture the mixed audio the caller heard — bed included.
Outbound termination stays on the platform's own carrier path, as with
every Orbit voice call.

## Compliance

An ambience track makes the call sound natural — it does **not** change
your synthetic-voice and bot-disclosure obligations, and it is not a
substitute for them. If your jurisdiction or use case requires telling
the callee they are speaking with an automated system, that disclosure
still must happen — typically through the agent's first message —
regardless of how human the background sounds. Keep the first-message
disclosure text in place when you enable a bed. See [AI agents
overview](https://docs.orbit.devotel.io/agents/overview.md) for the disclosure fields a voice agent
carries.

## See also

* [Creating Agents](https://docs.orbit.devotel.io/agents/creating-agents.md) — full agent setup,
  including voice selection
* [Intro to voice AI agents](https://docs.orbit.devotel.io/agents/intro-to-voice-ai-agents.md) — the
  four-stage pipeline the bed mixes into
* [Voice clones](https://docs.orbit.devotel.io/guides/voice-clones.md) — recording and auditioning a
  custom voice
* [Voice quickstart](https://docs.orbit.devotel.io/voice/quickstart.md) — end-to-end first voice call
* [Voice channel](https://docs.orbit.devotel.io/channels/voice.md) — the voice channel the pipeline
  fronts


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.