格式化大量音频文件的最有效方法 [英] Most efficient way to format a large amount of audio files

查看:54
本文介绍了格式化大量音频文件的最有效方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发一个包含60-120分钟左右的大量音频的应用程序.大多数语音音频文件.我的问题确实是存储它们的最佳方法是什么.例如,一个大文件,单独的音频文件,按需下载的缓存文件.

I am currently developing an app that will contain large amounts of audio, around 60-120 minutes. Most voice audio files. My question is really what is the best way to go about storing them. For example, one single large file, separate audio files, download-as-needed cache files.

对文件格式有何建议?

推荐答案

这些是由iPhone硬件解码的音频格式应该消耗最少的力量.

These are the audio formats decoded by iPhone hardware that should take the least power to play.

其他iPhone OS音频格式使用硬件编解码器进行播放.这些格式是:

Other iPhone OS audio formats employ a hardware codec for playback. These formats are:

  • AAC
  • ALAC(无损苹果)
  • MP3

是否随应用程序一起分发音频或单独分发音频取决于使用情况.如果您可以合理地期望用户依次浏览材料,则可能希望允许用户分部分下载或流传输音频,以节省用户设备上的空间,而如果音频是随机访问的,则您可以d可能希望将其全部保存在设备上.

Whether to have the audio distributed with the app or separately would depend on the use. If you could reasonably expect the user to go through the material sequentially, you may want to allow the user to download part by part or stream the audio to let them conserve space on their device, while if the audio is more random access, you'd probably want it all on the device.

这篇关于格式化大量音频文件的最有效方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