RealtimePitchProcessingConfig

data class RealtimePitchProcessingConfig(val enableSmoothing: Boolean = true, val smoothingWindowSize: Int = 5, val enableOctaveCorrection: Boolean = true, val octaveThresholdCents: Float = 150.0f, val referencePitchHz: Float = 0.0f)

Configuration for realtime pitch processing (ADR-001).

Realtime counterpart to PitchProcessingConfig: a smaller per-frame knob set applied inside the detector when PitchDetectorConfig.enableSmoothing or enableOctaveCorrection is on.

Constructors

Link copied to clipboard
constructor(enableSmoothing: Boolean = true, smoothingWindowSize: Int = 5, enableOctaveCorrection: Boolean = true, octaveThresholdCents: Float = 150.0f, referencePitchHz: Float = 0.0f)

Types

Link copied to clipboard
class Builder

Builder for RealtimePitchProcessingConfig (ADR-001 Tier 2).

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Enable octave error correction

Link copied to clipboard

Enable weighted smoothing filter

Link copied to clipboard

How close to 1200 cents a jump must be to be corrected

Link copied to clipboard

Reference pitch in Hz for octave correction (0 = auto-detect)

Link copied to clipboard

Smoothing filter window (must be odd)