day 8: Writing a square wave to directsound