Tonwerk
barge in test
Takes a stereo call recording (up to 300 s) with the user on one channel and the voice agent on the other and finds speech on each channel with Silero VAD v6.2 (MIT, pinned). Every user utterance that starts while the agent is speaking (overlap at least min_overlap_ms) is an interruption. Utterances up to backchannel_max_ms are backchannels ("okay", "mhm") which a good agent ignores; longer ones are barge-ins which it should yield to. For each event it reports the agent stop latency (agent.
POST https://ton.halowerk.com/v1/barge-in-testInputs
| Field | Type | Required | Description |
|---|---|---|---|
| audio_base64 | string | No | Stereo call recording, at most 300 s, as base64 (max 10 MiB): WAV, FLAC, MP3, AAC/M4A, Ogg/Opus, WebM and more. |
| audio_url | string | No | Instead of base64: public http(s) URL of the file (max 10 MiB). |
| user_channel | string | No | Channel of the user; the other one is the agent. |
| max_stop_ms | integer | No | The agent must stop within this time after a barge-in (default 1000). |
| backchannel_max_ms | integer | No | User utterances up to this length count as backchannel, not barge-in (default 800). |
| min_overlap_ms | integer | No | Minimum overlap with agent speech for an interruption (default 150). |
| threshold | number | No | Silero speech probability threshold (default 0.5). |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"audio_base64": {
"type": "string",
"minLength": 16,
"maxLength": 14000000,
"description": "Stereo call recording, at most 300 s, as base64 (max 10 MiB): WAV, FLAC, MP3, AAC/M4A, Ogg/Opus, WebM and more."
},
"audio_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Instead of base64: public http(s) URL of the file (max 10 MiB)."
},
"user_channel": {
"type": "string",
"enum": [
"left",
"right"
],
"default": "left",
"description": "Channel of the user; the other one is the agent."
},
"max_stop_ms": {
"type": "integer",
"minimum": 100,
"maximum": 5000,
"default": 1000,
"description": "The agent must stop within this time after a barge-in (default 1000)."
},
"backchannel_max_ms": {
"type": "integer",
"minimum": 0,
"maximum": 2000,
"default": 800,
"description": "User utterances up to this length count as backchannel, not barge-in (default 800)."
},
"min_overlap_ms": {
"type": "integer",
"minimum": 0,
"maximum": 2000,
"default": 150,
"description": "Minimum overlap with agent speech for an interruption (default 150)."
},
"threshold": {
"type": "number",
"minimum": 0.1,
"maximum": 0.95,
"default": 0.5,
"description": "Silero speech probability threshold (default 0.5)."
}
}
}Published input example
{
"audio_base64": "T2dnUwACAAAAAAAAAAAAAAAAAAAAACzqN/cBF09wdXNIZWFkAQI4AYA+AAAAAP8CAAABT2dnUwAAAAAAAAAAAAAAAAAAAQAAAEmVvlQBLk9wdXNUYWdzBgAAAGZmbXBlZwEAAAAUAAAAZW5jb2Rlcj1MYXZjIGxpYm9wdXNPZ2dTAACAuwAAAAAAAAAAAAACAAAATyz/ezIPDQ0NDRAREA8PEhAQFRYUDxETFBUVFBUUFBQVExMYFxgXFRMTFRUUFhUUFhYVExQPEQgGC/H5FoXgCAvx+RaF4AgFCnizDsYICnizDsYIBQp4sw7GCAp4sw7GCAUKeLMOxggKeLMOxggFCnizDsYICnizDsYICAEhWUWvkcnqCAp4sw7GCAmKiE11rvlraSAICnizDsYICIHd6222pDnQCAp4sw7GCAcxEYFHaEb4CAp4sw7GCAcvVsGDjrN4CAp4sw7GCAowsYilp67672eACAp4sw7GCAgxMnsrRSN7QAgKeLMOxggIL6DVwzUmBBgICnizDsYIDYnALtTZAgYDwrg7e0AICnizDsYIDo9voHZpHle2MR4846UICAp4sw7GCAyTWLIb0MlIj+LGrIAICnizDsYIB4Uh2RA2bjUICnizDsYICYVuDjQkRsNfUAgKeLMOxggLvAnbdJL6/bVKvvAICnizDsYIDLxNJuMnYW6gQrVkKAgKeLMOxggNvFArYZWPIs2Tc6YYQAgKeLMOxggNvEpa9Ms9n7fFWc0J8AgKeLMOxggMvBe4j2A4h5QoyqBICAp4sw7GCA28MkFz4K35KgUkOXOACAp4sw7GCAy8hertrGWen1o4Pf4ICnizDsYIDLzRz+UNvdy5P2oowAgKeLMOxggMvPTTQY7/i8XSNhtQCAp4sw7GCA29IK1ZhqBH5+vSaC6gCAp4sw7GCAu87gmSSf27AilnkAgKeLMOxggLvMR7JIGYfIRhHX0ICnizDsYIELxp9ReK54/pyAMs4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ggFCnizDsYIHaa2Bf35JBAIBQp4sw7GCB9Ig4WvceAIBQp4sw7GCCMhuSOcrfQYCAUKeLMOxgiA0ZessVWpgb9UgAgFCnizDsYIg2x+axmXga/ZYAgFCnizDsYIhUY6j0WHntQIBQp4sw7GCIWQj38+cSCRk+jwCAUKeLMOxgiFv/HLfeVS8qYIBQp4sw7GCIXaaTehLgCAUAgFCnizDsYIhZ6jVi/kz9NkwAgFCnizDsYIhZKDvwiyKjWkzxgIBQp4sw7GCLk3ym/gU1quHSBc84EIBQp4sw7GCLgjem6fGr85t7qPoAgFCnizDsYIutgxMsPvzskrAOIygAgFCnizDsYIvJBRiZ/tveQx7sPRCAUKeLMOxgi8SJ0iLtEgPNnI24AIBQp4sw7GCLwH93o6Nq6/B3aIgAgFCnizDsYIu+xBqAG/KDXYuVacmggFCnizDsYIvAdWrSuriG+lLmqAG0AIBQp4sw7GCLvsP968tOFFL3Cl9uAIBQp4sw7GCLtGbuXBCG+o+pssUggFCnizDsYIuyo81cqlmxUiA24qNggFCnizDsYIue2G4SoaflRlYzffnggFCnizDsYIt22Pr8P7HaSgh+PoCAUKeLMOxgizYqaLm4n6DRYKzE9nZ1MABEWtAQAAAAAAAAAAAAQAAACnEgfEDxMUERIQExAPFRISDxAQDwgFCnizDsYIswtquNW74IdwPDEIBQp4sw7GCK8neyhTF46Y0gbUYAgFCnizDsYIkOYl0+YVc9F+CAUKeLMOxgiQ6TaoxlRd7MTGCAUKeLMOxgiDlyhk0xM/NggFCnizDsYIkPsdWZfhJWKXwGgIBQp4sw7GCIQMXMF9dpmACAUKeLMOxgiD1hgM+pVSCAUKeLMOxgiQIjQXBTLinbR7B/pzCAUKeLMOxgg8BmfBK9kvV4foCAUKeLMOxgg4p+YkT65ko6KACAUKeLMOxgg0TNtTzEhFCAUKeLMOxgguiQ0N7rc1LggFCnizDsYIJ0MhjaZm+xAIBQp4sw7GCAsdSxaLycA="
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Tonwerk0.01 USDC
accessible transcript html
POSThttps://ton.halowerk.com/v1/accessible-transcript-htmlParses SRT or WebVTT (voice tags <v Name>, "NAME:" prefixes and ">>" speaker changes) or a segments array, merges consecutive cues of the same speaker into turns (a new paragraph after a pause longer than paragraph_gap_s), and writes semant
- Tonwerk0.01 USDC
ad disclosure audio
POSThttps://ton.halowerk.com/v1/ad-disclosure-audioDecodes the complete supplied clip to mono 16 kHz using resource-limited ffmpeg, checks for speech with Silero VAD v6.2 (MIT), and transcribes locally with the pinned Whisper base ONNX model (MIT / Apache-2.0). Conservative English phrase r
- Tonwerk0.005 USDC
ad insertion markers
POSThttps://ton.halowerk.com/v1/ad-insertion-markersRuns ffmpeg 6.1 silencedetect on the episode audio (base64 or URL, at most 10 MiB) and builds mid-roll candidates from internal silences and from Podcasting 2.0 chapter boundaries (a boundary inside a silence or snapped to the nearest silen