diff options
Diffstat (limited to 'become_yukarin/voice_changer.py')
| -rw-r--r-- | become_yukarin/voice_changer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/become_yukarin/voice_changer.py b/become_yukarin/voice_changer.py index d6d39c6..c160a5d 100644 --- a/become_yukarin/voice_changer.py +++ b/become_yukarin/voice_changer.py @@ -87,11 +87,11 @@ class VoiceChanger(object): ) out = AcousticFeature( - f0=input_feature.f0, + f0=out.f0, spectrogram=spectrogram, aperiodicity=input_feature.aperiodicity, mfcc=out.mfcc, - voiced=input_feature.f0 < pyworld.get_cheaptrick_f0_floor(input_wave.sampling_rate, fftlen), + voiced=input_feature.voiced, ).astype(numpy.float64) out = pyworld.synthesize( f0=out.f0, |
