def load_spectrum_settings(settings_dict):
    """Set missing parameters to their defaults."""
    settings = settings_dict.copy()
    if "feature" not in settings:
        settings["feature"] = "Stft"
    if "fft_sample_rate" not in settings:
        settings["fft_sample_rate"] = 44100
    if "stft_window_length" not in settings:
        settings["stft_window_length"] = 1024
    if "stft_hop_length" not in settings:
        settings["stft_hop_length"] = settings["stft_window_length"] // 2
    if "frequency_bins" not in settings:
        settings["frequency_bins"] = 60
    if settings["feature"] == "Cqt" and "cqt_min_frequency" not in settings:
        settings["cqt_min_frequency"] = "C1"
    if settings["feature"] == "Mfcc" and "mfc_coefficients" not in settings:
        settings["mfc_coefficients"] = 13
    return settings