← Back to directory

Segment a music file into sections (boundaries in seconds) and label repeated ma...

https://ton.halowerk.com/v1/music-structure

Overview

Segment a music file into sections (boundaries in seconds) and label repeated material with letters (A, B, A, C …) from a self-similarity matrix. Decodes up to 10 minutes (mono, 16 kHz). Per 0.5 s window it computes peak chroma (12) and timbre (MFCC 1–12 from 26 mel bands, z-normalised); the self-similarity matrix is the mean of both cosine similarities.

Protocol x402 (POST)
Price $0.01
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider ton
Source bazaar
Indexed 2026-11-21 08:10:21

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "audio_url": "https://ton.halowerk.com/beispiel/music-structure-audio.ogg" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Labels mark acoustically similar material; they are not musical section names.", "Gradual transitions (crossfades, long builds) produce weak or shifted boundaries.", "The window resolution is 0.5 s; boundaries are accurate to about one window." ], "result": { "boundaries_s": [], "label_summary": { "A": { "count": 1, "total_s": 16 } }, "labels": [ "A" ], "method": "chroma + MFCC self-similarity, Foote (2000) checkerboard novelty, block-similarity labelling", "most_repeated_label": null, "novelty_peaks": [], "segments": [ { "end_s": 16, "label": "A", "repeats_segment": null, "similarity_to_best_earlier": 0, "start_s": 0 } ], "source": { "analysed_s": 16, "analysis_rate_hz": 16000, "bytes": 116769, "channels": 1, "codec": "opus", "container": "ogg", "duration_s": 16.006, "sample_rate": 48000, "sha256": "7263b630fd94c44987d10b24f796113ab1518cbbe17f107a7dc4a10e92f08dd3" }, "window_s": 0.5 }, "service": "music-structure", "status": "success" }, "type": "json" }