Kokoro ANE (legacy) speaks ~3.5 dB quieter than reference Kokoro since KokoroTail_v2: COLA correction applied twice?
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
- 20/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- swift
- Área
- machine-learning
Línea de trabajo
Start by reproducing the level gap with fluidaudiocli tts using the kokoro-ane backend and the af_heart voice, then compare the RMS against the kokoro-onnx v1.0 reference on the same sentence. The payload does not name the source files for the COLA normalisation, so the first step is to locate the KokoroTail_v2 change in the model and conversion code. Done means the team has decided whether the ~1/1.5× level is intended headroom or a double-applied correction, and the output level or its documentation matches that decision.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
fluidaudiocli tts --backend kokoro-ane at v0.18.4 (e0c6103) produces speech about 3.5–4 dB below the reference Kokoro-82M (kokoro-onnx kokoro-v1.0.onnx, CPU) on the same text and voice. A build from early August 2026 (pre-KokoroTail_v2) was about 4 dB above the reference. The model card says KokoroTail_v2 fixed a COLA normalisation bug where "output was 1.5× reference". 1.5× is +3.5 dB. The new output reads as about 1/1.5× reference, so the correction may have been applied twice.
Measurements
macOS 27.2.1, Apple M4, 24 kHz mono. RMS in dBFS over the whole clip, short sentence (~5 s):
| voice | Aug build (KokoroTail, KokoroProsody) | kokoro-onnx v1.0 | v0.18.4 (Tail_v2, Prosody_v2) |
|---|---|---|---|
| af_heart | −18.1 | −22.1 | −25.9 |
| bm_george | −14.1 | −20.8 | −24.5 |
| am_michael | −18.6 | −23.2 | −27.3 |
| af_nicole | −18.9 | −22.0 | −25.7 |
The ~24 s paragraph shows the same pattern for all eight English voice packs. Durations match within 2%, there are no NaNs, and ASR on the v0.18.4 output is clean. Only the level differs. #963 also reports the corrected body at −24 dB for af_heart.
Text
The river was quiet that morning, and nobody spoke until the boats came in.
fluidaudiocli tts "<text>" --backend kokoro-ane --voice af_heart --output out.wav
Question
Is the ~1/1.5× level intended (e.g. headroom), or should KokoroTail_v2 match the reference level?
- 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 22/100
FluidInference/FluidAudio#1191 ·
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