Supertonic-3: 70-character chunks break sentences up. Longer text windows for TextEncoder/DurationPredictor? (Plus a download clash on case-insensitive disks.)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- swift
- Área
- audio-video-rtc, mobile
Línea de trabajo
Start with Supertonic3Constants.maxChunkLengthLatin (70) and the chunker that uses it, then check the TextEncoder_v2 and DurationPredictor_v2 model export that fixes text length. The download clash is in ModelHub.download(.supertonic3, …) and requiredFiles(veVariant:), where Config.json and config.json collide on case-insensitive volumes. Done means the chunk cap is configurable with a test for longer segments, the download succeeds on macOS, and the docs match the code's 70/57 caps and 0.05 s silence.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi FluidInference team, and thanks again for the quick vocoder fix in #1135. We're now trialling Supertonic-3 in the same iOS article reader, through Supertonic3Manager(directory:computeUnits: .cpuAndNeuralEngine, vectorEstimator: .aneBucketed(.int4)) at main e63b5230, on an iPhone 18 Pro (iOS 27.2).
What's great
- 50–83× real time for 20–25 s paragraphs; +111 MB loaded; 0.2 s to load once compiled.
- Intelligibility, measured with Apple's speech recogniser on a paragraph full of numbers: 3–11% word error across the ten voices, against 5% for Kokoro
af_heart. German and Spanish samples about 5%. - No pieces cut off mid-sound in about 400 we measured.
1. Choppy delivery from the 70-character chunks
Supertonic3Constants.maxChunkLengthLatin is 70, so most article sentences (100–200 characters) are split at commas or between words, and each piece is synthesised on its own, with its own intonation and a 0.05 s gap. In listening tests this is the deciding problem: "the most jarring part is the disjointed delivery… it breaks the sentence and paragraph flow constantly." Our shorter sentences (the German, French and Spanish samples) sound noticeably more fluent.
Could TextEncoder_v2 and DurationPredictor_v2 be exported with longer fixed text lengths, say T = 256 and 512 buckets like the VectorEstimator's L buckets, with the chunker caps raised to match? At this speed there's plenty of headroom. In the meantime a configurable cap would help: plain-ASCII English at 110 characters plus the <en> tags still fits T = 128 (the docs still give 110/90).
2. Download fails on case-insensitive volumes (macOS, the iOS Simulator)
The repo's top level holds both Config.json (2 bytes) and config.json (77 bytes). ModelHub.download(.supertonic3, …) saves one, then fails on the other:
Supertonic3Error.downloadFailed("Error Domain=NSCocoaErrorDomain Code=516 "“config.json.partial” couldn’t be moved to “supertonic-3” because an item with the same name already exists." …)
We work around it by fetching requiredFiles(veVariant:) ourselves and passing that folder as directory. Removing Config.json, or downloading only the required files, would fix it.
3. Small documentation mismatches
- The voice styles are at
voice_styles/, notassets/voice_styles/. - The chunk caps are 70/57 in the code but 110/90 in
Documentation/TTS/Supertonic3.md, and the default silence is 0.05 s in the code but 0.3 s in the docs.
Happy to test any builds. Thanks!
- Lenguaje dominante
- Swift
- Estrellas
- 3k
- Forks
- 451
- Merge medio
- 1 d 19 h
- PR fusionados (30 d)
- 87
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FluidInference/FluidAudio
-
Kokoro ANE legacy: Alignment still runs the graph that traps at 48 tokens (#1172 fixed v3 only)Abiertobug text-to-speech
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
FluidInference/FluidAudio#1201 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
FluidInference/FluidAudio#1200 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
FluidInference/FluidAudio#1194 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
FluidInference/FluidAudio#1193 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
FluidInference/FluidAudio#1182 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de FluidInference/FluidAudio
Issues similares
-
area: build-and-ci S3: minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
manaflow-ai/cmux#65734 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
OneBusAway/onebusaway-ios#2025 ·
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
erkamyaman/rust-anything#930 ·
Los mantenedores suelen responder en 1 día
-
contributor: external iOS needs review sdk-58 severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
expo/expo#54458 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
SwiftOldDriver/iOS-Weekly#5528 ·
Los mantenedores suelen responder en 1 día