gpt4 book ai didi

android - 使用 sox for android 创建小型短音频文件

转载 作者:行者123 更新时间:2023-11-29 00:12:48 31 4
gpt4 key购买 nike

我通过 sox 为我的 android 应用程序创建了大约 1000 个音频文件,每个文件都包含一个单词的录音。为了节省空间,我希望文件大小尽可能小。

我应该使用 .mp3 还是 .ogg?我应该使用哪些设置?

最佳答案

你在 SO Smallest audio file: MP3, Ogg, or Wav? 上检查过这个问题了吗? ?

@keyboardP 说:

Of those three, Ogg would usually be smaller than MP3. Both would be much smaller than the uncompressed WAV. Of course, there may be other factors that come into play for your site such as quality (not too much of a noticeable difference for most purposes) and browser support for each type.

The file size will only affect the time it takes to download the file to the user's machine. It won't necessarily determine Javascript execution speed. There may be other things in your code causing the performance drops (unless you've narrowed it down to the file size of the audio files).

关于android - 使用 sox for android 创建小型短音频文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28970927/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com