Skip to content

Commit

Permalink
スペクトログラムの計算を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Jan 2, 2024
1 parent 5b014ec commit 13dcca2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/voicevox_core/src/engine/morph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ impl<'metas> MorphableTargets<'metas> {
morph_spectrogram,
itertools::zip_eq(base_spectrogram, target_spectrogram),
) {
*morph_spectrogram = base_spectrogram * (1. - morph_rate) + target_spectrogram;
*morph_spectrogram =
base_spectrogram * (1. - morph_rate) + target_spectrogram * morph_rate;
}
}

Expand Down

0 comments on commit 13dcca2

Please sign in to comment.