Generating sounds with Python 3