modulation.signal_utilities.noise_generation.shaped_noise.generate_speech_shaped_noise

modulation.signal_utilities.noise_generation.shaped_noise.generate_speech_shaped_noise(samples: Iterable[ndarray], sampling_rate, *, export_path: Optional[Path] = None, long_term_avg=True, window_length_sec=0.02, p_overlap=0.5) Iterable[source]

White (flat-spectrum) noise has more energy at high frequencies, and therefore produces more masking of the higher formants and frication noises than speech-shaped noise, speech shaped noise mask evenly throughout the speech signal spectrum