Package com.tagtraum.audiokern.math
Interface Peaks.PeakPicker<T extends Peaks.Peak>
-
- Enclosing class:
- Peaks
public static interface Peaks.PeakPicker<T extends Peaks.Peak>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T[]
findPeaks(float[] data)
Finds peaks in the given data array.T[]
findPeaks(float[] data, int offset, int length)
Finds peaks in the given data array-region.
-
-
-
Method Detail
-
findPeaks
T[] findPeaks(float[] data, int offset, int length)
Finds peaks in the given data array-region.- Parameters:
data
- dataoffset
- offset into data arraylength
- length of array part to process- Returns:
- peak indexes
-
findPeaks
T[] findPeaks(float[] data)
Finds peaks in the given data array.- Parameters:
data
- data- Returns:
- peak indexes
-
-