# Tuning (https://docs.cochl.ai/docs/acoustic-security/axis/tuning)



The defaults are tuned for typical installations, so start there and adjust only if the behavior
on site is wrong. Change one setting at a time, and watch the [sound tape](https://docs.cochl.ai/docs/acoustic-security/axis/operator-console#sound-tape)
while you do — it shows the effect immediately.

## Per-tag sensitivity [#per-tag-sensitivity]

Each tag has its own threshold: the score a sound must reach before the tag is reported. Every tag
starts at **Medium**, its validated threshold; **High** lowers that threshold by 0.1 and **Low** raises
it by 0.1.

* **High** — reports more readily. Fewer missed events, more false ones.
* **Low** — reports only confident matches. Fewer false alarms, more missed events.

No setting improves both at once. Decide which error is more expensive at this location — a missed
fire alarm in a warehouse and a spurious shout alert in a bar sit at opposite ends of that
judgment. For finer control, drag the tag's threshold marker directly.

A tag you do not need at a location should be set to **Off** rather than to Low: it then raises no
event at all.

## Noise gate [#noise-gate]

The gate decides which windows are analyzed at all. The application continuously tracks the
room's usual background level, and a window is analyzed when its level — either its average or its
peak — rises far enough above that background.

| Preset        | Margin above the room | Use for                                              |
| ------------- | --------------------- | ---------------------------------------------------- |
| **Sensitive** | 3 dB                  | The default, and recommended for most installations. |
| **Moderate**  | 6 dB                  | Spaces with frequent harmless noise.                 |
| **Robust**    | 10 dB                 | Continuously noisy spaces, such as plant rooms.      |

We validate each release with the gate on **Sensitive**, which is also the lowest setting. At Moderate
or Robust, sounds that arrive only a little above the background — distant or behind an obstacle —
can be skipped before they are analyzed, so raise the gate only when the site gives you a reason to.

Because the margin is relative to the room, the same preset behaves the same way in a quiet
office and a busy lobby. The background is tracked over about ten minutes and rises only slowly,
so a long siren does not raise the gate high enough to hide itself.

<Callout type="warn" title="A gate set too high fails silently">
  A window the gate skips is never scored, so a gate that is too high produces no detections and no
  error. If a device has gone completely quiet, look at the level lane: if the sounds you expect sit
  under the gate line and are shaded, lower the gate; if it is already on Sensitive, the sound is
  not rising far enough above the room's background — see the
  [Installation guide](https://docs.cochl.ai/docs/acoustic-security/axis/installation-guide).
</Callout>

## Capture gain [#capture-gain]

The application applies its own gain to the microphone signal. On first start it measures the room
for about two minutes and sets the gain so that a quiet room sits well above the microphone's noise
and a loud sound stays below clipping. If a sound does clip, the application lowers the gain on its
own.

This gain is separate from the device's **Input gain** setting, which the application reads once on
first start and never changes — so your live audio and recordings are not affected by it.

**Auto** is the default. **Fixed** keeps the gain the application is using now and stops it from
recalibrating on its own; there is no value to enter. Use it only when the gain must not change.
The console shows the headroom left before clipping, and 6–12 dB of headroom for the loudest sound
you care about is a good target.

Select **Recalibrate** in the console when the device has been moved, or the room has changed
permanently. Recalibrate while the room is at its normal level, not during a test.

## Too many false alarms [#too-many-false-alarms]

1. Identify the source. Select the detection in the console and look at the camera view and the
   spectrogram at that moment; see the [Installation guide](https://docs.cochl.ai/docs/acoustic-security/axis/installation-guide#situations-that-cause-false-alarms)
   for the common ones.
2. Lower that tag's sensitivity one step.
3. If a tag is not needed at this location, set it to **Off**.
4. If a specific harmless sound keeps triggering, tell us which one at
   [contact@cochl.ai](mailto:contact@cochl.ai).

## Too few detections [#too-few-detections]

1. Confirm the tag is not switched off, and that it suits the location.
2. Look at the level lane when the sound occurs. If the sound is shaded under the gate and the gate is above
   Sensitive, lower it.
3. If the sound is analyzed but the tag's score stays under its threshold, raise that tag's
   sensitivity.
4. Check the [installation](https://docs.cochl.ai/docs/acoustic-security/axis/installation-guide): distance, background noise and
   obstacles between the sound and the device.
5. Consider the microphone. If it faces away from the area of interest, no setting will fix it.
