A simple-to-use sound file writer

r0g aioe.org at technicalbloke.com
Fri Jan 15 08:26:49 EST 2010


Alf P. Steinbach wrote:
> But maybe you're simply not able to understand the algorithm, trivial as
> it is.
> 
> So, a Python implementation (note, this program takes some time to run!):
> 
> 
> <code filename="sinewave_from_squares.py">
> # Generating a sine wave as a sum of square waves of various amplitudes


Pwned! Good one Alf :)

I think those guys owe you an apology really, but I wouldn't hold your
breath!

Roger.



More information about the Python-list mailing list