fixing audio tone generator. I screwed up my units and incorrectly computed time in seconds.