From ed3afe514c2c22c91d7904ae371efa46784e00c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=92=E7=8C=AB=E5=A4=A7=E7=A6=8F?= <93469977+rokujyushi@users.noreply.github.com> Date: Thu, 21 Nov 2024 00:56:58 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B7=A8=E9=9B=86=E7=B5=90=E6=9E=9C=E3=82=92?= =?UTF-8?q?=E9=81=A9=E7=94=A8=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sing/domain.ts | 2 +- src/store/singing.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sing/domain.ts b/src/sing/domain.ts index 0e4bcee9e2..82973b88c8 100644 --- a/src/sing/domain.ts +++ b/src/sing/domain.ts @@ -572,7 +572,7 @@ export function applyVolumeEdit( ); const phraseQueryEndFrame = phraseQueryStartFrame + phraseQueryFrameLength; - // ピッチ編集をf0に適用する + // ボリューム編集をvolumeに適用する const startFrame = Math.max(0, phraseQueryStartFrame); const endFrame = Math.min(volumeEditData.length, phraseQueryEndFrame); for (let i = startFrame; i < endFrame; i++) { diff --git a/src/store/singing.ts b/src/store/singing.ts index 6ca5e25e1e..28f9632b73 100644 --- a/src/store/singing.ts +++ b/src/store/singing.ts @@ -2264,13 +2264,13 @@ export const singingStore = createPartialStore({ track.pitchEditData, context.snapshot.editorFrameRate, ); + clonedQuery.volume = clonedSingingVolume; applyVolumeEdit( clonedQuery, phrase.startTime, track.volumeEditData, context.snapshot.editorFrameRate, ); - clonedQuery.volume = clonedSingingVolume; return { singer: track.singer, queryForSingingVoiceSynthesis: clonedQuery,