ChatTTS-ui icon indicating copy to clipboard operation
ChatTTS-ui copied to clipboard

使用笑声和停顿

Open ha7rock opened this issue 1 year ago • 30 comments
trafficstars

在 prompt 里面填写了停顿和笑声的 shortcut,但是文本框那边还是要录入,不懂怎么工作,请指教。

ha7rock avatar May 30 '24 16:05 ha7rock

  1. 在文本框里, 想使用的地方使用笑声和停顿,
  2. prompt里填写 [oral_2][laugh_0][break_6]

https://github.com/2noise/ChatTTS?tab=readme-ov-file#advanced-usage

jianchang512 avatar May 30 '24 16:05 jianchang512

oral是口语化吗,感觉转换时会加一些口头语,是因为这个吗,是不是删了就和原文一模一样了?

Rayzhangxu avatar May 30 '24 17:05 Rayzhangxu

话说这个参数,[oral_2][laugh_0][break_6],有具体的设定值么。现在的ui版本中是不是文本框哪里需要加入[break][laugh]?感谢

flyfox666 avatar May 31 '24 04:05 flyfox666

如果需要笑声,就在文本框里加入,不需要就无需加

use oral_(0-9), laugh_(0-2), break_(0-7)

jianchang512 avatar May 31 '24 04:05 jianchang512

如果需要笑声,就在文本框里加入,不需要就无需加

use oral_(0-9), laugh_(0-2), break_(0-7)

为什么oral和laugh不起作用,而且,只有break会有效果,在它生效的同时,还会把这个参数当成文本给读出来。。。。。

cyberxsboy avatar Jun 04 '24 20:06 cyberxsboy

#86

jianchang512 avatar Jun 05 '24 01:06 jianchang512

谢谢大神的工作。我也是,用了各种prompt插入到文本里都不起作用,会把它们读出来

ddx2018 avatar Jun 05 '24 07:06 ddx2018

Prompt里插入 [oral_2][laugh_0][break_4] 没起作用啊 ,啥情况?

station19 avatar Jun 05 '24 07:06 station19

有些大神说是插入到文本当中,可我插入到文本当中只有一个能生效,但问题也来了:这些标签也会被读出来……

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年06月05日 15:44 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) |

Prompt里插入 [oral_2][laugh_0][break_4] 没起作用啊 ,啥情况?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

cyberxsboy avatar Jun 05 '24 07:06 cyberxsboy

Prompt 文本框里插入 [oral_2][laugh_0][break_4] 选择 跳过refine text 试试

jianchang512 avatar Jun 05 '24 08:06 jianchang512

试过,没用

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年06月05日 16:41 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) |

Prompt 文本框里插入 [oral_2][laugh_0][break_4] 选择 跳过refine text 试试

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

cyberxsboy avatar Jun 05 '24 08:06 cyberxsboy

Prompt 文本框里插入 [oral_2][laugh_0][break_4] 选择 跳过refine text 试试

我也试了没用

station19 avatar Jun 05 '24 08:06 station19

无效时的文本 和 prompt 各项配置截图上来看看

jianchang512 avatar Jun 05 '24 08:06 jianchang512

有什么好看的,都是用的默认参数,只把标签添加到文本当中而已。

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年06月05日 16:53 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) |

无效时的文本 和 prompt 各项配置截图上来看看

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

cyberxsboy avatar Jun 05 '24 09:06 cyberxsboy

下载 0.87 升级补丁包覆盖

jianchang512 avatar Jun 05 '24 10:06 jianchang512

下载 0.87 升级补丁包覆盖

啥补丁?在哪下?我现在用的就是v0.87

station19 avatar Jun 05 '24 10:06 station19

源码部署重新拉取

预打包版 https://github.com/jianchang512/ChatTTS-ui/releases/tag/v0.85 下载 50M的包

jianchang512 avatar Jun 05 '24 10:06 jianchang512

这个问题解决了吗?我前两天下载的main版本似乎没什么用。放在需要生成的文本上,他是直接读出来的 image

源码部署重新拉取

预打包版 https://github.com/jianchang512/ChatTTS-ui/releases/tag/v0.85 下载 50M的包

