减少WAV声音文件的大小,而不会降低质量 [英] Reducing WAV sound file size, without losing quality
本文介绍了减少WAV声音文件的大小,而不会降低质量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的应用程序需要播放声音文件.我唯一可以使用的跨平台文件格式是WAVE(我正在使用 QSound ).
My application needs to play sound files. The only cross-platform file format I can use is WAVE (I'm using QSound of the Qt framework).
这些声音的文件大小很大,我想知道是否有一种减小声音的方法,而不会损失(太多)质量.
The file sizes of these sounds are quite large and I'd like to know if there is a way to reduce it, without losing (too much) quality.
我需要立体声的文件.
推荐答案
您可以压缩它们(使用zlib或类似的东西),然后根据需要解压缩它们.如果您有很多分钟的连续波形,可能值得研究诸如FLAC之类的音频特定的无损压缩算法.
You can zip them (using zlib or similar), then uncompress them on demand. If you've got many minutes of continuous wav it may be worth looking into audio-specific lossless compression algorithms like FLAC.
这篇关于减少WAV声音文件的大小,而不会降低质量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文