|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectframed.FFT
public class FFT
Constructor Summary | |
---|---|
FFT(FrameSource source)
Construct a new FFT object. |
|
FFT(FrameSource source,
boolean pad)
Construct a new FFT object. |
Method Summary | |
---|---|
int |
getFrameSize()
Return the length of the frames (needed for the read call) |
static void |
main(java.lang.String[] args)
|
boolean |
read(double[] buf)
Read the next frame and apply FFT. |
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 FFT(FrameSource source)
source
- FrameSource to read frompublic FFT(FrameSource source, boolean pad)
source
- FrameSource to read fromMethod Detail |
---|
public int getFrameSize()
FrameSource
getFrameSize
in interface FrameSource
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
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 |