|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ocvolume.wav.waveIO
last modified: June 15, 2002
description: input and output to a wave file
calls: none
called: tarin
input: speech signal, path
output: none
Constructor Summary | |
waveIO()
|
Method Summary | |
static short[] |
readWave(java.lang.String path)
loading wave file calls: none called by: train |
static void |
writeWave(short[] sample,
java.lang.String path)
write to wave file calls: none called by: train |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public waveIO()
Method Detail |
public static void writeWave(short[] sample, java.lang.String path)
sample
- the data in 16bits integer (short) arraypath
- the save locationpublic static short[] readWave(java.lang.String path)
path
- of the input wave file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |