|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectframed.DCT
public class DCT
Constructor Summary | |
---|---|
DCT(FrameSource source,
boolean scale)
Construct a new FFT object. |
|
DCT(FrameSource source,
boolean scale,
boolean computeShortTimeEnergy)
|
Method Summary | |
---|---|
int |
getFrameSize()
Return the length of the frames (needed for the read call) |
boolean |
read(double[] buf)
Read the next frame and apply DCT. |
java.lang.String |
toString()
Return a String representation of the FrameSource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DCT(FrameSource source, boolean scale)
public DCT(FrameSource source, boolean scale, boolean computeShortTimeEnergy)
Method Detail |
---|
public int getFrameSize()
FrameSource
getFrameSize
in interface FrameSource
public boolean read(double[] buf) throws java.io.IOException
read
in interface FrameSource
buf
- buffer to save the frame; implementing objects may depend
on a constant dimensionduring subsequent calls
java.io.IOException
public java.lang.String toString()
FrameSource
toString
in interface FrameSource
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |