简体   繁体   English

每分钟iOS录音大小

[英]iOS Audio Recording Size per Minute

A very high level question. 一个非常高水平的问题。 I'm investigating the possibility of an app that would do 2-3 hr audio recordings at a time. 我正在研究一个应用程序一次可以进行2-3小时录音的可能性。

Does anyone know an proximate minute per MB rate for low (voice quality) level recordings? 有人知道低(语音质量)级别的记录每MB速率接近一分钟吗? Now I know this can depend on lots of factors but I'm just looking for an approximate figure to see how feasible this can be for something 2-3 hrs long. 现在,我知道这可能取决于很多因素,但我只是在寻找一个大概的数字,以了解这种情况在2-3小时的时间内是多么可行。

Thanks! 谢谢!

At CD quality (44.1k Samples/per second) for a single channel you get 158.76 M samples for a 1 hour stretch. 以单个通道的CD质量(每秒44.1k个样本),您可以在1小时的拉伸中获得158.76 M个样本。 Multiply that by the sample size (say a 16 bit int) and you get 317.52 MB per hour per channel. 将其乘以样本大小(例如16位int),则每个通道每小时可获得317.52 MB。 This is worst case, and I bet you could implement compression to reduce the physical size. 这是最坏的情况,我敢打赌,您可以实施压缩以减小物理尺寸。

See SO questions like how-to-record-voice-with-an-ipad 看到诸如如何用ipad录制声音的问题

Here are the results for few encoding supported by iPhone. 以下是iPhone支持的几种编码的结果。 Size of audio file in KB of duration 10 sec. 持续10秒的音频文件大小,以KB为单位。 kAudioFormatMPEG4AAC : 164, kAudioFormatAppleLossless : 430, kAudioFormatAppleIMA4 : 475, kAudioFormatULaw : 889, kAudioFormatALaw : 889, Among these kAudioFormatMPEG4AAC is having smallest size kAudioFormatMPEG4AAC:164,kAudioFormatAppleLossless:430,kAudioFormatAppleIMA4:475,kAudioFormatULaw:889,kAudioFormatALaw:889,其中,kAudioFormatMPEG4AAC具有最小的尺寸

This answer I get from website. 我从网站上得到的答案。 Just for your reference. 仅供参考。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM