SvaraTemplateConfig

data class SvaraTemplateConfig(val smoothSigmaCents: Float = 15.0f, val peakToleranceCents: Float = 50.0f, val octaveSpan: Int = 1)

Configuration for com.musicmuni.voxatrace.tona.PitchAnalysis.computeSvaraTemplate (ADR-001: companion presets + Builder + .copy()).

See also

Constructors

Link copied to clipboard
constructor(smoothSigmaCents: Float = 15.0f, peakToleranceCents: Float = 50.0f, octaveSpan: Int = 1)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

How many octaves to extend the grid on each side of the middle octave (1 → lower, middle, upper).

Link copied to clipboard

A detected peak is treated as the measured position of a svara only if it lies within this many cents of the svara's theory default; otherwise the default is used.

Link copied to clipboard

Gaussian smoothing applied to the folded histogram before peak detection.