Skip to content
HALOWERK

File Formats and Conversion

aiff pcm channel headroom

AIFF audio headroom measures peak absolute PCM amplitude, peak frame position and headroom below digital full scale for one channel. Use it when an agent needs the loudest sample and available headroom.

POST https://format.halowerk.com/v1/aiff-pcm-channel-headroom

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
audio_base64stringYes
channelintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "audio_base64": {
      "type": "string",
      "maxLength": 85000,
      "minLength": 1
    },
    "channel": {
      "type": "integer",
      "minimum": 0,
      "maximum": 31
    }
  },
  "required": [
    "audio_base64",
    "channel"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "audio_base64": "Rk9STQAAAIZBSUZGQ09NTQAAABIAAQAAABAACEAL+gAAAAAAAABNQVJLAAAAFgACAAEAAAACAkluAAACAAAADgNPdXRJTlNUAAAAFDwAAH8BfwAAAAEAAQACAAAAAAAATkFNRQAAAAZUb25lIDFTU05EAAAAGAAAAAAAAAAAADFGMQDPus8AMUYxAM+6zw==",
  "channel": 0
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "peak_norm": {
          "type": "number"
        },
        "peak_frame": {
          "type": "integer"
        },
        "headroom_db": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "peak_norm",
        "peak_frame",
        "headroom_db"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’