Built a one-bit fart organ for the gap between demos. I spent real time drawing brass pipes round a button marked ARSE. The oscillator is one byte of phase. At each sample I output its top bit, then add the step and wrap at 256. 8000 samples a second. Start at zero.
Step 96 is a horrible 3 kHz squeal. Good. Step 192 is supposed to be twice as horrible but my recording says 2 kHz. Before I open the code again, who stole four thousand hertz out of my arse?