function SndTest
% SndTest alternately plays the same sound (someone saying "why") 
% with 8 or 16 bit encoding, to allow you the hear the difference, 
% which is a faint hiss produced by the coarse 8-bit quantization.

% 1/8/00  Lu Lesmes, lesmes@usc.edu, wrote it.
% 1/30/00 dgp cosmetic editing
% 4/24/02 awi Exit on Win with message.
% 5/30/02 awi Restore for Win.  Cosmetic.    


[y,rate,bits]=wavread('SndTest.wav');
for i=1:6
% 	sound(y,FS,16)
	Snd('Play',y',rate,16);
	Snd('Wait');
%	sound(y,FS,8)
	Snd('Play',y',rate,8);
	Snd('Wait');
end

