Class Max1NormMean<T extends AudioSpectrum>
- java.lang.Object
-
- com.tagtraum.audiokern.audioprocessor.Max1NormMean<T>
-
- All Implemented Interfaces:
SignalProcessor<T,float[]>
public class Max1NormMean<T extends AudioSpectrum> extends Object implements SignalProcessor<T,float[]>
Max1Norm mean.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description Max1NormMean(Object id, int dim)
Max1NormMean(Object id, int offset, int dim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <O2> SignalProcessor<float[],O2>
connectTo(SignalProcessor<float[],O2> signalProcessor)
<O2> SignalProcessor<float[],O2>
disconnectFrom(SignalProcessor<float[],O2> signalProcessor)
boolean
equals(Object o)
void
flush()
SignalProcessor<float[],?>[]
getConnectedProcessors()
Object
getId()
float[]
getOutput()
int
hashCode()
void
process(AudioSpectrum audioSpectrum)
String
toString()
-
-
-
Method Detail
-
process
public void process(AudioSpectrum audioSpectrum) throws IOException
- Specified by:
process
in interfaceSignalProcessor<T extends AudioSpectrum,float[]>
- Throws:
IOException
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceSignalProcessor<T extends AudioSpectrum,float[]>
- Throws:
IOException
-
getOutput
public float[] getOutput() throws IOException
- Specified by:
getOutput
in interfaceSignalProcessor<T extends AudioSpectrum,float[]>
- Throws:
IOException
-
getId
public Object getId()
- Specified by:
getId
in interfaceSignalProcessor<T extends AudioSpectrum,float[]>
-
connectTo
public <O2> SignalProcessor<float[],O2> connectTo(SignalProcessor<float[],O2> signalProcessor)
- Specified by:
connectTo
in interfaceSignalProcessor<T extends AudioSpectrum,float[]>
-
disconnectFrom
public <O2> SignalProcessor<float[],O2> disconnectFrom(SignalProcessor<float[],O2> signalProcessor)
- Specified by:
disconnectFrom
in interfaceSignalProcessor<T extends AudioSpectrum,float[]>
-
getConnectedProcessors
public SignalProcessor<float[],?>[] getConnectedProcessors()
- Specified by:
getConnectedProcessors
in interfaceSignalProcessor<T extends AudioSpectrum,float[]>
-
-