Skip to content
HALOWERK

File Formats and Conversion

aiff pcm frame accounting

AIFF frame accounting compares the declared interleaved sample bytes with the available sound payload after its data offset. Use it when an agent needs a consistency check before importing a PCM archive.

POST https://format.halowerk.com/v1/aiff-pcm-frame-accounting

Inputs

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

Open original schema

Published input example

{
  "audio_base64": "Rk9STQAAAIZBSUZGQ09NTQAAABIAAQAAABAACEAL+gAAAAAAAABNQVJLAAAAFgACAAEAAAACAkluAAACAAAADgNPdXRJTlNUAAAAFDwAAH8BfwAAAAEAAQACAAAAAAAATkFNRQAAAAZUb25lIDFTU05EAAAAGAAAAAAAAAAAADFGMQDPus8AMUYxAM+6zw=="
}

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": {
        "frames": {
          "type": "integer"
        },
        "bytes_per_frame": {
          "type": "integer"
        },
        "declared_bytes": {
          "type": "integer"
        },
        "extra_sound_bytes": {
          "type": "integer"
        }
      },
      "required": [
        "frames",
        "bytes_per_frame",
        "declared_bytes",
        "extra_sound_bytes"
      ]
    },
    "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 โ†’