Skip to content

Fix Pitch Overwrite Mode - #2326

Merged
stakira merged 1 commit into
openutau:masterfrom
maiko3tattun:260829_FixPitchOverwriteTool
Aug 30, 2026
Merged

Fix Pitch Overwrite Mode#2326
stakira merged 1 commit into
openutau:masterfrom
maiko3tattun:260829_FixPitchOverwriteTool

Conversation

@maiko3tattun

Copy link
Copy Markdown
Contributor

Bug: SampleOverwritePitch mixed part-relative and absolute ticks, causing wrong pitch sampling when a part's position != 0.
Fix: convert the view tick to an absolute tick to select the correct RenderPhrase, and compute the phrase-relative index (phrase.position - part.position) when indexing pitchesBeforeDeviation.
Result: overwrite pitch sampling (DrawPitchState / SmoothenPitchState) returns the correct pitch regardless of part.position.

@maiko3tattun maiko3tattun added dev-bug Bugs on master branch bug-fix stable-bug Bugs in the latest Stable release and removed dev-bug Bugs on master branch labels Aug 29, 2026
@stakira
stakira merged commit e2bad61 into openutau:master Aug 30, 2026
4 checks passed
emeraldsingers added a commit to emeraldsingers/UtauV that referenced this pull request Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix stable-bug Bugs in the latest Stable release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants