- Just Truncate. Ignore the least significant bits and chop them off.
- Apply Dithering. You still truncate the signal, but you also add some "random" noise at the base. For audio, this is a common operation because it helps reduce the perceived degradation from losing those bottom bits. There's a number of algorithms to do this, and they involve intelligently adding noise at the bottom bit levels of the signal. See the wikipedia article for more info: https://en.wikipedia.org/wiki/Dither
Convert wav file from 16 bit to 8 bit
19 次查看(过去 30 天)
显示 更早的评论
I read file wav in 16 bit How covert wav to 8 bit depth
1 个评论
Peter O
2020-8-29
编辑:Peter O
2020-8-29
Be aware that an 8-bit audio signal will not sound great. There's a couple methods:
采纳的回答
Ameer Hamza
2020-8-29
Specify the bit per sample option to the audiowrite function. For example
[y, Fs] = audioread('handel.wav');
audiowrite('handle2.wav', y, Fs, 'BitsPerSample', 8);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!