public class WavWriter extends Object
| Constructor and Description |
|---|
WavWriter() |
public void export(String fileName, int sampleRate, short[] samples) throws IOException
fileName - The name of the wav file.sampleRate - The sample rate.samples - The array of short samples.IOException - IOExceptionpublic void export(String fileName, int sampleRate, byte[] samples) throws IOException
fileName - The name of the wav file.sampleRate - The sample rate.samples - The array of short samples, given as a byte array (with low and hi bytes separated).IOException - IOExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.