f_wavetable, live
A visual oscillator: scans a wavetable of wave shapes across the screen, with phase modulation, pulse-width warp and additive synthesis modes.
The cell below steps the NumPy mirror that f_wavetable's tests are written against, in your browser. It is the NumPy mirror, not the Max patch, and it is not claimed to match the patch bit for bit.
Downloads about 15 MB the first time (Python and NumPy).
frequencysets how many wave cycles span the screen width.positionscans along the table's frames (sine, triangle, saw, pulse; harmonic profiles in additive mode); it also drifts slowly on its own.blendcrossfades between the table and a reversed copy of it, so the frame order reverses across the scan.harmonics(additive mode) sets how many sine partials are summed.rotationrotates the phase gradient across the screen.modepicks between the wavetable read and additive sine summation.polarityremaps the output to 0.5 + 0.5 v (bipolar).