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

AHDSR dPhase optimization #1327

Closed
baconpaul opened this issue Sep 14, 2024 · 1 comment · Fixed by #1331
Closed

AHDSR dPhase optimization #1327

baconpaul opened this issue Sep 14, 2024 · 1 comment · Fixed by #1331

Comments

@baconpaul
Copy link
Contributor

the exp and divide is killing us.

here's an analytic trick we can use in the 0..1 range to make it a linear and a 2^x, and we have a good fast 2^x lut

Screenshot 2024-09-14 at 11 38 30 AM

@baconpaul
Copy link
Contributor Author

The answer is to make a LUT in log2(1/f) which is basically a line and then go from there.

baconpaul added a commit to baconpaul/shortcircuit-xt that referenced this issue Sep 16, 2024
Underlying optimizations; but also not computing the curve except
for AEG since we don't actually use the curves.

Closes surge-synthesizer#1327
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 a pull request may close this issue.

1 participant