From 75799e105c3d36648b29f02c6db9b4b8dd7e5e49 Mon Sep 17 00:00:00 2001 From: Hiroshiba Kazuyuki Date: Tue, 14 Nov 2017 10:03:59 +0900 Subject: add voiced flug --- become_yukarin/data_struct.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'become_yukarin/data_struct.py') diff --git a/become_yukarin/data_struct.py b/become_yukarin/data_struct.py index f0601a5..63043e2 100644 --- a/become_yukarin/data_struct.py +++ b/become_yukarin/data_struct.py @@ -13,6 +13,7 @@ class AcousticFeature(NamedTuple): spectrogram: numpy.ndarray aperiodicity: numpy.ndarray mfcc: numpy.ndarray + voiced: numpy.ndarray def astype(self, dtype): return AcousticFeature( @@ -20,4 +21,5 @@ class AcousticFeature(NamedTuple): spectrogram=self.spectrogram.astype(dtype), aperiodicity=self.aperiodicity.astype(dtype), mfcc=self.mfcc.astype(dtype), + voiced=self.mfcc.astype(dtype), ) -- cgit v1.2.3-70-g09d2