Skip to content

Conversation

@chrisib
Copy link
Collaborator

@chrisib chrisib commented Mar 3, 2025

Fix non-integer rounding problems with the square wave. Do not multiply by the result of a logical operation; just use an if/else

Resolves #419

…ly by the result of a logical operation; just use an if/else
@chrisib chrisib added the improvement Improvement or optimization of an existing feature or script label Mar 3, 2025
@chrisib chrisib merged commit 5a24d72 into Allen-Synthesis:main Mar 7, 2025
3 checks passed
@chrisib chrisib deleted the fix-harmonic-lfo-square branch March 7, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement or optimization of an existing feature or script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HarmonicLFO : Duty cycle for square wave is not 50% when MAX_OUTPUT_VOLTAGE / 2 is not an integer

1 participant