- 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
조회 수: 15 (최근 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!