% produce WAV test files with all sample values (MATLAB)
for bits = [8 16 24]
    r = -pow2(bits-1):(pow2(bits-1)-1);
    r = double(r) / pow2(bits-1);
    wavwrite(r, 8000, bits, sprintf('rangetest-%d-bits.wav', bits));
end
