Skip to content
HALOWERK

Audiowerk

pcm sample clock drift

Fit an affine sample-clock map and report drift and synchronization residuals.

POST https://audio.halowerk.com/v1/pcm-sample-clock-drift

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
nominal_hznumberYes
anchorsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "nominal_hz": {
      "type": "number",
      "minimum": 1,
      "maximum": 384000
    },
    "anchors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "seconds": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "sample": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          }
        },
        "required": [
          "seconds",
          "sample"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 2
    }
  },
  "required": [
    "nominal_hz",
    "anchors"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "nominal_hz": 48000,
  "anchors": [
    {
      "seconds": 0,
      "sample": 10
    },
    {
      "seconds": 10,
      "sample": 480490
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’