# Background Audio Injection

<figure><img src="/files/VgU9JunjirOaLHXv30U0" alt=""><figcaption><p>Sonoran Radio - Background Noise Injection</p></figcaption></figure>

## Example Video

The example video shows audio snippets with:

* [Digital Effect](/radio/tutorials/usage/dispatch-panel/custom-voice-effects.md): Sirens in Background
* [Vocoder](/radio/tutorials/usage/dispatch-panel/custom-voice-effects.md): Helicopter Rotors

{% embed url="<https://youtu.be/Ea9EowWi-Io>" %}
Sonoran Radio: Background Audio Injection
{% endembed %}

## Using Background Audio Injection

### What is Background Audio Injection?

Background audio injection blends in-game sounds—like sirens, helicopter rotors, boat engines, and gunshots—into your microphone output.

If you're responding with sirens active, others on the radio will hear them in the background of your voice transmissions. The sound effect volume level is determined by the distance to the source.

### Enabling Background Audio Injection

To enable this feature:

1. Ensure your community is on the Pro version of Sonoran Radio.
2. Set `enableBackgroundAudio` to `true` in your [config.lua](/radio/tutorials/getting-started/installing-the-in-game-resource.md#updates) file.

### Customizing Background Audio Sounds

Background audio sounds can be customized in the event of a specific siren type, gunshot sound, etc.

Communities can override the sound effects with custom files in the admin [SFX Customization panel](/radio/tutorials/usage/dispatch-panel/custom-sfx.md#background-audio-injection).

## Troubleshooting

### Can't Hear Sirens

If sirens are not playing in the background of your microphone (when next to a vehicle with one on), follow these troubleshooting steps.

#### LVC Users (Luxart Vehicle Control)

Sonoran Radio integrates with Luxart Vehicle Control to determine when sirens are activated.

1. Ensure you have configured the `Config.luxartResourceName` configuration option to match the resource name of your installed Luxart Vehicle Control resource.
2. Ensure you are on the latest version of Luxart Vehicle Control, as older versions do not contain the developer events needed.
   1. LVC (v3.2.9-Rev2+): [Download](https://github.com/TrevorBarns/luxart-vehicle-control/releases)
   2. LVC Fleet (v1.0.1+): [Download](https://github.com/TrevorBarns/luxart-vehicle-control-fleet/releases)

#### Native Fallback

For communities not using LVC, the radio defaults to native siren detection. However, it cannot distinguish between just police lights and lights with sirens. As a result, background siren audio will play whenever police lights are active.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonoransoftware.com/radio/tutorials/usage/in-game-radio/background-audio-injection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
