|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ocvolume.audio.objSound
last modified: June 13, 2002
description: combine several 100ms frames
calls: none
called by: micInput
input: speech signal
output: speech signal
Constructor Summary | |
objSound(int totalSample)
constructor to create a new short array calls: none called by: volume |
Method Summary | |
void |
addSound(short[] sample,
int sampleLength)
combining samples calls: none called by: volume |
short[] |
getSound()
return speech signal calls: none called by: volume |
short |
getSoundAt(int IndexNum)
return speech signal with a given time(index) calls: none called by: volume |
int |
getSoundSize()
return the signal calls: none called by: volume |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public objSound(int totalSample)
totalSample
- length of short arrayMethod Detail |
public void addSound(short[] sample, int sampleLength)
sample
- speech signalsampleLength
- speech signal lengthpublic short getSoundAt(int IndexNum)
IndexNum
- time/index
public int getSoundSize()
public short[] getSound()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |