Skip to content
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

example里的chinese_tts播放有奇怪的尾音 (AIS-1697) #140

Open
ysni opened this issue Sep 3, 2024 · 5 comments
Open

example里的chinese_tts播放有奇怪的尾音 (AIS-1697) #140

ysni opened this issue Sep 3, 2024 · 5 comments

Comments

@ysni
Copy link

ysni commented Sep 3, 2024

按readme说明编译烧录到esp32s3-korvo-2板子上后,播放完语句会出现哒哒哒哒的不间断声音,是什么问题呢

@github-actions github-actions bot changed the title example里的chinese_tts播放有奇怪的尾音 example里的chinese_tts播放有奇怪的尾音 (AIS-1697) Sep 3, 2024
@sun-xiangyu
Copy link
Contributor

可以试试在播放完成后添加
i2s_zero_dma_buffer(0)

@ysni
Copy link
Author

ysni commented Sep 3, 2024

可以试试在播放完成后添加 i2s_zero_dma_buffer(0)

会报错,版本冲突了i2s(legacy): CONFLICT! The new i2s driver can't work along with the legacy i2s driver,我的是idf5.0.6

@ysni
Copy link
Author

ysni commented Sep 3, 2024

可以试试在播放完成后添加 i2s_zero_dma_buffer(0)

会报错,版本冲突了i2s(legacy): CONFLICT! The new i2s driver can't work along with the legacy i2s driver,我的是idf5.0.6

这里用到是skainet里封装的esp_audio_play,不是adf框架里的esp_audio_play打开语音,不能用adf里的esp_audio_stop来关掉语音

@sun-xiangyu
Copy link
Contributor

可以试试在播放完成后添加 i2s_zero_dma_buffer(0)

会报错,版本冲突了i2s(legacy): CONFLICT! The new i2s driver can't work along with the legacy i2s driver,我的是idf5.0.6

你也可以试一下下面的方法,直接在结构体中设置 auto_clear = true

你上面的报错应该是 I2S 新旧版本互用产生的

@sun-xiangyu
Copy link
Contributor

可以试试在播放完成后添加 i2s_zero_dma_buffer(0)

会报错,版本冲突了i2s(legacy): CONFLICT! The new i2s driver can't work along with the legacy i2s driver,我的是idf5.0.6

这里用到是skainet里封装的esp_audio_play,不是adf框架里的esp_audio_play打开语音,不能用adf里的esp_audio_stop来关掉语音

是的,esp-skainet 里没有 esp_audio_stop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants