Histogram Config
data class HistogramConfig(val numBins: Int? = null, val density: Boolean = true, val foldOctaves: Boolean = false, val mode: HistogramMode = HistogramMode.DURATION, val smoothSigma: Float? = 5.0f)
Configuration for pitch histogram computation.
See also
Pitch Analysis. compute Histogram
Constructors
Link copied to clipboard
constructor(numBins: Int? = null, density: Boolean = true, foldOctaves: Boolean = false, mode: HistogramMode = HistogramMode.DURATION, smoothSigma: Float? = 5.0f)
Types
Properties
Link copied to clipboard
If true, fold all pitches into a single octave (0–1200 cents).
Link copied to clipboard
Bin weighting: HistogramMode.DURATION or HistogramMode.INSTANCE_COUNT.
Link copied to clipboard
Gaussian smoothing sigma in cents. null = no smoothing. Default is 5f (smoothing ON); use RAW preset for no smoothing.