ENH: applying a Hamming window to generated tones

- reduces clicking at tone offset
- can override using hamming=False if desired