gushenjie avatar Aug 05 '24 06:08 gushenjie

文本里使用 [laugh] 你使用 [laugh_0] 是什么意思

jianchang512 avatar Aug 05 '24 06:08 jianchang512

文本里使用 [laugh] 你使用 [laugh_0] 是什么意思

image 我是看你prompt tips,还有你上面的回复及时,我换成了[laugh],第一次神奇的可以了,后面又不行了,其他[break]和[oral]都不行。我不知道这个prompt是这样填写,有问题么

image

gushenjie avatar Aug 05 '24 06:08 gushenjie

文本里使用 [laugh] 你使用 [laugh_0] 是什么意思

image 我是看你prompt tips,还有你上面的回复及时,我换成了[laugh],第一次神奇的可以了,后面又不行了,其他[break]和[oral]都不行。我不知道这个prompt是这样填写,有问题么

image

image

gushenjie avatar Aug 05 '24 06:08 gushenjie

与这里无关,换成一致也没有效果

---- 回复的原邮件 ---- | 发件人 | Nydia @.> | | 日期 | 2024年08月05日 14:46 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) |

文本里使用 [laugh] 你使用 [laugh_0] 是什么意思

image.png (view on web) 我是看你prompt tips,还有你上面的回复及时,我换成了[laugh],第一次神奇的可以了,后面又不行了,其他[break]和[oral]都不行。我不知道这个prompt是这样填写,有问题么

image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

cyberxsboy avatar Aug 05 '24 06:08 cyberxsboy

prompt里使用的和文本里使用的不是一回事。

上文文本里能够使用的只有 [laugh] [uv_break] [lbreak] 这3个

jianchang512 avatar Aug 05 '24 06:08 jianchang512

prompt里使用的和文本里使用的不是一回事。

这个怎么用?是填入过后,ai来自己判断?不需要人为的标识?

gushenjie avatar Aug 05 '24 07:08 gushenjie

prompt里使用的和文本里使用的不是一回事。

这个怎么用?是填入过后,ai来自己判断?不需要人为的标识?

[lbreak] and [uv_break] 有什么区别? 是不是lbreak停顿的长一点,uv停顿的短一些,另外这个laugh,和发音人有关系么?有些声音识别不了

gushenjie avatar Aug 05 '24 07:08 gushenjie

如果选中“跳过refine text” 则不会自动加入,需要在待合成文本中手动插入[laugh] [uv_break]等 如果未选中,则会自动插入,无需手动合成。

不过自动插入效果可能不是太好。

这个就是文字合成语音功能,哪里需要识别?

jianchang512 avatar Aug 05 '24 07:08 jianchang512

明白了,感谢耐心指导

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: okmyworld @.> 发送时间: 2024年8月5日 15:29 收件人: jianchang512/ChatTTS-ui @.> 抄送: Nydia Wilde @.>, Comment @.> 主题: Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5)

如果选中“跳过refine text” 则不会自动加入,需要在待合成文本中手动插入[laugh] [uv_break]等 如果未选中,则会自动插入,无需手动合成。

不过自动插入效果可能不是太好。

这个就是文字合成语音功能,哪里需要识别?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

gushenjie avatar Aug 05 '24 07:08 gushenjie

可它会把手动插入的标识用英文读出来

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年08月05日 15:29 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) |

如果选中“跳过refine text” 则不会自动加入,需要在待合成文本中手动插入[laugh] [uv_break]等 如果未选中,则会自动插入,无需手动合成。

不过自动插入效果可能不是太好。

这个就是文字合成语音功能,哪里需要识别?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

cyberxsboy avatar Aug 05 '24 07:08 cyberxsboy

可它会把手动插入的标识用英文读出来 ---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年08月05日 15:29 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) | 如果选中“跳过refine text” 则不会自动加入,需要在待合成文本中手动插入[laugh] [uv_break]等 如果未选中,则会自动插入,无需手动合成。 不过自动插入效果可能不是太好。 这个就是文字合成语音功能,哪里需要识别? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

更新到最新的 0.98 版本,文本内容里只插入 [laugh] [uv_break] ,并不会读出来。

jianchang512 avatar Aug 05 '24 08:08 jianchang512