Skip to content

Commit

Permalink
[project-s] スタイルタイプの名称変更 (#738)
Browse files Browse the repository at this point in the history
* style_typeの名称変更

* いらない変更が入ってた
  • Loading branch information
Hiroshiba committed Jan 30, 2024
1 parent ca585b2 commit 0fd77a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/voicevox_core/src/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions model/metas.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0fd77a2

Please sign in to comment.