Skip to content
HALOWERK

Audio Processing

synth adsr note envelope

Return linear ADSR envelope values at supplied times including release during attack or decay.

POST https://audio.halowerk.com/v1/synth-adsr-note-envelope

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
timesarrayYes
attacknumberYes
decaynumberYes
sustainnumberYes
releasenumberYes
note_offnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "times": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 2048,
      "minItems": 1
    },
    "attack": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000
    },
    "decay": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000
    },
    "sustain": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "release": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000
    },
    "note_off": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000
    }
  },
  "required": [
    "times",
    "attack",
    "decay",
    "sustain",
    "release",
    "note_off"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "times": [
    0,
    0.5,
    1,
    2,
    3,
    4
  ],
  "attack": 1,
  "decay": 1,
  "sustain": 0.5,
  "release": 1,
  "note_off": 3
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’