Original speech and prompt-conditioned reconstruction, measured over complete clips. Explore three spectral metrics and listen to every input/output pair.
Full-clip scope only. Windowing and overlap experiments were stopped at the user’s request and are excluded from this report. No minimum-window, overlap benefit, or streaming-quality conclusion is claimed.
Lower values mean closer spectral agreement with the original input. These are absolute errors—not percentages, human MOS scores, or speech-recognition accuracy. All clips receive equal weight.
| Cohort | Metric | Clips | Mean error | 95% bootstrap CI |
|---|---|---|---|---|
| All 60 clips | MR-STFT error | 60 | 1.965 | 1.901–2.034 |
| All 60 clips | Log-mel error | 60 | 0.6972 | 0.6711–0.7247 |
| All 60 clips | Log1p-mel error | 60 | 0.01273 | 0.01098–0.01463 |
| Cartoon voices | MR-STFT error | 20 | 1.95 | 1.861–2.042 |
| Cartoon voices | Log-mel error | 20 | 0.771 | 0.7288–0.8174 |
| Cartoon voices | Log1p-mel error | 20 | 0.009803 | 0.008518–0.01112 |
| LibriSpeech test-other | MR-STFT error | 20 | 2.147 | 2.045–2.273 |
| LibriSpeech test-other | Log-mel error | 20 | 0.6431 | 0.6039–0.6888 |
| LibriSpeech test-other | Log1p-mel error | 20 | 0.008566 | 0.007158–0.01017 |
| Podcast | MR-STFT error | 20 | 1.798 | 1.72–1.881 |
| Podcast | Log-mel error | 20 | 0.6774 | 0.6427–0.7097 |
| Podcast | Log1p-mel error | 20 | 0.01982 | 0.01653–0.02343 |
Confidence intervals describe uncertainty across the sampled clips, not across speakers, checkpoints, or synthesis seeds. Dataset means are descriptive; the cohorts have different content.
The prior four codecs’ published full-decode mean errors are preserved on the same 60 source clips. This is a descriptive comparison, not bitrate matching: S3Gen has a semantic objective and receives additional same-source conditioning. No new codec inference or windowed measurements are included.
Bars show means only. Earlier baseline summaries did not provide matching confidence intervals; none are fabricated.
Open any clip ID to compare its exact original and full reconstruction. The table and player use the same measured error record.
The S3 tokenizer emits one 6,561-way FSQ ID every 40 ms. These are semantic tokens, not independent acoustic RVQ codebooks.
The original S3Gen checkpoint uses token-to-mel generation with global attention and ten Euler steps. It also receives a fixed reference prompt and speaker embedding.
A neural vocoder converts the generated mel features into the reconstructed waveform. This evaluates original S3Gen, not T3, Turbo, or another Chatterbox checkpoint.
| Stage | Parameters | Exact count | Non-parameter buffer elements |
|---|---|---|---|
| Semantic tokenizer encoder | 123.715 M | 123,714,568 | 26,128 |
| Speaker conditioner | 6.849 M | 6,848,544 | 82,298 |
| Token-to-mel generator | 112.549 M | 112,549,360 | 0 |
| HiFT vocoder | 20.821 M | 20,821,295 | 0 |
| Total installed model | 263.934 M | 263,933,767 | 109,386 |
| Decoder only (flow + vocoder; subtotal) | 133.371 M | 133,370,655 | 0 |
Conditioning is additional side information. Each clip uses prompt tokens, 50 Hz mel features, and a 192-dimensional speaker embedding extracted once from its first up to three seconds (observed range 2.04–3.00 s). This same-source reference is available offline. The experiment is conditional semantic resynthesis, not a bitrate-matched ranking against unconditional audio codecs.
The pinned implementation’s token encoder and flow network use global attention. Future context can change earlier representations, and the flow state changes at each Euler step; a naive persistent transformer KV cache is therefore not equivalent to full decoding.
Earlier three-anchor perturbation probes changed future context and observed changes in earlier waveforms; they also observed changing attention keys across flow steps. These support the architectural explanation only. They do not establish population-level chunking quality, a minimum usable window, or an online streaming guarantee.
The existing full-control audit found zero above-threshold harmonic-excitation frames on these 60 full clips. Internal predictor outputs are not measurements of speaker pitch, and the predictor is not mathematically bounded. A three-anchor phase intervention produced no excitation-source difference under those conditions; this is a checkpoint-and-sample-qualified negative result, not a universal statement.
Primary sources: S3Gen composition, token-to-mel flow, Euler integration, attention estimator, and HiFT vocoder. Architecture probes and the exact protocol are downloadable below.
13.8567× realtime: 34.5676 seconds of cached full-decoder time for 478.9917 seconds of audio. Measured on the shared NVIDIA L40S at batch size 1, FP32, TF32 off.
This includes full decoding and return-details overhead but excludes model loading, semantic encoding, source and prompt preparation, metrics, and file export. It uses already prepared conditioning. It is neither end-to-end throughput nor streaming latency, and no CPU result is inferred.
The original listening files are the exact analysis references: channels averaged to mono and resampled once to 24 kHz. They are not bit-identical to original-rate corpus files. Paired waveforms use source-length cropping, no independent gain normalization, and no alignment search. The native startup fade is applied once per complete reconstruction. Random inputs and conditioning are fixed per clip. Listening exports are float32 WAV, with no extra lossy transcoding.
These 60 speech clips do not establish music performance, multilingual ASR preservation, perceptual equivalence, or production streaming latency. Float WAV values can exceed ±1; device playback may clip without changing measured file bytes.
{
"version": "chatterbox-full-clip-v1",
"scope": "full_clip",
"sample_rate": 24000,
"channels": 1,
"export_subtype": "FLOAT",
"clip_count": 60,
"clips_per_dataset": 20,
"selected_clips_sha256": "64d69138dc72bc1698377b1fccb0c429588ba384bbb316aeaade73c4ecc84d54",
"full_controls_sha256": "f44fa75b2801622e3c91d43163385cc5b157243d83183a0fdddf1da8133b29f6",
"inference_protocol_sha256": "f14d9c6d2c5be74a47fb6a239f308e691e6e32d5d4acb42811104dd953adc132",
"model": {
"id": "chatterbox-s3gen",
"name": "Chatterbox S3Gen",
"sample_rate": 24000,
"hop_length": 960,
"codebooks": 1,
"codebook_sizes": [
6561
],
"checkpoint": "models/chatterbox-s3gen/s3gen.safetensors",
"checkpoint_sha256": "2b78103c654207393955e4900aac14a12de8ef25f4b09424f1ef91941f161d4e",
"label": "Chatterbox S3Gen",
"version": "Original S3Gen \u00b7 10-step CFM \u00b7 24 kHz",
"family": "Resemble AI",
"frame_rate": 25,
"source_revision": "5de7a54aa4e5e2baadb0182dde554908b48b85c2",
"source_url": "https://github.com/resemble-ai/chatterbox",
"checkpoint_repository": "ResembleAI/chatterbox",
"checkpoint_revision": "5bb1f6ee58e50c3b8d408bc82a6d3740c2db6e18",
"nominal_token_payload_kbps": 0.325,
"payload_warning": "13 bits \u00d725 IDs/s excludes required reference conditioning; NOT a standalone waveform codec bitrate."
},
"parameter_counts": {
"tokenizer_encoder": {
"parameters": 123714568,
"buffers": 26128
},
"speaker_conditioner": {
"parameters": 6848544,
"buffers": 82298
},
"token_to_mel": {
"parameters": 112549360,
"buffers": 0
},
"vocoder": {
"parameters": 20821295,
"buffers": 0
},
"total": {
"parameters": 263933767,
"buffers": 109386
},
"decoder_excluding_conditioning": {
"parameters": 133370655,
"buffers": 0
}
},
"inference_implementation_sha256": {
"scripts/benchmark_chatterbox_windows.py": "70caa340898fde636773ab00798ccbb568d5d74cbca60dde2783c838dd3f7f21",
"backend/chatterbox_s3gen.py": "2421a07ea9f53647321f15b30930ccd4ee0b4e37d9c1217bde13d5a79bbe7b5e",
"scripts/decoder_chatterbox_state.py": "49e7762e0fd88b31a063191843303c413cce3123a63f50170da2dd040af57b2b",
"scripts/chatterbox_window_statistics.py": "7fd77bd56cefeec1a53a6c913e8478470dd48b3a28e05bac6c5ff40f68a9f3ff",
"scripts/benchmark_decoder_degradation.py": "4fe14b859a7db0917002693f435b3269060e1f39882a9aee35f3122ccee0db2d",
"scripts/benchmark_decoder_transformer_state.py": "783c2ff7aa2d429ba58f6aa6b9a8e62cbbe9cd8fb7e1c4ac1606e98f17faa245",
"backend/metrics.py": "df023c84c8e97fecb890d6e29a2f39207f03d2b3ae231378b2f31b660fa59041",
"vendor/chatterbox/src/chatterbox/models/s3gen/__init__.py": "1eb98b785c481502e515676da0e65afbfd8fa2254ae303b6fa9714db6a52730c",
"vendor/chatterbox/src/chatterbox/models/s3gen/configs.py": "15a84f5819e0fe1371ae4f5ac7e3cfb56df52cf36704401586efddd0383697fb",
"vendor/chatterbox/src/chatterbox/models/s3gen/const.py": "0a3a957453060ca081a427e71559889f65e45181e6d7befa649e7314cd90e516",
"vendor/chatterbox/src/chatterbox/models/s3gen/decoder.py": "40d093fd61549a09f5f71d74081585df1e3871b3a8e6b6fafde12bb447701810",
"vendor/chatterbox/src/chatterbox/models/s3gen/f0_predictor.py": "917825eec353b9601b9f7af0c0e3603eb1061d8b641539225e78c910d7bc2255",
"vendor/chatterbox/src/chatterbox/models/s3gen/flow.py": "1e9bc8219eb0832b6db2b86bf7e4085dc9d0c0de47e5c496eb94bbd38b01511d",
"vendor/chatterbox/src/chatterbox/models/s3gen/flow_matching.py": "63fc979521e1b758f0e8f3bee00a496a53184a714ef1a7a723b319a58158d612",
"vendor/chatterbox/src/chatterbox/models/s3gen/hifigan.py": "e49f4723323937493ecf5f6c7f1934f57766ef46c74eaf7c60bf456a1c6fe897",
"vendor/chatterbox/src/chatterbox/models/s3gen/matcha/decoder.py": "a9f35df7b3eb1c7defb8744626b32ef0504a519a066f3240fde90393a39b3488",
"vendor/chatterbox/src/chatterbox/models/s3gen/matcha/flow_matching.py": "56614b92aad52f713c198ae089d47e6a7df13450f3cf5d1144f65fb34c35107d",
"vendor/chatterbox/src/chatterbox/models/s3gen/matcha/text_encoder.py": "a1e993ad219d95dee864e010d8415e7057abb6131a21550093d83db0279b01cb",
"vendor/chatterbox/src/chatterbox/models/s3gen/matcha/transformer.py": "66ff2092d974a99b251b9d8e5c08bbcecceaedfaf41e2bd8af2b4bc7a56dcbea",
"vendor/chatterbox/src/chatterbox/models/s3gen/s3gen.py": "b3ea20b6f3f98dacfa3c2c99502bbf3dfbe7a77362f2ce0d16783d4324e6fc96",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/activation.py": "a4a96caea9f7b05111286de5ea760bdfdf9c4e53448f53420857dc04a50440c2",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/attention.py": "28c38f1e3ea1aeac1526e98f8349d9f068e25f1f6ae246c60badc3d540d62794",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/convolution.py": "eb5f41f324a97225c73b9c430af8bb231bd77386ef18450bb0fd329f469ab4e1",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/embedding.py": "3646e748783fe6c069b424cc9cbfe81bc54a5ccfea1ae7041df398a603cccd3e",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/encoder_layer.py": "1920582be2c9b7cf7835e7b539118ec1eb9da8f2c711c6257f8598b3792951b9",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/positionwise_feed_forward.py": "6e8038e3bcc8ca086ddca508fb9b9d40bf3ab98bebabcf5c94935d032329d0f8",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/subsampling.py": "31fc0347a851abc1205dfd4cf68099c0c416589c3e99a07b250e8630cece19d0",
"vendor/chatterbox/src/chatterbox/models/s3gen/transformer/upsample_encoder.py": "1794ff01b678791ad665d7b0c0999448e760fc1dcb3bc8208de5f58510c1f68c",
"vendor/chatterbox/src/chatterbox/models/s3gen/utils/class_utils.py": "02f3cb3a55ee124c279777245b09061fa15a8182e6e7d7762f8fa45c0a631948",
"vendor/chatterbox/src/chatterbox/models/s3gen/utils/intmeanflow.py": "df3c73d77244518c7b90224c2a5180bf0435d27868f598cb876cfcf812aa5285",
"vendor/chatterbox/src/chatterbox/models/s3gen/utils/mask.py": "902c85fbbd1e30a0cb9792cdcf1b9acd97804bd5cb3b5d6a440dc236f274bb3e",
"vendor/chatterbox/src/chatterbox/models/s3gen/utils/mel.py": "afbb6fe14c30e104cb2617230daa2a6770f97452948b2e6f6eea4a4c2f4ff3ba",
"vendor/chatterbox/src/chatterbox/models/s3gen/xvector.py": "c7c759920cbf1aac9f12e0a15c1bf3d38da51ca9d3ea7a7b53cf740c86fe17fa",
"vendor/chatterbox/src/chatterbox/models/s3tokenizer/__init__.py": "7357ce9a0349bae51e8e8cabcdd01ba8534dd6a2373c1e092291ecb716414fe0",
"vendor/chatterbox/src/chatterbox/models/s3tokenizer/s3tokenizer.py": "76eae9f95b14608c4847c9d7acfcf08138c365640b0d4589de01e742b0e5eb43"
},
"producer_sha256": "d38f70d39b9927b348be5dc801ff30d723f2e1afab6107e6c7a94b35c84b4c3c",
"conditioning": "Same source-first up to3.00s, rounded down to complete40ms frames, prepared once per clip (normally75tokens/150mel frames; actual shorter prompts recorded per clip;192Dspeaker embedding). Offline reference side information; not token-only compression. No conditioning update per window.",
"source_preprocessing": "Original listening files are the exact analysis reference: arithmetic channel mean, resampled once to 24 kHz on CUDA, float32. They are not bit-identical to original-rate corpus files.",
"decode": "Original S3Gen, meanflow=False, 10 Euler steps. Full utterance token sequence decoded in one call; output cropped to the source sample count. Native trim/fade applied once. No temporal or loudness alignment.",
"randomness": "Per-source SHA-derived seed; fixed prompt/target flow noise, excitation noise, and initial harmonic phase. Cached repeat and one alternate-seed control retained; no new neural inference.",
"statistics": "Unweighted clip means, 10000 clip-bootstrap resamples, percentile pointwise 95% CIs; NumPy PCG64 seed = first 8 little-endian SHA256 bytes of version|scope|metric. Overall resamples all 60 clips, not dataset-stratified. Ranges are descriptive, not confidence intervals.",
"timing": "Cached synchronized full_decode_seconds on a shared NVIDIA L40S GPU; batch size 1, FP32, TF32 off. Includes full decoder and return_details overhead; excludes model load, tokenizer, source/prompt preparation, metrics, and file export. Cached conditioning is required side information. This is not end-to-end or streaming latency.",
"metric_definitions": {
"mr_stft": "Mean over FFT sizes 512/1024/2048 of spectral convergence plus mean absolute log-magnitude error; Hann, hop FFT/4, constant centered padding, epsilon 1e-5.",
"log_mel": "Mean absolute log(M+1e-5) difference; magnitude Slaney mel, 80 bins, FFT 1024, hop 256, centered constant padding, 24 kHz.",
"log1p_mel": "Mean absolute log(1+M) difference on the same magnitude mel spectrogram."
},
"limitations": [
"These are spectral errors, not percentages or calibrated perceptual quality scores.",
"The evaluated conditional TTS acoustic decoder is not a standalone waveform codec; semantic token payload excludes required speaker and prompt information.",
"Windowing and overlap-add were stopped at user request and are deliberately excluded. No minimum-token, streaming, or overlap-add claims are made.",
"Repeatability, alternate-seed, and native F0 diagnostics are previously measured cached records; only the saved source/full pair is independently rescored here."
]
}Measured report JSON · Aggregate CSV · Per-clip CSV · Independent validation · All 60 audio pairs and hashes · Architecture probes · PDF report