


% -*- texinfo -*-
% @deftypefn {Function File} {@var{y} =} wavread (@var{filename})
% Load the RIFF/WAVE sound file @var{filename}, and return the samples
% in vector @var{y}. If the file contains multichannel data, then
% @var{y} is a matrix with the channels represented as columns.
%
% @deftypefnx {Function File} {[@var{y}, @var{Fs}, @var{bits}] =} wavread (@var{filename})
% Additionally return the sample rate (@var{fs}) in Hz and the number of bits
% per sample (@var{bits}).
%
% @deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n})
% Read only the first @var{n} samples from each channel.
%
% @deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename},[@var{n1} @var{n2}])
% Read only samples @var{n1} through @var{n2} from each channel.
%
% @deftypefnx {Function File} {[@var{samples}, @var{channels}] =} wavread (@var{filename}, 'size')
% Return the number of samples (@var{n}) and channels (@var{ch})
% instead of the audio data.
% @seealso{wavwrite}
% @end deftypefn