Go implementation of Python's wave module