Repository navigation
v0.18.5 — Kokoro ANE 48-token crash fixes, Spanish and French on Kokoro v3, streaming seam fixes
LatestKokoro ANE: no more crashes on 48-token sentences
- About one English sentence in twenty comes to 48 tokens, the default shape the Kokoro models were converted with, and Core ML's CPU engine mishandles that shape under
.cpuAndNeuralEngine. Alignment now runs as a native Swift copy on v3 (#1198) and on legacy (#1207), bit for bit with the graph. PostAlbert runs on.cpuOnlyin the shipped routings, where every 48-token call after the first used to fail (#1205). Fixes #1172, #1201, #1155 and #1200. - v3 accepts a custom compute routing, so an app can move one stage off a failing compute path (#1187).
Kokoro ANE v3
- Spanish and French, on the English v3 assets with their own voices and text frontends (#1208). Parakeet transcribes them the same as the legacy chain.
- The fast generator (the GPU route, default on OS 26 and earlier) speaks at the reference level instead of 1.5× louder (+3.5 dB) (#1209, #1182).
FLUIDAUDIO_KOKORO_INPUT_ALLOCATION=guardputs an unreadable page after every chain input, so a libBNNS over-read crashes on its first call instead of after an hour. Debug builds also check that every input carries the padding (#1206, #889). A device run found no over-read on iOS 27.2.1.
Other TTS
- Pocket TTS: short text is no longer padded with leading spaces, which caused repeats (#1154), and the first letter after an opening quote is capitalized (#1189).
- Chatterbox: text is handled by code point like the reference (#1199), and a word-final capital sigma lowercases to ς (#1196).
ASR
- Streaming: the final window is re-decoded fresh after token-empty windows (#1164), the first window that emits re-decodes from a fresh state (#1192), and a seam's previous word ends at its own last piece, so a late period no longer drops a word (#1202).
- Batch: opt-in
BatchWindowReuseContextreuses exactly matching decoded windows across repeatedtranscribe(_:decoderState:language:reuse:)calls on one growing recording (#1178). - Vocabulary boosting: results report where each replacement applied (#1176), batch transcription honors the similarity floor (#1197), a short clip keeps the CTC frame after its last word (#1186), and the CTC spotter copies audio in bulk (#1173).
- Faster decoding: TDT v3 backs the joint's top-K outputs (#1168, #1188), and the Unified RNNT decoder reuses its tensors (#1174).
- Czech output no longer gets Slovak-only letters, and the reverse (#1169).
CLI: transcribe --files-from loads the model once for many files (#1177).
Shared: AudioConverter reuses its AVAudioConverter across calls (#1165).
Showcase: Earshot, Purr, Keyspoken, Yaptake, mm2t and Larynx (#1157, #1167, #1166, #1175, #1181, #1190), with most apps folded into one toggle (#1184, #1185).
What's Changed
- fix(tts/pocket): don't pad short text with leading spaces by @lazerwalker in #1154
- fix(asr/streaming): re-decode the final window fresh after token-empty windows by @johnny4young in #1164
- perf(shared): reuse AudioConverter's AVAudioConverter across calls by @johnny4young in #1165
- Add Earshot to the showcase by @Bouliw in #1157
- Add Purr to the showcase by @iamarunbrahma in #1167
- docs(readme): collapse most showcase apps into one toggle by @Alex-Wengg in #1184
- Add Keyspoken to the showcase by @tekvisions in #1166
- Add Yaptake to the showcase by @0thernet in #1175
- docs: add mm2t to Showcase by @soba9622 in #1181
- docs(readme): show five more apps in the showcase table by @Alex-Wengg in #1185
- perf(asr/tdt): back the joint's top-K outputs so v3 steps skip Core ML's slow path by @zaydiscold in #1168
- feat(asr): keep Slovak-only letters out of Czech and Czech-only letters out of Slovak by @Hannsek in #1169
- perf(asr/vocab): copy the CTC spotter's audio in bulk, not one NSNumber per sample by @LachyGroom in #1173
- cli: one model load for many files (--files-from) by @elto21ab in #1177
- feat(tts/kokoro-ane-v3): accept a custom compute routing (#1155, #1172) by @Alex-Wengg in #1187
- feat(asr/vocab): report where each vocabulary replacement applied by @robbiet480 in #1176
- perf(asr/unified): reuse the RNNT decoder's tensors and back its outputs by @LachyGroom in #1174
- test(asr/tdt): cover the joint's top-K output backings (#1168) by @Alex-Wengg in #1188
- Capitalize the first letter after opening quotes in PocketTTS by @unaltolga in #1189
- Add Larynx to the showcase by @StopBanning in #1190
- fix(tts/chatterbox): lowercase a word-final capital sigma to ς like the reference by @v-code01 in #1196
- fix(tts/kokoro-ane-v3): run Alignment natively so 48-token chunks no longer trap in BNNS (#1172) by @Powermama in #1198
- Honor the vocabulary similarity floor in batch transcription by @gezerui888 in #1197
- fix(tts/chatterbox): work on code points like the reference, not grapheme clusters by @v-code01 in #1199
- fix(asr/vocab): keep the CTC frame after a short clip's last word (#1151) by @Alex-Wengg in #1186
- Re-decode the first emitting streaming window from a fresh state by @Bouliw in #1192
- Add opt-in reuse for exact Parakeet batch windows by @achembarpu in #1178
- fix(asr/streaming): end the seam's previous word at its own last piece, not a late mark (#1195) by @Alex-Wengg in #1202
- fix(tts/kokoro-ane): run PostAlbert on .cpuOnly in the shipped presets (#1155, #1200) by @eoffermann in #1205
- fix(tts/kokoro-ane): guard-page probe and a check that every chain input is overread-safe (#889) by @eoffermann in #1206
- fix(tts/kokoro-ane): run legacy Alignment natively so 48-token chunks no longer trap in BNNS (#1201) by @Alex-Wengg in #1207
- fix(tts/kokoro-ane-v3): fast generator speaks at the reference level, not 1.5x (#1182) by @Alex-Wengg in #1209
- feat(tts/kokoro-ane-v3): Spanish and French on the English assets by @Alex-Wengg in #1208
New Contributors
- @lazerwalker made their first contribution in #1154
- @Bouliw made their first contribution in #1157
- @iamarunbrahma made their first contribution in #1167
- @tekvisions made their first contribution in #1166
- @0thernet made their first contribution in #1175
- @soba9622 made their first contribution in #1181
- @zaydiscold made their first contribution in #1168
- @Hannsek made their first contribution in #1169
- @LachyGroom made their first contribution in #1173
- @elto21ab made their first contribution in #1177
- @robbiet480 made their first contribution in #1176
- @StopBanning made their first contribution in #1190
- @v-code01 made their first contribution in #1196
- @Powermama made their first contribution in #1198
- @gezerui888 made their first contribution in #1197
- @eoffermann made their first contribution in #1205
Full Changelog: v0.18.4...v0.18.5