$ 0 0 I'm afraid I don;t have experience trying to add a beat to a frequency, but I'd recommend you write your audio to a file and look at it in a wave editor, and see what your code is actually creating.