Audiowerk
pcm sample rate rational plan
Return rational resampling factors and folded frequencies for supplied tones.
POST https://audio.halowerk.com/v1/pcm-sample-rate-rational-planInputs
| Field | Type | Required | Description |
|---|---|---|---|
| input_hz | integer | Yes | |
| output_hz | integer | Yes | |
| tones_hz | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"input_hz": {
"type": "integer",
"minimum": 1,
"maximum": 384000
},
"output_hz": {
"type": "integer",
"minimum": 1,
"maximum": 384000
},
"tones_hz": {
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 192000
},
"maxItems": 64,
"minItems": 0
}
},
"required": [
"input_hz",
"output_hz",
"tones_hz"
],
"additionalProperties": false
}Published input example
{
"input_hz": 48000,
"output_hz": 44100,
"tones_hz": [
1000,
23000
]
}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