Skip to content
HALOWERK

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-plan

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
input_hzintegerYes
output_hzintegerYes
tones_hzarrayYes
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
}

Open original schema

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

All endpoints in this hub โ†’