diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-07-23 17:13:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-07-23 17:13:15 +0200 |
| commit | f8df0382bae12398977bb04eb132e9c16b924eb9 (patch) | |
| tree | d6c80b314319593bece46da780b92e1c4f07aca1 | |
| parent | bf020c9ef7770f9fc768aab3ce50631f2c9ffeed (diff) | |
process
| -rw-r--r-- | NOTES | 10 | ||||
| -rw-r--r-- | scripts/process.py | 2 |
2 files changed, 11 insertions, 1 deletions
@@ -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, |
