← f_ notebook · Mirrors · Patterns

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.

f_wavetable · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • frequency sets how many wave cycles span the screen width.
  • position scans along the table's frames (sine, triangle, saw, pulse; harmonic profiles in additive mode); it also drifts slowly on its own.
  • blend crossfades 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.
  • rotation rotates the phase gradient across the screen.
  • mode picks between the wavetable read and additive sine summation.
  • polarity remaps the output to 0.5 + 0.5 v (bipolar).

reference doc · patcher · wavetable_mirror.py

← QuasiCahn-Hilliard →