# Sound Detection Demo

## Sound Detection Demo

The Sound Detection Demo shows an AI using the [Sound Detector Component](/emerald-ai-wiki/emerald-components-optional/sound-detector-component.md) to detect the noise made by a falling crate. When this happens, the AI will generate a random waypoint within the sound area to investigate the noise. Example dialogue will also be displayed to the [Unity Console](https://docs.unity3d.com/Manual/Console.html).

<figure><img src="/files/OQzHgCqeTmHNUM322C1o" alt=""><figcaption></figcaption></figure>


---

# 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://black-horizon-studios.gitbook.io/emerald-ai-wiki/getting-started/included-demo-scenes/sound-detection-demo.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.
