%% Play Sample Data with Specific Bit Depth  

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

%%
% MATLAB(R) plays the scaled audio with a bit depth of 16 bits per sample.   



%% 
% Copyright 2012 The MathWorks, Inc.