Zum Inhalt
HALOWERK

Medienwerk

pitch shift

Takes an audio or video file and transposes it by a number of semitones from -12 to +12 while keeping tempo and running time, using the Rubber Band library through ffmpeg. With preserve_formants on, voices keep their natural timbre instead of sounding like cartoon characters — useful for practice tracks in another key or light voice anonymisation. Pitch-shifting is not a secure anonymisation: it can often be reversed, and the answer says so. Runs locally with ffmpeg; nothing leaves this.

POST https://medien.halowerk.com/v1/pitch-shift

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJaThe recording. Either url or content_base64.
duration_minutesintegerJaLength in started minutes — this is what you are billed for.
semitonesnumberJa
preserve_formantsbooleanNein
output_formatstringNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes",
    "semitones"
  ],
  "additionalProperties": false,
  "properties": {
    "source": {
      "type": "object",
      "additionalProperties": false,
      "description": "The recording. Either url or content_base64.",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048,
          "description": "Public http(s) URL of the file."
        },
        "content_base64": {
          "type": "string",
          "maxLength": 12000000,
          "description": "The file inline, base64. Larger files by url."
        },
        "filename": {
          "type": "string",
          "maxLength": 260
        }
      }
    },
    "duration_minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 60,
      "description": "Length in started minutes — this is what you are billed for."
    },
    "semitones": {
      "type": "number",
      "minimum": -12,
      "maximum": 12
    },
    "preserve_formants": {
      "type": "boolean",
      "default": true
    },
    "output_format": {
      "type": "string",
      "enum": [
        "opus",
        "mp3",
        "wav",
        "flac"
      ],
      "default": "mp3"
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →