Skip to content

生成的文件格式可以设置吗?比如wav #3

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

Open
KilOL opened this issue Apr 12, 2025 · 1 comment
Open

生成的文件格式可以设置吗?比如wav #3

KilOL opened this issue Apr 12, 2025 · 1 comment

Comments

@KilOL
Copy link

KilOL commented Apr 12, 2025

No description provided.

@cosin2077
Copy link
Owner

目前还不支持,但你可以修改源码的 outputFormat

outputFormat = 'audio-24khz-48kbitrate-mono-mp3',

修改成下边任何一个,都是 wav 格式。

riff-16khz-16bit-mono-pcm
riff-8khz-16bit-mono-pcm
riff-24khz-16bit-mono-pcm
raw-16khz-16bit-mono-pcm
raw-24khz-16bit-mono-pcm
raw-8khz-16bit-mono-pcm
raw-48khz-16bit-mono-pcm
riff-48khz-16bit-mono-pcm
raw-22050hz-16bit-mono-pcm
riff-22050hz-16bit-mono-pcm
raw-44100hz-16bit-mono-pcm
riff-44100hz-16bit-mono-pcm

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