最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

audio - Speed up calculating peak volume of PCM samples - Stack Overflow

programmeradmin4浏览0评论

Within software I've written, I'm currently testing every single sample to get the peak volume of music files, but that is slow for a large file and I don't think necessary. Can I cheat and only check every 100th sample (for example) to get a close approximation of the peak volume. 100% accuracy is not required. My thinking is a loud tone that is audible to humans would be longer than 100 samples at 48000 samples per second. Am I correct?

发布评论

评论列表(0)

  1. 暂无评论