From f8df0382bae12398977bb04eb132e9c16b924eb9 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 23 Jul 2018 17:13:15 +0200 Subject: process --- NOTES | 10 ++++++++++ scripts/process.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NOTES b/NOTES index b2a313b..2f6d1e1 100644 --- a/NOTES +++ b/NOTES @@ -131,3 +131,13 @@ done cd output/net/ mkdir concat +function to_mp3 () { + dir=$1 + mkdir $dir + for i in *.wav + do + ffmpeg -i $i "$dir/${i%.*}.mp3" + done + scp -r $dir jules@lmno:asdf/neural/yukarin/ +} + diff --git a/scripts/process.py b/scripts/process.py index 47f013f..9eb928a 100644 --- a/scripts/process.py +++ b/scripts/process.py @@ -73,7 +73,7 @@ def process(p: Path, acoustic_converter: AcousticConverter, super_resolution: Su # converted_feature.f0 = input_feature.f0.astype(numpy.float64) merged_feature = AcousticFeature( - f0=input_feature.f0, + f0=converted_feature.f0, spectrogram=converted_feature.spectrogram, aperiodicity=converted_feature.aperiodicity, mfcc=converted_feature.mfcc, -- cgit v1.2.3-70-g09d2