FMMatrix - a new set of frequency and phase modulation UGens

Hi there!

Here is a bunch of UGens that I always dreamed about for extending the possibilities of FM7:

  • PMMatrix generates dense sine-operator PM networks with depths in radians. Every destination reads the complete output vector from one host sample earlier.
  • FMMatrix generates true linear FM with depths in Hz. Modulation changes phase accumulation and supports negative instantaneous frequency.
  • PMMatrixZDF approximates same-sample implicit PM. Bounded, damped simultaneous fixed-point iterations expose an explicit accuracy/CPU tradeoff.
  • PMGraph generates sparse PM networks with fixed endpoints and dynamic depths. It evaluates an edge list in O(N+E) work per internal sample.
  • FMMatrixExp generates exponential FM with octave-valued depths. Its frequency law preserves the sign of the base frequency and bounds extreme exponents numerically.
  • PMMatrixWave uses user-supplied raw mono cycle buffers for each operator. Cyclic linear interpolation replaces sine lookup, and invalid buffers produce silence.
  • PMMatrixIn lets external audio modulate internal oscillators. An Nx(N+K) matrix separates delayed internal sources from current external sources.
  • PMDelayGraph gives each sparse connection an independent fractional delay. Shared per-source history rings reduce storage, with a minimum delay of one host sample.
  • PMMatrixNL applies a nonlinear function to each destination’s modulation sum. Eight explicit shapes include tanh, fold, wrap and square, evaluated once per destination.

Comments, suggestions, bug reports, etc are all welcome!

Have fun!

7 Likes