summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NOTES10
-rw-r--r--scripts/process.py2
2 files changed, 11 insertions, 1 deletions
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,