- 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
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Esraa abd Altoni
am 29 Aug. 2020
Kommentiert: Esraa abd Altoni
am 1 Sep. 2020
I read file wav in 16 bit How covert wav to 8 bit depth
1 Kommentar
Peter O
am 29 Aug. 2020
Bearbeitet: Peter O
am 29 Aug. 2020
Be aware that an 8-bit audio signal will not sound great. There's a couple methods:
Akzeptierte Antwort
Ameer Hamza
am 29 Aug. 2020
Specify the bit per sample option to the audiowrite function. For example
[y, Fs] = audioread('handel.wav');
audiowrite('handle2.wav', y, Fs, 'BitsPerSample', 8);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!