Package | Description |
---|---|
be.tarsos.util.histogram |
Histogram and histogram correlation classes.
|
be.tarsos.util.histogram.peaks |
Peak extraction from histograms.
|
Modifier and Type | Method and Description |
---|---|
static void |
PitchClassHistogram.exportPeaksToScalaFileFormat(java.lang.String fileName,
java.lang.String toneScaleName,
java.util.List<Peak> peaks)
Saves the scale in the Scala scale
file format:
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Peak> |
PeakDetector.detect(Histogram histogram) |
static java.util.List<Peak> |
PeakDetector.detect(Histogram histogram,
int windowSize,
int thresholdFactor) |
java.util.List<Peak> |
PeakDetector.PeakDetectionStrategy.detect(Histogram histogram,
int windowSize,
int thresholdFactor) |
static java.util.List<Peak> |
PeakDetector.detectNumberOfPeaks(Histogram histogram,
int numberOfPeaks)
Finds the requested number of (most salient) peaks in the histogram.
|
Modifier and Type | Method and Description |
---|---|
int |
Peak.compareTo(Peak o) |
Modifier and Type | Method and Description |
---|---|
static Histogram |
PeakDetector.newPeakDetection(java.util.List<Peak> peaks)
Create a histogram with peak information.
|