diff options
| author | Hiroshiba Kazuyuki <hihokaruta@gmail.com> | 2017-12-24 20:24:21 +0900 |
|---|---|---|
| committer | Hiroshiba Kazuyuki <hihokaruta@gmail.com> | 2017-12-24 20:24:21 +0900 |
| commit | 93df4c160b8332a4ef41190860b5056905143def (patch) | |
| tree | 15a512e79fc81b2c37d56a3c4cdc265bd4a466d8 /scripts/extract_acoustic_feature.py | |
| parent | 658e2570428867a27470c38b071ac81e7756bcf2 (diff) | |
add pad second
Diffstat (limited to 'scripts/extract_acoustic_feature.py')
| -rw-r--r-- | scripts/extract_acoustic_feature.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/extract_acoustic_feature.py b/scripts/extract_acoustic_feature.py index 55632c3..169e3f3 100644 --- a/scripts/extract_acoustic_feature.py +++ b/scripts/extract_acoustic_feature.py @@ -27,6 +27,7 @@ parser.add_argument('--output1_directory', '-o1', type=Path) parser.add_argument('--output2_directory', '-o2', type=Path) parser.add_argument('--sample_rate', type=int, default=base_voice_param.sample_rate) parser.add_argument('--top_db', type=float, default=base_voice_param.top_db) +parser.add_argument('--pad_second', type=float, default=base_voice_param.pad_second) parser.add_argument('--frame_period', type=int, default=base_acoustic_feature_param.frame_period) parser.add_argument('--order', type=int, default=base_acoustic_feature_param.order) parser.add_argument('--alpha', type=float, default=base_acoustic_feature_param.alpha) @@ -59,6 +60,7 @@ def generate_feature(path1, path2): wave_file_load_process = WaveFileLoadProcess( sample_rate=arguments.sample_rate, top_db=arguments.top_db, + pad_second=arguments.pad_second, ) wave1 = wave_file_load_process(path1, test=True) wave2 = wave_file_load_process(path2, test=True) |
