From 0fd77a2915884fbaf1afdbe6dfc7986dfe75d291 Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Wed, 31 Jan 2024 05:41:15 +0900 Subject: [PATCH] =?UTF-8?q?[project-s]=20=E3=82=B9=E3=82=BF=E3=82=A4?= =?UTF-8?q?=E3=83=AB=E3=82=BF=E3=82=A4=E3=83=97=E3=81=AE=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=20(#738)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * style_typeの名称変更 * いらない変更が入ってた --- crates/voicevox_core/src/publish.rs | 4 ++-- model/metas.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/voicevox_core/src/publish.rs b/crates/voicevox_core/src/publish.rs index 984eba913..545e97695 100644 --- a/crates/voicevox_core/src/publish.rs +++ b/crates/voicevox_core/src/publish.rs @@ -1307,12 +1307,12 @@ mod tests { set_one(30, 45..60); set_one(0, 60..69); - let sf_decoder_speaker_id = 3000; + let sf_decode_speaker_id = 3000; let result = internal .lock() .unwrap() - .sf_decode(&phoneme, &f0, &volume, sf_decoder_speaker_id); + .sf_decode(&phoneme, &f0, &volume, sf_decode_speaker_id); assert!(result.is_ok(), "{result:?}"); assert_eq!(result.unwrap().len(), F0_LENGTH * 256); diff --git a/model/metas.json b/model/metas.json index 8e16b20b8..a29df1ee4 100644 --- a/model/metas.json +++ b/model/metas.json @@ -27,8 +27,8 @@ { "name": "dummy4", "styles": [ - { "name": "style4-1", "id": 3000, "type": "sf_decoder" }, - { "name": "style4-2", "id": 6000, "type": "sing_teacher" } + { "name": "style4-1", "id": 3000, "type": "frame_decode" }, + { "name": "style4-2", "id": 6000, "type": "singing_teacher" } ], "speaker_uuid": "32478dc2-4c8b-44f7-b041-c836e0df6d56", "version": "0.0.1"