News for hackers. Stuff that matters.
Re:Variable duty cycle square waves with the Web Audio API by recursive on Monday April 07, 2025 @04:18PM (#43615517)
Different linearity properties on the positive and negative side would be pretty bad for a speaker, but possible. In the case of a square wave, non-linearity would be identical to a fixed amplitude change though, possibly with a DC bias.

Based on the gameboy wiki I looked up, the phase of the 25% duty and 75% duty are such that they are inverse of each other, seemingly eliminating the possibility of combining the two for different waveforms.

There are no comments on this comment yet.