Kokoro ANE (legacy) speaks ~3.5 dB quieter than reference Kokoro since KokoroTail_v2: COLA correction applied twice?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 20/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- swift
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- Swift
- スター
- 3k
- フォーク
- 451
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 87
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FluidInference/FluidAudio のほかの issue
-
Kokoro ANE legacy: Alignment still runs the graph that traps at 48 tokens (#1172 fixed v3 only)オープンbug text-to-speech
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
FluidInference/FluidAudio#1201 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
FluidInference/FluidAudio#1200 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
FluidInference/FluidAudio#1194 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
FluidInference/FluidAudio#1193 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
FluidInference/FluidAudio#1191 ·
メンテナーはふだん 1 日以内に返信
FluidInference/FluidAudio の issue をすべて見る
似ている issue
-
area: build-and-ci S3: minor
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
manaflow-ai/cmux#65734 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OneBusAway/onebusaway-ios#2025 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
erkamyaman/rust-anything#930 ·
メンテナーはふだん 1 日以内に返信
-
contributor: external iOS needs review sdk-58 severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
SwiftOldDriver/iOS-Weekly#5528 ·
メンテナーはふだん 1 日以内に返信