PCM sine tone generator for unit tests