Package | Description |
---|---|
be.tarsos.ui.pitch.ph | |
be.tarsos.util |
Utility classes for string handling, logging, configuration, some DSP tasks.
|
be.tarsos.util.histogram |
Histogram and histogram correlation classes.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<PitchDetectionMode,KernelDensityEstimate> |
KDEData.getKDEs() |
Modifier and Type | Method and Description |
---|---|
KernelDensityEstimate |
KernelDensityEstimate.map(int size)
Map the kernel density estimate to another size.
|
Modifier and Type | Method and Description |
---|---|
void |
KernelDensityEstimate.add(KernelDensityEstimate other)
Adds a KDE to this accumulator
|
double |
KernelDensityEstimate.correlation(KernelDensityEstimate other,
int positionsToShiftOther)
Calculate a correlation with another KernelDensityEstimate.
|
double |
KernelDensityEstimate.KDECorrelation.correlation(KernelDensityEstimate first,
KernelDensityEstimate other,
int shift) |
double |
KernelDensityEstimate.Overlap.correlation(KernelDensityEstimate first,
KernelDensityEstimate other,
int shift) |
double |
KernelDensityEstimate.Cosine.correlation(KernelDensityEstimate first,
KernelDensityEstimate other,
int shift) |
void |
KernelDensityEstimate.max(KernelDensityEstimate other)
Takes the maximum of the value in the accumulator for two kde's.
|
double |
KernelDensityEstimate.optimalCorrelation(KernelDensityEstimate.KDECorrelation correlationMeasure,
KernelDensityEstimate other)
Calculates the optimal correlation between two Kernel Density Estimates
by shifting and searching for optimal correlation.
|
double |
KernelDensityEstimate.optimalCorrelation(KernelDensityEstimate other)
Calculates the optimal correlation between two Kernel Density Estimates
by shifting and searching for optimal correlation.
|
int |
KernelDensityEstimate.shiftForOptimalCorrelation(KernelDensityEstimate.KDECorrelation correlationMeasure,
KernelDensityEstimate other)
Calculates how much the other KernelDensityEstimate needs to be shifted
for optimal correlation.
|
int |
KernelDensityEstimate.shiftForOptimalCorrelation(KernelDensityEstimate other)
Calculates how much the other KernelDensityEstimate needs to be shifted
for optimal correlation.
|
Modifier and Type | Method and Description |
---|---|
static KernelDensityEstimate |
HistogramFactory.createPichClassKDE(java.util.List<Annotation> annotations,
double width)
Creates a pitch class
KernelDensityEstimate for a list of annotations. |
static KernelDensityEstimate |
HistogramFactory.createPichClassKDE(java.util.List<Annotation> annotations,
double width,
double windowDuration)
Creates a pitch class
KernelDensityEstimate for a list of pitches
defined by the annotations. |
static KernelDensityEstimate |
HistogramFactory.createPichClassKDE(ScalaFile scalaFile,
double width)
Creates a pitch class
KernelDensityEstimate for a list of pitches
defined by a Scala file. |
Modifier and Type | Method and Description |
---|---|
static PitchClassHistogram |
HistogramFactory.createPitchClassHistogram(KernelDensityEstimate kde)
Creates a pitch class histogram directly from a list of annotations (without kernels).
|