ton.halowerk.com
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.
Part of ton.halowerk.com · 140 endpoints · See the whole service
The wallet the 402 directs payment to. Its full payment record is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service; most of the catalog is unregistered.
Recent payments · which agents last used it
Every indexed settlement paid to this service’s wallet, newest first. The index does not record which endpoint a payment was for, so if this wallet serves more than one endpoint, the rows include payments for the others. Paged up to the newest 5,000; the full history is on the merchant page.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change. Always read the 402 the endpoint answers with.
{
"docs": "https://ton.halowerk.com/llms.txt",
"name": "music_structure",
"error": "payment_required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"asset": "USDC",
"version": "2",
"eip712Domain": {
"name": "USD Coin",
"chainId": 8453,
"version": "2",
"verifyingContract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"network_name": "Base Mainnet",
"assetTransferMethod": "eip3009"
},
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
"amount": "10000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
}
],
"pricing": "https://ton.halowerk.com/pricing",
"resource": {
"url": "https://ton.halowerk.com/v1/music-structure",
"tags": [
"music structure",
"dsp",
"tempo",
"key",
"pitch"
],
"mimeType": "application/json",
"description": "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."
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"audio_url": "https://ton.halowerk.com/beispiel/music-structure-audio.ogg"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"result": {
"labels": [
"A"
],
"method": "chroma + MFCC self-similarity, Foote (2000) checkerboard novelty, block-similarity labelling",
"source": {
"bytes": 116769,
"codec": "opus",
"sha256": "7263b630fd94c44987d10b24f796113ab1518cbbe17f107a7dc4a10e92f08dd3",
"channels": 1,
"container": "ogg",
"analysed_s": 16,
"duration_s": 16.006,
"sample_rate": 48000,
"analysis_rate_hz": 16000
},
"segments": [
{
"end_s": 16,
"label": "A",
"start_s": 0,
"repeats_segment": null,
"similarity_to_best_earlier": 0
}
],
"window_s": 0.5,
"boundaries_s": [],
"label_summary": {
"A": {
"count": 1,
"total_s": 16
}
},
"novelty_peaks": [],
"most_repeated_label": null
},
"status": "success",
"service": "music-structure",
"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."
]
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"audio_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Public http(s) URL of the music file (at most 10 MiB; private and local addresses are refused)."
},
"audio_base64": {
"type": "string",
"maxLength": 14000000,
"minLength": 16,
"description": "Music file as base64 (at most 10 MiB decoded; a data: URL prefix is accepted). Formats: WAV/RF64/W64, AIFF, FLAC, MP3/MP2, AAC (ADTS, M4A/MP4), ALAC, Ogg Vorbis/Opus, WebM/Matroska, CAF, WavPack, APE, TTA, AMR, AU, AC-3/E-AC-3, DTS, WMA (ASF), AVI, MPEG-TS/PS, FLV; for video containers the first audio track is used."
},
"min_segment_s": {
"type": "number",
"default": 4,
"maximum": 60,
"minimum": 2,
"description": "Minimum distance between boundaries in seconds."
}
},
"additionalProperties": false
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"price_usdc": "0.01",
"description": "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. Boundaries are peaks of the Foote (2000) novelty curve (Gaussian-tapered checkerboard kernel of ±4 s) above an absolute and a relative threshold, at least 4 s apart. Segments are labelled by comparing their block similarities: a segment whose normalised block similarity to an earlier segment is at least 0.8 gets the same letter. No semantic names (intro, verse, chorus) are inferred; the most repeated label is reported as an observation only. Price reflects the quadratic similarity matrix.",
"inputSchema": {
"type": "object",
"properties": {
"audio_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Public http(s) URL of the music file (at most 10 MiB; private and local addresses are refused)."
},
"audio_base64": {
"type": "string",
"maxLength": 14000000,
"minLength": 16,
"description": "Music file as base64 (at most 10 MiB decoded; a data: URL prefix is accepted). Formats: WAV/RF64/W64, AIFF, FLAC, MP3/MP2, AAC (ADTS, M4A/MP4), ALAC, Ogg Vorbis/Opus, WebM/Matroska, CAF, WavPack, APE, TTA, AMR, AU, AC-3/E-AC-3, DTS, WMA (ASF), AVI, MPEG-TS/PS, FLV; for video containers the first audio track is used."
},
"min_segment_s": {
"type": "number",
"default": 4,
"maximum": 60,
"minimum": 2,
"description": "Minimum distance between boundaries in seconds."
}
},
"additionalProperties": false
},
"price_model": "per_call",
"x402Version": 2,
"instructions": "Sign the accepted terms with an x402 client and repeat the request with the payment header.",
"outputSchema": {
"type": "object",
"required": [
"status",
"service",
"result"
],
"properties": {
"result": {
"type": "object",
"properties": {
"labels": {
"type": "array",
"items": {
"type": "string"
}
},
"method": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"bytes": {
"type": "number"
},
"codec": {
"type": "string"
},
"sha256": {
"type": "string"
},
"channels": {
"type": "number"
},
"container": {
"type": "string"
},
"analysed_s": {
"type": "number"
},
"duration_s": {
"type": "number"
},
"sample_rate": {
"type": "number"
},
"analysis_rate_hz": {
"type": "number"
}
}
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end_s": {
"type": "number"
},
"label": {
"type": "string"
},
"start_s": {
"type": "number"
},
"repeats_segment": {},
"similarity_to_best_earlier": {
"type": "number"
}
}
}
},
"window_s": {
"type": "number"
},
"boundaries_s": {
"type": "array"
},
"label_summary": {
"type": "object",
"properties": {
"A": {
"type": "object",
"properties": {
"count": {
"type": "number"
},
"total_s": {
"type": "number"
}
}
}
}
},
"novelty_peaks": {
"type": "array"
},
"most_repeated_label": {}
}
},
"status": {
"type": "string"
},
"service": {
"type": "string"
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"payment_header": "PAYMENT-SIGNATURE",
"capability_request": {
"url": "https://bedarf.halowerk.com/capabilities/request",
"cost": "free",
"method": "POST",
"description": "Missing a capability, or does the scope not fit? Report the need here - no payment required. Similar reports are bundled; the response returns an id you can check back on.",
"body_example": {
"max_price": 0.01,
"description": "what exactly is needed",
"requested_capability": "short label"
}
}
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.
Pay 0.01 USDC on Base to 0x2880…C4E5E. The signed payment is good for 5 minutes.
- Paid to
- 0x2880…C4E5E
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 10000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"asset": "USDC",
"version": "2",
"eip712Domain": {
"name": "USD Coin",
"chainId": 8453,
"version": "2",
"verifyingContract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"network_name": "Base Mainnet",
"assetTransferMethod": "eip3009"
},
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
"amount": "10000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"audio_url": "https://ton.halowerk.com/beispiel/music-structure-audio.ogg"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"result": {
"labels": [
"A"
],
"method": "chroma + MFCC self-similarity, Foote (2000) checkerboard novelty, block-similarity labelling",
"source": {
"bytes": 116769,
"codec": "opus",
"sha256": "7263b630fd94c44987d10b24f796113ab1518cbbe17f107a7dc4a10e92f08dd3",
"channels": 1,
"container": "ogg",
"analysed_s": 16,
"duration_s": 16.006,
"sample_rate": 48000,
"analysis_rate_hz": 16000
},
"segments": [
{
"end_s": 16,
"label": "A",
"start_s": 0,
"repeats_segment": null,
"similarity_to_best_earlier": 0
}
],
"window_s": 0.5,
"boundaries_s": [],
"label_summary": {
"A": {
"count": 1,
"total_s": 16
}
},
"novelty_peaks": [],
"most_repeated_label": null
},
"status": "success",
"service": "music-structure",
"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."
]
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"properties": {
"audio_url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"audio_base64": {
"type": "string",
"maxLength": 14000000,
"minLength": 16
},
"min_segment_s": {
"type": "number",
"default": 4,
"maximum": 60,
"minimum": 2
}
},
"additionalProperties": false
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-11-21 07:07Z
- Last indexed by Roundhouse
- 2026-12-03 23:30Z
- Last enriched (probe, favicon, geo)
- 2026-11-21 07:46Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent: it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 11 snapshots so far. Verified volume counts only settlements relayed by a known x402 facilitator.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service ton.halowerk.com and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=ton.halowerk.com' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://ton.halowerk.com/v1/music-structure, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.