Zum Inhalt
HALOWERK

Medienwerk

spectrogram image

Takes an audio or video file (up to 24 MB) and returns a spectrogram image: time on the horizontal axis, frequency on the vertical, intensity as colour, with scale and legend. It makes visible what the ear misses — mains hum as a line at 50 or 60 Hz, broadband noise, the cut-off of a phone or low-bitrate recording, and hard edits. Size, colour scheme and linear or logarithmic intensity are selectable. Rendered locally with ffmpeg; returned inline as PNG base64. Nothing leaves this machine..

POST https://medien.halowerk.com/v1/spectrogram-image

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJaThe recording. Either url or content_base64.
widthintegerNein
heightintegerNein
colorstringNein
scalestringNein
legendbooleanNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source"
  ],
  "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
        }
      }
    },
    "width": {
      "type": "integer",
      "minimum": 200,
      "maximum": 4000,
      "default": 1200
    },
    "height": {
      "type": "integer",
      "minimum": 100,
      "maximum": 2000,
      "default": 512
    },
    "color": {
      "type": "string",
      "enum": [
        "intensity",
        "rainbow",
        "magma",
        "viridis",
        "cool",
        "fiery",
        "channel"
      ],
      "default": "magma"
    },
    "scale": {
      "type": "string",
      "enum": [
        "log",
        "lin",
        "sqrt",
        "cbrt"
      ],
      "default": "log"
    },
    "legend": {
      "type": "boolean",
      "default": true
    }
  }
}

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 →