Skip to content

Fix EUCLID silence and timing in non-quarter meters - #2

Open
nisshan-x wants to merge 3 commits into
hexamorphical:masterfrom
nisshan-x:fix/non-quarter-time-signatures
Open

nisshan-x wants to merge 3 commits into
hexamorphical:masterfrom
nisshan-x:fix/non-quarter-time-signatures

Conversation

@nisshan-x

Copy link
Copy Markdown

EUCLID wet output can become persistently silent during playback in 19/16, while dry audio continues passing through. This was reproduced with HyperCut v0.2.4 VST3 in REAPER and in Logic Pro through Element, without changing parameters or using the dice buttons.

Changes:

  • Convert denominator-based BBT beats to quarter-note PPQ.
  • Wrap subdivision positions by subdivisions per whole bar.
  • Recalculate capture duration and reset the phrase when the meter changes.
  • Update the DPF submodule to the fractional-bar timing fix.
  • Add headless timing and audio regression tests.

Validation on macOS:

  • make test-meter: PASS, including timing checks and 134 EUCLID audio cases covering nine meters, seven subdivision settings, loops, and changing meter.
  • make -C dpf test-vst3-time: PASS.

The original locally patched v0.2.4 universal VST3 resolved the problem in the reporter's Mac project. This master-based branch has been validated with headless tests; it has not been retested in a Mac DAW.

Dependency: hexamorphical/DPF#1

The DPF submodule currently points to e82b7dd3864e04ab365c1ad6c1fdd5d9a136644c. Please merge the DPF fix first. If its commit SHA changes during merging, this submodule reference will need updating.

VST3 does not expose an absolute bar ordinal across an arbitrary changing-meter song. The DPF conversion corrects bar-relative timing while retaining that limitation.

Fixes #1

@nisshan-x

Copy link
Copy Markdown
Author

Thank you for making HyperCut available and for reviewing this PR.

Further testing revealed that my initial fix was incomplete: playback could still become silent when the time signature changed, for example 9/16 → 12/16 → 7/16 → 9/16 → 12/16.

I have now pushed follow-up changes to restart the slicer immediately at the current host subdivision after a meter change. I also expanded the regression tests and aligned the overlapping SQPusher changes with upstream to resolve the merge conflict.

Updated validation:

  • All six algorithms and four WarpCut modes pass 1,204 audio regression cases on macOS and Linux.
  • The updated VST3 was tested in Logic Pro through Element, and the silence could no longer be reproduced in the affected project.

These results supersede the earlier EUCLID-only validation and the note about pending Mac DAW testing in the PR description. The dependency on hexamorphical/DPF#1 remains unchanged.

Apologies for the incomplete initial submission, and thank you for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EUCLID wet output becomes persistently silent in 19/16

1 participant