decodeALaw.m

Function for decoding A-Law encoded audio
233 Downloads
Updated 3 Jul 2014

View License

This function takes a stream of A-Law (G.711 standard) encoded audio and expands it to a regular 16-bit audio stream. Specifically, it works well with the audio found in the SpeechDat dataset.

It's really just an implementation of the pseudo C-code found on the Wikipedia [1] article for G.711.

[1] http://en.wikipedia.org/wiki/G.711#A-Law

Cite As

Alexander Solsmed (2026). decodeALaw.m (https://www.mathworks.com/matlabcentral/fileexchange/47131-decodealaw-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Audio I/O and Waveform Generation in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0