from dataclasses import dataclass
from pathlib import Path


@dataclass
class SongMatchConfig:
    user_audio: Path
    reference_audio: Path
    stems_match: bool = False
    mix_match: bool = False
    eq_smoothing: float = 0.33
    eq_max_gain: float = 12.0
    loudness_threshold: float = 2.0
    min_segment: float = 5.0
    max_segment: float = 30.0
    dynamic_range_floor: float = 4.0
    model: str = "htdemucs_ft.yaml"
    output_sr: int = 44100
    output_bits: int = 16
    keep_ref_stems: bool = False
