Supertonic-3: 70-character chunks break sentences up. Longer text windows for TextEncoder/DurationPredictor? (Plus a download clash on case-insensitive disks.)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- swift
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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!
- 主要言語
- 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日 初心者へのやさしさ 20/100
FluidInference/FluidAudio#1182 · コメント 1 件 ·
メンテナーはふだん 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 日以内に返信