public final class PitchHistogram extends Histogram
| Constructor and Description |
|---|
PitchHistogram() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
createAccumulator(java.util.List<Annotation> annotations,
double width) |
static PitchHistogram |
createPitchHistogram(java.util.List<Annotation> annotations,
double width)
Create a tone scale histogram using a kernel instead of an ordinary
count.
|
PitchClassHistogram |
mostEnergyRichOctaves(int numberOfOctaves) |
PitchClassHistogram |
mostEnergyRitchOctave() |
PitchClassHistogram |
pitchClassHistogram() |
void |
valueAddedHook(double value)
A hook to intercept added values.
|
add, add, add, addToEachBin, baselineHistogram, clear, clone, correlation, correlation, correlationWithDisplacement, correlationWithDisplacement, displace, displacementForOptimalCorrelation, displacementForOptimalCorrelation, export, exportMatLab, gaussianSmooth, getAbsoluteSumFreq, getClassWidth, getCount, getCountForClass, getCumFreq, getCumPct, getEntropy, getKeyForClass, getMaxBinCount, getMean, getMedian, getNumberOfClasses, getPct, getStart, getStop, getSumFreq, invert, isWrapped, keySet, max, mean, multiply, normalize, raise, setCount, smooth, subtract, toString, toStringpublic void valueAddedHook(double value)
HistogramvalueAddedHook in class Histogramvalue - The value addedpublic PitchClassHistogram mostEnergyRichOctaves(int numberOfOctaves)
numberOfOctaves - The number of energy rich octavespublic PitchClassHistogram pitchClassHistogram()
public PitchClassHistogram mostEnergyRitchOctave()
public static PitchHistogram createPitchHistogram(java.util.List<Annotation> annotations, double width)
annotations - A list of annotations.swidth - The width of each kernel.public static double[] createAccumulator(java.util.List<Annotation> annotations, double width)