Supertonic-3: 70-character chunks break sentences up. Longer text windows for TextEncoder/DurationPredictor? (Plus a download clash on case-insensitive disks.)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- swift
- Lĩnh vực
- audio-video-rtc, mobile
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- Swift
- Star
- 3k
- Fork
- 451
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 87
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FluidInference/FluidAudio
-
Kokoro ANE legacy: Alignment still runs the graph that traps at 48 tokens (#1172 fixed v3 only)Đang mởbug text-to-speech
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
FluidInference/FluidAudio#1201 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
FluidInference/FluidAudio#1200 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
FluidInference/FluidAudio#1194 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
FluidInference/FluidAudio#1193 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
FluidInference/FluidAudio#1182 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của FluidInference/FluidAudio
Issue tương tự
-
area: build-and-ci S3: minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
manaflow-ai/cmux#65734 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OneBusAway/onebusaway-ios#2025 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
erkamyaman/rust-anything#930 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
contributor: external iOS needs review sdk-58 severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
expo/expo#54458 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
SwiftOldDriver/iOS-Weekly#5528 ·
Maintainer thường phản hồi trong vòng 1 ngày