Package wavFiles
Class WavFileReader
java.lang.Object
wavFiles.WavFile
wavFiles.WavFileReader
- 
Field Summary
Fields inherited from class wavFiles.WavFile
byteConverter, currentFormat, fileMode, fileName, wavHeader, windowsFile - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class wavFiles.WavFile
close, finalize, getCurrentFormat, getFileName, getWavHeader, positionAtData, readWavHeader, reportError, setPosition 
- 
Constructor Details
- 
WavFileReader
 
 - 
 - 
Method Details
- 
readData
public int readData(double[][] doubleData) Read data into a preallocated double array. The array should be 2 D, with the first dim being the number of channels, the second the number of samples to read.- Parameters:
 doubleArray- double array to receive data- Returns:
 - number of samples read (should be doubleArray[0].length if no EOF)
 
 - 
readData
public int readData(short[][] shortArray) Read data into a preallocated double array. The array should be 2 D, with the first dim being the number of channels, the second the number of samples to read.- Parameters:
 doubleArray- double array to receive data- Returns:
 - number of samples read (should be doubleArray[0].length if no EOF)
 
 
 -