I made a
visualizer using the Desmos web graphing app to see what happens when Casey switches from a 256 Hz to a 512 Hz tone using the
A button on his gamepad (Day 009). I thought I'd share it here in case anyone else is wondering what the waveform looks like. Just slide the
B (boundary) slider to see it in action!
-Jeff
Reference:
https://hero.handmade.network/episode/code/day009/ @time=1:26:40
Screenshot: