WAVREAD which read single datas

Version 1.0.0.0 (25.5 KB) by Ivan
Reading sound data into single (4-Bytes) array.
1.5K Downloads
Updated 21 Mar 2014

View License

Usual WAVREAD saves data from a file into 8-Bytes array (each element take 8 Bytes of memory space), however the Standard of WAV sound file format supposes maximum 4 Bytes for each data sample.
It becomes important if you must read long-time sound files (e.g. 5 or 6 hours sound record). It will save about 50% of memory space (and may take 8-10 GB instead 20-22 GB).
You may replace original WAVREAD function (it is the same) or rename this.

Cite As

Ivan (2026). WAVREAD which read single datas (https://uk.mathworks.com/matlabcentral/fileexchange/45978-wavread-which-read-single-datas), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0.0