Class SpectralFeaturePipelines.MagnitudesSumFunction<T extends AudioBuffer>
- java.lang.Object
-
- com.tagtraum.audiokern.audioprocessor.SpectralFeaturePipelines.MagnitudesSumFunction<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
AggregateFunction<List<T>,T>
- Enclosing class:
- SpectralFeaturePipelines
public static class SpectralFeaturePipelines.MagnitudesSumFunction<T extends AudioBuffer> extends Object implements AggregateFunction<List<T>,T>
Aggregate function that joins multiple buffers by adding up their magnitudes, index by index. E.g. this lets you add up multipleMultiBandSpectrum
into a single one.
-
-
Constructor Summary
Constructors Constructor Description MagnitudesSumFunction()
-
-
-
Method Detail
-
aggregate
public T aggregate(List<T> buffers)
- Specified by:
aggregate
in interfaceAggregateFunction<List<T extends AudioBuffer>,T extends AudioBuffer>
-
-