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

空白音频 #257

Open
MoonS11 opened this issue Dec 17, 2024 · 1 comment
Open

空白音频 #257

MoonS11 opened this issue Dec 17, 2024 · 1 comment

Comments

@MoonS11
Copy link

MoonS11 commented Dec 17, 2024

如果 录音过程中出现空白音频该怎么判断,是通过,声音的响度去判断吗。就像微信那样,声音过小发不出去

@xiangyuecn
Copy link
Owner

得判断录音中有没有说话,简单点是可以判断音量,onProcess里面实时检测 持续多久并且音量高于多少就判断为有说话,这个实现比较简单,不过准确度一般

正规点的用vad检测,比较复杂

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