A MATLAB implementation of a sinusoidal codec.