summaryrefslogtreecommitdiff
path: root/become_yukarin/data_struct.py
diff options
context:
space:
mode:
Diffstat (limited to 'become_yukarin/data_struct.py')
-rw-r--r--become_yukarin/data_struct.py2
1 files changed, 2 insertions, 0 deletions
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),
)