> For the complete documentation index, see [llms.txt](https://manual.minimal.audio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.minimal.audio/current-manual/modulation/envelope.md).

# Envelope

***

## Overview <a href="#h_01j94kkfgnpsm5xrsf3cy7brqa" id="h_01j94kkfgnpsm5xrsf3cy7brqa"></a>

The envelope modulator is a 5-stage AHDSR (Attack, Hold, Decay, Sustain, Release) envelope with per-stage curve control and optional BPM-sync. It offers Looping and One-Shot modes, expanding its functionality for LFO tasks, one-shot wavetable scanning, and more.

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

***

## 1. Envelope Modes <a href="#id-01j94km6fyemmrzcpk7as47dma" id="id-01j94km6fyemmrzcpk7as47dma"></a>

Choose between three modes for how the envelope behaves.

**Standard.** This mode provides classic envelope behavior that tracks the note on and off.

**One-Shot.** In this mode, the envelope will play through all of its stages. The sustain stage will no longer hold while a note is down, but its level can still be set. This is great for percussive sounds and for scrubbing through a one-shot sample or wavetable.

**Loop.** In this mode, the envelope will loop through the attack, hold, and decay stages. The sustain stage will be ignored, and the release will still be triggered when the note ends. This can be used to create "function generator" signals similar to those found in many modular synths.

***

## 2. Envelope Controls <a href="#id-01j94n48asyzvyp9eje9a7k9hn" id="id-01j94n48asyzvyp9eje9a7k9hn"></a>

**Attack.** Set the attack time.

**Hold.** Set the hold time.

**Decay.** Set the decay time.

**Release.** Set the release time.

**Sync.** When active, all envelope stages will be synced to the current BPM.

**Curve.** Adjust the response of the envelope stage from exponential (negative) to linear (0%) and logarithmic (positive).

***

## 3. Display Controls <a href="#id-01j94n6j92j3ndy0kv1dgpv8ne" id="id-01j94n6j92j3ndy0kv1dgpv8ne"></a>

**Time Scale.** Set the time scale for the envelope graphic.

**Automatic Time Scale.**  When active, the time scaling of the envelope graphic will always snap to the smallest value that displays the entire envelope.

**Envelope Level.**  Adjust the level of the envelope. This can be used to attenuate and invert the output of the modulator, allowing for adjustment everywhere it is being used."


---

# 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 dynamically by asking a question.

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

```
GET https://manual.minimal.audio/current-manual/modulation/envelope.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
