Skip to content
HALOWERK

File Formats and Conversion

audio cue cut ranges

Audio cue extraction returns half-open frame limits for one track under a stated stored-pregap policy. Use it when an agent needs extracting tracks without double-counting stored gaps.

POST https://format.halowerk.com/v1/audio-cue-cut-ranges

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
file_framesintegerYes
trackintegerYes
gap_ownerSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 18000,
      "minLength": 1
    },
    "file_frames": {
      "type": "integer",
      "minimum": 1,
      "maximum": 450000
    },
    "track": {
      "type": "integer",
      "minimum": 1,
      "maximum": 99
    },
    "gap_owner": {
      "enum": [
        "previous",
        "next",
        "omit"
      ]
    }
  },
  "required": [
    "text",
    "file_frames",
    "track",
    "gap_owner"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "FILE \"6RDuz0d7.M5S.wav\" WAVE\nTRACK 02 AUDIO\nINDEX 01 00:00:00\nTRACK 03 AUDIO\nINDEX 01 02:31:37\nTRACK 04 AUDIO\nINDEX 01 07:33:18",
  "file_frames": 50597,
  "track": 3,
  "gap_owner": "next"
}

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