Skip to content
HALOWERK

Podcast and Music Analysis

disc cue sample cut points

CD cue sample mapping returns the first PCM sample at or after every track start at a supplied sample rate. Use it when an agent needs sample-accurate cut positions and fractional boundary warnings.

POST https://ton.halowerk.com/v1/disc-cue-sample-cut-points

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
sheetstringYes
sample_rateintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "sheet": {
      "type": "string",
      "maxLength": 12000,
      "minLength": 1
    },
    "sample_rate": {
      "type": "integer",
      "minimum": 8000,
      "maximum": 384000
    }
  },
  "required": [
    "sheet",
    "sample_rate"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "sheet": "FILE \"interval.wav\" WAVE\nTRACK 01 AUDIO\nINDEX 01 00:00:00\nTRACK 02 AUDIO\nFLAGS PRE\nINDEX 00 00:01:00\nINDEX 01 00:02:00",
  "sample_rate": 44100
}

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": {
        "cuts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "track": {
                "type": "integer"
              },
              "first_sample": {
                "type": "integer"
              },
              "exact": {
                "type": "boolean"
              }
            },
            "required": [
              "track",
              "first_sample",
              "exact"
            ]
          }
        }
      },
      "required": [
        "cuts"
      ]
    },
    "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 โ†’