Class AudioSpectrumFunctions.AudioSpectrumAveraging
- java.lang.Object
-
- com.tagtraum.audiokern.audioprocessor.AudioSpectrumFunctions.AudioSpectrumAveraging
-
- All Implemented Interfaces:
MapFunction<AudioSpectrum>
- Enclosing class:
- AudioSpectrumFunctions
public static class AudioSpectrumFunctions.AudioSpectrumAveraging extends Object implements MapFunction<AudioSpectrum>
Effectively combining every three bins in a row into a single bins containing the weighted average.
-
-
Constructor Summary
Constructors Constructor Description AudioSpectrumAveraging(float shoulderFactor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
AudioSpectrum
map(AudioSpectrum spectrum)
String
toString()
-
-
-
Method Detail
-
map
public AudioSpectrum map(AudioSpectrum spectrum)
- Specified by:
map
in interfaceMapFunction<AudioSpectrum>
-
-