Octave Correction Config
data class OctaveCorrectionConfig(val removeSpuriousJumps: Boolean = true, val snapBackCorrection: Boolean = true, val snapBackThresholdCents: Float = 150.0f, val referencePitchHz: Float = 0.0f, val correctBoundaries: Boolean = true, val boundaryWindowMs: Float = 50.0f, val hopMs: Int = 10)
Configuration for octave correction (ADR-001).
Standalone config for the octave correction stage. Three stages run in order:
Spurious jump removal (from tona) - pair-based jump classification
Snap-back correction (existing) - forward+backward pass with snap-back heuristic
Boundary correction (existing) - onset/offset vs interior mean
Each stage is skipped if disabled in config.
Constructors
Types
Properties
Link copied to clipboard
How much of phrase edges to check (ms)
Link copied to clipboard
Enable boundary octave correction
Link copied to clipboard
Reference pitch in Hz (0 = auto-detect)
Link copied to clipboard
Enable spurious octave jump removal
Link copied to clipboard
Enable snap-back octave correction
Link copied to clipboard
How close to 1200 cents a jump must be to be corrected