Skip to content
HALOWERK

Audio Processing

synth granular window overlap

Return Hann-windowed overlap-add samples and window weights for supplied finite grains.

POST https://audio.halowerk.com/v1/synth-granular-window-overlap

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
grainsarrayYes
lengthintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "grains": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2047
          },
          "gain": {
            "type": "number",
            "minimum": -10,
            "maximum": 10
          },
          "samples": {
            "type": "array",
            "items": {
              "type": "number",
              "minimum": -1,
              "maximum": 1
            },
            "maxItems": 256,
            "minItems": 2
          }
        },
        "required": [
          "start",
          "gain",
          "samples"
        ],
        "additionalProperties": false
      },
      "maxItems": 32,
      "minItems": 1
    },
    "length": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2048
    }
  },
  "required": [
    "grains",
    "length"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "grains": [
    {
      "start": 0,
      "gain": 1,
      "samples": [
        1,
        1,
        1
      ]
    }
  ],
  "length": 4
}

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 โ†’