Skip to content
HALOWERK

Podcast and Music Analysis

flac handoff pcm storage

FLAC expansion returns the byte count for decoded interleaved PCM using whole-byte sample containers. Use it when an agent needs storage planning for an audio handoff.

POST https://ton.halowerk.com/v1/flac-handoff-pcm-storage

Inputs

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

Open original schema

Published input example

{
  "audio_base64": "ZkxhQwAAACIAQABAAAAnAAA1AfQA8AAAAIDq7lKO6VBm21EHo4bbFfKzAwAAJAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAACcAQAQAAC8IAAAASEFMT1dFUksCAAAACgAAAFRJVExFPVRvbmUNAAAAVFJBQ0tOVU1CRVI9MYEAAAwAAAAAAAAAAAAAAAD/+GQIAD9eQSAA5zafCD//h//4f/+oDpMmTJkyZMmTJkyZMmTAlF7/+GQIAT9LQSB95zsqDRRRRRRRRFFFFFFFFEUUUUUUUURRRRRRRRRAACsIQhCEA/w/w/y6fA=="
}

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": {
        "channels": {
          "type": "integer"
        },
        "bit_depth": {
          "type": "integer"
        },
        "bytes_per_sample": {
          "type": "integer"
        },
        "pcm_bytes": {
          "type": "integer"
        }
      },
      "required": [
        "channels",
        "bit_depth",
        "bytes_per_sample",
        "pcm_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 โ†’