Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modern Oscillator Pitch: Lag -> Lipol #7231

Merged
merged 2 commits into from
Sep 30, 2023

Conversation

baconpaul
Copy link
Collaborator

addresses #7224

The original version of Modern used the trailing three points for the derivative, but didnt' recaclulate all three at once. This meant it was a bit unstable under extreme pitch changes so we used a lag/lpf on pitch and dphase. We subsequently changed the algorithm to always calculate the trailing three points but never undid that lag, leading to low porta high shift having an audible sweep in modern, as reported in #7224.

This change fixes that and simply block smooths pitch shifts.

addresses surge-synthesizer#7224

The original version of Modern used the trailing three points
for the derivative, but didnt' recaclulate all three at once.
This meant it was a bit unstable under extreme pitch changes
so we used a lag/lpf on pitch and dphase. We subsequently changed
the algorithm to always calculate the trailing three points but
never undid that lag, leading to low porta high shift having an
audible sweep in modern, as reported in surge-synthesizer#7224.

This change fixes that and simply block smooths pitch shifts.
@baconpaul baconpaul merged commit 0d099b3 into surge-synthesizer:main Sep 30, 2023
@baconpaul baconpaul deleted the modern-porta branch September 30, 2023 21:25
baconpaul added a commit to baconpaul/surge that referenced this pull request Oct 5, 2023
This reverts commit 0d099b3.

The change causes pops under extrema which I will outline in the original
issue
baconpaul added a commit that referenced this pull request Oct 5, 2023
This reverts commit 0d099b3.

The change causes pops under extrema which I will outline in the original
issue
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.

1 participant