improved tone generator