-
Notifications
You must be signed in to change notification settings - Fork 125
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
怎么样可以将pcm中的所有音频都自动切割好? #3
Comments
把common.h中的FILE_CUT_MAX_MS (10*1000)就是10秒我记得,因为在src/main.c中把16k_1.pcm写死了,改filename这个变量就好了。 |
对的,我后来也看到了,但是想批量读取文件夹中的pcm文件,你知道怎么修改吗? |
我在邮件给您回复了 |
嗯嗯,收到了 |
在src的main.c文件中改成下面的程序即可:
然后如果是要对切割好的音频语音识别按顺序保存的话,可以在src文件夹中的file_cut.c中修改这一部分:
|
请问能不能给我修改后的完整代码 |
你好,请问一下,如何把pcm文件夹中的所有音频都按照10s左右的时长切割好?运行后只是把16k_1的pcm程序切割完毕了
The text was updated successfully, but these errors were encountered: