Allow custom pause durations for punctuation marks in Mandarin TTS

Đã đóng
#1,105 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #1131 của @Alex-Wengg — đã merge

Đá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
35/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
ai

Hướng nghiên cứu

The payload names no files, so start by finding where the Kokoro Mandarin synthesis path turns punctuation into pauses or silence. Then decide how a caller-supplied punctuation-to-milliseconds mapping would reach that point, which is a design question the maintainers should weigh in on first. Done means a passed-in mapping lengthens the pause after a mark such as the enumeration comma, with a test that checks the added duration.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Body:

Hello,

While using Kokoro for Mandarin text-to-speech, I noticed that the pause duration for some punctuation marks, such as “、” (the Chinese enumeration comma), is too short.

Could you provide a way to externally customize the pause duration for punctuation marks? For example, allow an external dictionary to be passed in, where the key is the punctuation mark and the value is the duration in milliseconds. During speech synthesis, pauses could then be applied according to this dictionary.

Thank you for reading, and have a nice day.

Ngôn ngữ chính
Swift
Star
3k
Fork
451
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
93

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FluidInference/FluidAudio

Tất cả issue của FluidInference/FluidAudio

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.