# XWUIGameNoiseMeter

A vertical stealth gauge that fills from bottom to top with the player's `noiseLevel` (0-1) along a green-to-red gradient, with tick marks and a `threshold` line marking the detection cutoff. When the level crosses the threshold the meter enters a flashing `detected` state and reveals a "DETECTED" label. Toggle the threshold line with `showThreshold` and pick `size`/`position`; push live audio levels via `setNoiseLevel()`, which recomputes detection automatically.

## Basic Usage

A vertical noise gauge with a threshold line that flashes when detection is triggered.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A vertical noise gauge with a threshold line that flashes when detection is triggered.
```

## Detected Alarm

A loud action pushes the noise past the threshold, tripping the meter into its flashing detected state.

```example
file: examples/DetectedAlarm.ts
title: Detected Alarm
description: setNoiseLevel() crosses the threshold and trips the meter into its flashing DETECTED state.
```

## Quiet Prowl

A compact, left-anchored meter with the threshold line hidden, holding a low crouch-walk noise level.

```example
file: examples/QuietProwl.ts
title: Quiet Prowl
description: A small left-side gauge with showThreshold off, sitting safely in the low-noise green band.
```

```api
```
