Skip to content
HALOWERK

File Formats and Conversion

aiff pcm frame byte address

AIFF sample location converts a zero-based frame and channel number into the absolute byte offset and signed PCM value. Use it when an agent needs a sample-accurate seek position.

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

Inputs

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

Open original schema

Published input example

{
  "audio_base64": "Rk9STQAAAIZBSUZGQ09NTQAAABIAAQAAABAACEAL+gAAAAAAAABNQVJLAAAAFgACAAEAAAACAkluAAACAAAADgNPdXRJTlNUAAAAFDwAAH8BfwAAAAEAAQACAAAAAAAATkFNRQAAAAZUb25lIDFTU05EAAAAGAAAAAAAAAAAADFGMQDPus8AMUYxAM+6zw==",
  "frame": 3,
  "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": {
        "offset": {
          "type": "integer"
        },
        "width_bytes": {
          "type": "integer"
        },
        "pcm": {
          "type": "integer"
        }
      },
      "required": [
        "offset",
        "width_bytes",
        "pcm"
      ]
    },
    "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 โ†’