Tonwerk
background voice detect
Decodes up to 2 minutes (mono, 16 kHz). Frame levels (20 ms window, 10 ms hop) give the overall 95th percentile and the noise floor (10th percentile); levels are reported relative to the 95th percentile of foreground frames. YIN (de Cheveigné and Kawahara 2002) marks voiced frames with f0 70–400 Hz. Candidate frames lie at least 12 dB below the foreground and at least 8 dB above the floor, are voiced, and are neither reverberation tails (no new onset of at least 6 dB since the last.
POST https://ton.halowerk.com/v1/background-voice-detectInputs
| Field | Type | Required | Description |
|---|---|---|---|
| audio_base64 | string | No | Audio recording with speech 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. |
| audio_url | string | No | Public http(s) URL of the audio recording with speech (at most 10 MiB; private and local addresses are refused). |
| min_level_below_db | number | No | Minimum distance below the foreground level for background candidates, in dB. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"audio_base64": {
"type": "string",
"minLength": 16,
"maxLength": 14000000,
"description": "Audio recording with speech 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."
},
"audio_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Public http(s) URL of the audio recording with speech (at most 10 MiB; private and local addresses are refused)."
},
"min_level_below_db": {
"type": "number",
"minimum": 6,
"maximum": 30,
"default": 12,
"description": "Minimum distance below the foreground level for background candidates, in dB."
}
}
}Published input example
{
"audio_base64": "T2dnUwACAAAAAAAAAAAAAAAAAAAAAGS5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}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