Beat frequency problem