Load the RIFF/WAVE sound file filename, and return the samples in vector y. If the file contains multichannel data, then y is a matrix with the channels represented as columns. — Function File: [y, Fs, bits] = wavread (filename)
Additionally return the sample rate (fs) in Hz and the number of bits per sample (bits). — Function File: [...] = wavread (filename, n)
Read only the first n samples from each channel. — Function File: [...] = wavread (filename,[n1 n2])
Read only samples n1 through n2 from each channel. — Function File: [samples, channels] = wavread (filename, "size")
Return the number of samples (n) and channels (ch) instead of the audio data.
See also: wavwrite