Repository navigation
Build APKs for MatchaTTS Chinese+English #2882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,6 +113,10 @@ if [[ $model_dir == vits-melo-tts-zh_en ]]; then | |
| lang=zh_en | ||
| fi | ||
|
|
||
| if [[ $model_dir == matcha-icefall-zh-en ]]; then | ||
| lang=zh_en | ||
| fi | ||
|
Comment on lines
+116
to
+118
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This adds another For example: case $model_dir in
vits-melo-tts-zh_en|\
matcha-icefall-zh-en|\
kokoro-multi-lang-v1_0|\
kokoro-multi-lang-v1_1|\
kokoro-int8-multi-lang-v1_1)
lang=zh_en
;;
esac |
||
|
|
||
| if [[ $model_dir == kokoro-multi-lang-v1_0 || $model_dir == kokoro-multi-lang-v1_1 || $model_dir == kokoro-int8-multi-lang-v1_1 ]]; then | ||
| lang=zh_en | ||
| fi | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,10 @@ if [[ $model_dir == vits-melo-tts-zh_en ]]; then | |
| lang=zh_en | ||
| fi | ||
|
|
||
| if [[ $model_dir == matcha-icefall-zh-en ]]; then | ||
| lang=zh_en | ||
| fi | ||
|
Comment on lines
+110
to
+112
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This adds another For example: case $model_dir in
vits-melo-tts-zh_en|\
matcha-icefall-zh-en|\
kokoro-multi-lang-v1_0|\
kokoro-multi-lang-v1_1|\
kokoro-int8-multi-lang-v1_1)
lang=zh_en
;;
esac |
||
|
|
||
| if [[ $model_dir == kokoro-multi-lang-v1_0 || $model_dir == kokoro-multi-lang-v1_1 || $model_dir == kokoro-int8-multi-lang-v1_1 ]]; then | ||
| lang=zh_en | ||
| fi | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While logging the success status of
trySendis useful for debugging, the log message could be more informative, especially for the failure case. WhentrySendfails, audio samples are dropped, which can lead to degraded audio quality. It would be better to log this as a warning to highlight the data loss.Consider checking the return value and logging a warning if the send operation was not successful.