CZ Oscillators: add anti-aliased versions#64
Open
magnetophon wants to merge 1 commit into
Open
Conversation
de6de50 to
d5e2cef
Compare
Contributor
Author
|
The current fund2freq(fund) = delta*ma.SR
with {
rawDelta = fund-fund';
absDelta = abs(rawDelta);
jump = absDelta>0.5;
posDelta = select2(jump,absDelta,1-absDelta);
delta = posDelta*select2(isPos,-1,1);
isPos = (rawDelta>=0)
<: select2( jump, _, (1-_) );
}; |
Contributor
Author
|
Any news on this? |
Member
|
Do you have any example code, showing the anti-aliased effect ? Any picture? |
Contributor
Author
|
I tested by ear. Should I write some code that does a sweep and then make a screenshot of the spectrum? |
Member
|
Yes this could be great. |
Collaborator
|
In case it's useful, here is the test program I wrote for the existing alias-suppressed sawtooth oscillators and their derivatives: |
Contributor
Author
|
@josmithiii Thanks, but I don't get it. |
Collaborator
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Is there any way to decrease the amount of repeated text, mostly in the comments?