-
Notifications
You must be signed in to change notification settings - Fork 758
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
Topic/impulse rewrite #4150
Merged
joshpar
merged 7 commits into
supercollider:develop
from
mtmccrea:topic/impulse-rewrite
Aug 23, 2022
Merged
Topic/impulse rewrite #4150
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
dabf875
plugins: correct Impulse Ctor, add calc functions.
mtmccrea 1ac5cff
docs: Add behavior clarifications to Impulse help file.
mtmccrea 4d65ef2
Impulse: reduce number of calc functions
mtmccrea bc08f99
Impulse: rename and consolidate variables
mtmccrea 712e45a
Add unit tests for Impulse, update TestFilterUGens
mtmccrea 9a8cc87
docs: Update Impulse help file to indicate supported argument rates.
mtmccrea fcd97da
Impulse: add comment explaining internal logic of Impulse.
mtmccrea File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how to address it, but when this reaches the stage of c++ style review, I expect there to be a comment about the number of calculation functions. There have been some discussions lately about the topic of handling the permutations.
If you remove all the
i
functions, then we go from 9 down to 4 -- reducing the maintenance load by a factor of 2.22, while the performance gain of thei
functions would be minuscule. So I'd start there.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, 9 is overkill. I've trimmed it to 7 (dropping a-rate phase offset for k- and i-rate frequencies). If needed we could also drop
a
-rate phase offset altogether. I kept it because I recall a user on the scsynth forums being surprised it wasn't supported.I agree we could drop
i
-rate altogether, falling back on ak
-rate minimum for both args. Although one of the goals of this PR was support more rates. If maintenance is the issue though, i-rate is the easiest to introspect.