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-driftInputs
| Field | Type | Required | Description |
|---|---|---|---|
| nominal_hz | number | Yes | |
| anchors | array | Yes |
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
}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
- Audiowerk0.004 USDC
ad slot auction
POSThttps://audio.halowerk.com/ad-slot-auctionFour actions on one endpoint. create opens a slot with its position, length, reserve price and closing time, and returns an admin token that only the opener holds. bid places a sealed bid, checked against the reserve, the slot length and th
- Audiowerk0.006 USDC
audio fingerprint
POSThttps://audio.halowerk.com/audio-fingerprintBuilds an acoustic fingerprint from the submitted audio by decoding it locally with ffmpeg, measuring spectral peaks in fixed Hann-window frames, and hashing target-zone peak pairs. The answer returns the signature, sample method, first has
- Audiowerk0.006 USDC
convert
POSThttps://audio.halowerk.com/convertConverts to FLAC, WAV at 16 or 24 bit, MP3, Opus or AAC, with sample rate, channel count and quality all settable and all reported back. What separates this from a bare transcode is the verdict on what the conversion actually did. The spect