Skip to content
HALOWERK

Podcast and Music Analysis

midi clock playhead floor tick

MIDI playhead seek finds the last tick at or before the supplied elapsed microsecond and the offset from that tick. Use it when an agent needs seeking into a variable-tempo sequence.

POST https://ton.halowerk.com/v1/midi-clock-playhead-floor-tick

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
midistringYes
microsecondintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "midi": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    },
    "microsecond": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000000
    }
  },
  "required": [
    "midi",
    "microsecond"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "midi": "TVRoZAAAAAYAAAABAeBNVHJrAAAAJgD/UQMHoSAAmSVQh0CJJQAAmSVQh0CJJQAAmSVQh0CJJQAA/y8A",
  "microsecond": 120000
}

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": {
        "tick": {
          "type": "integer"
        },
        "sub_tick_microseconds": {
          "type": "number"
        }
      },
      "required": [
        "tick",
        "sub_tick_microseconds"
      ]
    },
    "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 โ†’