> For the complete documentation index, see [llms.txt](https://docs.holoplot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.holoplot.com/holoplot-plan/auto-gain-and-delay-alignment/setting-up-and-running-alignment.md).

# Setting up & running alignment

### Prerequisites

Before running alignment, ensure the following are in place.

#### Function Groups

Function groups define the relationships between source configurations and are required for the alignment algorithm to operate. Without function groups, the system cannot determine how mains and followers relate to one another.

#### Target Zones

Every beam included in an alignment run must have target zones assigned. If a beam is missing target zones, a warning will appear in the delay downmix matrix and alignment cannot be started until that beam is either assigned target zones or deselected.<br>

How target zones are assigned depends on the beam type:

* Coverage beams — target zones are assigned automatically using the optimisation zones. No additional setup is required.
* Parametric beams, virtual sources, and beams from third-party speakers — target zones must be added manually. Navigate to the beam, open the Alignment tab, and add the relevant target zones there.

<figure><img src="https://1870956965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWZvA6Ecdn48SRkbJ1C8%2Fuploads%2Ft8KQhwe1G8hgcBaf5e6z%2FTargetzones.gif?alt=media&amp;token=9e790ad2-5733-4a92-8fca-819fff4bc088" alt=""><figcaption></figcaption></figure>

***

### Running Alignment

Note: Mute and solo states have no effect on alignment.<br>

1. Open the Delay Downmix Matrix for the preset layer you want to align.
2. Select either the Gain or Delay tab depending on what you want to align.
3. Click Align to open the alignment options.
4. Use the checkboxes to select the beams you want to include in this alignment run.
5. When you are happy with your selection, click Start Alignment.
6. The algorithm will run and the values in the matrix will update automatically.

Values that have been changed by the alignment are highlighted in purple, making it easy to see what was adjusted.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.holoplot.com/holoplot-plan/auto-gain-and-delay-alignment/setting-up-and-running-alignment.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
