%% Play Sample Data with Specific Bit Depth  

%%  
load handel.mat;
nBits = 16;
sound(y,Fs,nBits); 

%%
% MATLAB(R) plays the audio with a bit depth of 16 bits per sample, if this
% is supported on your system.   



%% 
% Copyright 2012 The MathWorks, Inc.