Package be.panako.strategy.olaf
Class OlafEventPointProcessor
java.lang.Object
be.panako.strategy.olaf.OlafEventPointProcessor
- All Implemented Interfaces:
be.tarsos.dsp.AudioProcessor
public class OlafEventPointProcessor
extends java.lang.Object
implements be.tarsos.dsp.AudioProcessor
-
Constructor Summary
Constructors Constructor Description OlafEventPointProcessor(int fftSize) -
Method Summary
Modifier and Type Method Description java.util.List<OlafEventPoint>getEventPoints()java.util.List<OlafFingerprint>getFingerprints()float[]getMagnitudes()booleanprocess(be.tarsos.dsp.AudioEvent audioEvent)voidprocessingFinished()voidreset()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OlafEventPointProcessor
public OlafEventPointProcessor(int fftSize)
-
-
Method Details
-
process
public boolean process(be.tarsos.dsp.AudioEvent audioEvent)- Specified by:
processin interfacebe.tarsos.dsp.AudioProcessor
-
getMagnitudes
public float[] getMagnitudes() -
processingFinished
public void processingFinished()- Specified by:
processingFinishedin interfacebe.tarsos.dsp.AudioProcessor
-
getFingerprints
-
getEventPoints
-
reset
public void reset()
-