Re:Variable duty cycle square waves with the Web Audio API
by meindnoch on Tuesday April 08, 2025 @04:40AM
(#43619570)
The aliased harmonics are folded back and mixed with the true harmonic content of the square wave. You can't filter them out without significantly affecting the square wave sounds.
[ Parent
| on HN ]
Re:Variable duty cycle square waves with the Web Audio API
by SonOfLilit on Tuesday April 08, 2025 @09:24PM
(#43628051)
You can work in a much higher sample rate and then downsample