-
-
Notifications
You must be signed in to change notification settings - Fork 49
Added a "dispose" method to PhaseLockedVocoder to clear the au wavetable #40
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
Conversation
public func dispose() { | ||
au.setWaveTable([0.0]) | ||
} | ||
|
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.
Trailing Whitespace Violation: Lines should not have trailing whitespace. (trailing_whitespace)
@@ -79,7 +79,13 @@ public class PhaseLockedVocoder: Node { | |||
self.amplitude = amplitude | |||
self.pitchRatio = pitchRatio | |||
} | |||
|
|||
|
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.
Trailing Whitespace Violation: Lines should not have trailing whitespace. (trailing_whitespace)
The value range is 160.0...1000.0, but the default value was 1500.0 Nothing bad happened because of this, but now it is more correct, with a default value of 1000.0.
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.
ZitaReverb change seems accidental.
@@ -114,7 +114,7 @@ public class ZitaReverb: Node { | |||
identifier: "EQ Frequency 2", | |||
name: "EQ Frequency 2", | |||
address: akGetParameterAddress("ZitaReverbParameterEqualizerFrequency2"), | |||
defaultValue: 1500.0, | |||
defaultValue: 1000.0, |
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.
Why did you change this?
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.
Because the default value was not in the value range. It was not a practical problem, but is more correct this way. See this issue: #41
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.
Okay
This method should be called by the user after they are done with the node.