Using Fourier series to build audio waveforms

Newest term (k = R) Overshoot at the discontinuity
Space bar = animate/pause. Animate turns the chain in real time (T₀ = 4 s); Play sounds the same partial sum at 110 Hz.