diff --git a/utils/binarizer_utils.py b/utils/binarizer_utils.py index 04dbf12ab..e4747b88e 100644 --- a/utils/binarizer_utils.py +++ b/utils/binarizer_utils.py @@ -150,7 +150,7 @@ def _world_extraction(self): t = np.arange(0, wav_frames) * time_step self._f0_world = f0 self._sp = pw.cheaptrick(x, f0, t, samplerate, fft_size=fft_size) # extract smoothed spectrogram - self._ap = pw.d4c(x, f0, t, samplerate, fft_size=fft_size) # extract aperiodicity + self._ap = pw.d4c(x, f0, t, samplerate, fft_size=fft_size, threshold=0.25) # extract aperiodicity def _kth_harmonic(self, k: int) -> np.ndarray: """