f_ Module Inventory
Status: Drafted 2026-09-20 from docs/f-reference/*.md. Checked 2026-11-25 against package/patchers/ (module names, and inlet/outlet counts in the I/O table); fixes from that check are listed in docs/INDEX.md. Not checked: descriptions, temporal flags, bypass behavior. Not covered by design: f_cmap (paused, patcher present, no row or doc), f_modules and the *_inner/_row internals.
Purpose: Flat, load-the-whole-thing capability map for the f_ library — the layer where "does f_ already do X, or does this need a new module?" questions actually get answered. Answer that from this file alone when possible; open the full per-module doc in docs/f-reference/<module>.md only for the 1-3 candidates that survive the shortlist. This file intentionally omits algorithm detail, exact param ranges, and build/loose-thread history — that's what the full docs are for.
Type contracts (read these when composability is the question):
f_vecfield_type.md— the shared vector-field texture format (float32, RG=XY, 0.5=zero). Most "can module A feed module B" questions reduce to "does A produce a coherent f_vecfield and does B consume one," not just "are both texture in/out."discrete_item_conventions.md— shared param vocabulary (density,phase,size+stretch,softness,shape) across the grid/mark-placement modules (f_grain, f_masonry, f_weave, f_vf_seeds), including where the same name means different things per module.f_tensor_type.md— the shared tensor-field texture format (two float32 outlets: raw Jxx/Jxy/Jyy and the packed cos2θ/sin2θ/trace/coherence form) for the f_tf_ family.
Reading the I/O column: tex = plain texture, vecfield = f_vecfield (float32 RG, coherent field — see contract doc), scalar = single-channel grayscale signal. → separates input(s) from output(s). temporal = has frame-to-frame memory (ping-pong feedback), so behavior depends on accumulated history, not just the current frame's inputs.
See also: docs/vsynth-reference/module-inventory.md — the same kind of flat capability map, one layer down, for core Vsynth (vs_) modules. Check there too before assuming a new f_ module is needed — the answer is sometimes a core Vsynth module (e.g. vs_displacement for a dumb two-channel UV push, no field coherence needed).
Color / Tonal Grading
Stateless, texture→texture, no geometric displacement. Reach for these when the effect is about what color a pixel is, not where it samples from.
| Module | I/O | What it does |
|---|---|---|
f_channel_grader | tex → tex | Per-channel lift/gamma/gain (film-style grade), R/G/B + master |
f_hue_processor | tex → tex | Isolates a hue band (center + asymmetric width + falloff), adjusts sat/lum/hue within it only. Low-sat regions gated out. ⚠ open UI bug on hue_lower/hue_upper |
f_luma_processor | tex → tex | Isolates a luma range (shadow/mid/high breakpoints), adjusts sat/lum/hue within it only. Structurally parallel to f_tone_curve |
f_halftone | tex (+ 3 plate texs) → tex (screen) + tex x 3 (plates) | Halftone screen: Dot, Line, Threshold, Bayer, Blue or Random marks at a fixed angle per plate, in Channels, Single or Plates (from f_separate) mode; plate outlets gray or color. See f_halftone.md |
f_separate | tex → tex (composite) + tex x 3 (plates) | Splits a color image into up to three spot-color plates, inks (H, S, L) as colors of light that add on black; Unmix, Nearest or Project per pixel, stateless |
f_vf_erode | tex + terrain tex + vecfield + background tex → ink tex + thickness tex, temporal | Water and pigment solver: wet once (or Feed continuously) and ink pools in the low places of a terrain, pushed by a vecfield; Darker or Lighter polarity, Fade keeps a fed frame from saturating. Optional inlets 1-3 |
f_tone_curve | tex → tex | Shadow/midtone/highlight brightness lift by tonal band; additive, not a curve editor. Structurally parallel to f_luma_processor |
Geometry / UV Warp
Stateless, remap sampling coordinates rather than color. No vecfield involved — these bend space by a fixed analytic transform (spiral, Möbius, sphere), not a data-driven field.
| Module | I/O | What it does |
|---|---|---|
f_droste | tex → tex | Log-polar spiral transform — infinite-zoom Droste/Escher recursion. n_arms, twist, continuous zoom/rotation |
f_poincare | tex → tex | Poincaré-disk tiling: folds the texture into a hyperbolic {p,q} tiling (p_sides and q_vertex live, 1/p + 1/q < 1/2 enforced), Whole (curved tile) or Sliver (kaleidoscope), with a hyperbolic camera (cam_x, cam_y, rot) and a rim fade |
f_mobius | tex → tex | Möbius-family UV transform (rotation/zoom blended with complex inversion 1/z). Circles stay circles, no pinching even at extremes; loxodromic spiral motion in the 0.2–0.8 invert range |
f_lens | tex (+4 mod tex) → tex | Multi-effect filmic lens sim: chromatic aberration, barrel/pincushion distortion, vignette, surface-emboss displacement, ghost images, halation, all in one chain (tilt-shift was removed 2026-09-23; see f_lens.md). The "physically-evocative lens" module — closest existing thing to a fresnel-style focus/distortion combo. ⚠ bypass incomplete (halation/tiltshift stay live); tilt-shift slated for extraction to a future f_focus |
f_stereo | tex → tex (circular) | Wraps a flat texture onto a rotating sphere, projects to a circular disk (ortho↔stereographic blend). Display-layer — last processor before a circular screen, not a general effect |
f_sirds | tex (pattern) + tex (depth, optional) → tex | Single-Image Random Dot Stereogram generator — depth map displaces a repeating pattern into an autostereogram. Narrow, specific technique, not a general depth/parallax tool |
f_ngon | tex → tex | Kaleidoscope fold: reflects each pixel into the wedge between two mirror lines at π/n_mirrors, giving 2·n_mirrors-fold symmetry and a regular polygonal outline, with live n_mirrors (2–18), rotation and scale. The neutral setting is not a passthrough (the fold symmetrizes the frame). ⚠ No spec, tier-1 mirror only (never run on the GPU bench); a sampler, with no filled-polygon mask outlet |
Vecfield Producers
Output a coherent f_vecfield (or, for f_chladni, an f_vecfield alongside other outlets). This is the "what shape is the underlying field" layer — pick one of these first when an effect needs a structured directional field (convergence, rotation, flow) rather than plain noise.
| Module | I/O | What it does |
|---|---|---|
f_vf_vortex | (params) → vecfield | Single fixed-point field, continuously variable sink↔spiral↔center↔spiral-source↔source via convergence/curl. The basic building block of the family |
f_vf_vortex_multi | (params) → vecfield | Three additive vortex sites sharing one falloff — multi-focal version of f_vf_vortex |
f_vf_fieldmap | tex (scalar-dominant) → vecfield | Converts any scalar/noise texture into a vecfield via spatial gradient (central difference). The generic "turn a texture into a field" adapter — feed it jit.gl.bfg noise, grain, luma, anything |
f_tf_tensormap | tex (scalar-dominant) → raw tensor + packed tensor | Structure tensor of any scalar texture (Sobel, box-smoothed outer products, closed-form eigen): raw Jxx/Jxy/Jyy and packed cos2θ/sin2θ/trace/coherence. Outlet 1 is angle-doubled, NOT a vecfield. Cost scales with fixed R_MAX 16, not radius |
f_tf_axisflow | packed tensor → vecfield | Bridge from f_tf_tensormap outlet 1: projects a reference direction (the angle dial, or an optional per-pixel vecfield) onto the edge line (or its normal), so flow follows image structure with no sign seam. Feeds f_vf_advect, warp, caustic... Follows the render size (no width/height dials) |
f_tf_smooth | raw tensor → raw tensor, temporal | One-pole tensor-space smoother ("inertia"): feedback average per component, so opposite axes reinforce instead of canceling and confidence rides along. release is the performable knob; bypass is exact passthrough (not a freeze). Chain A's stabilizer stage |
f_tf_glyph | raw tensor + tex → tex | Glyph-field renderer: one closed-form ellipse per grid cell, aspect from the eigenvalue ratio, axis from the tensor, gated on trace. Doubles as the family's universal debug view |
f_tf_sharpen | raw tensor → raw tensor | Eigengap operator: scales the eigenvalue gap at fixed trace and untouched axis — commits or relaxes anisotropy with one dial. Not image sharpening |
f_tf_aniso_blur | raw tensor + tex → tex | Coherence-enhancing smoother: integrates the source along the tensor's major axis, ellipse width from the eigenvalue ratio, isotropic fallback (Weickert rationale). Straight-axis v1 |
f_tf_hatch | raw tensor (+ optional stroke tex) → tex (streaks) | Streamline (LIC) renderer: marches along the decoded axis through sparse noise, so strokes form where coherence is high and grain where it is low. 3 stages plus a 2-stage stroke-texture pre-filter, 16 steps per direction |
f_vf_flow | tex → vecfield | Texture-driven direction field: the input's red channel sets the flow direction, at full strength everywhere (needs a texture; no unconnected mode since 2026-11-01). Was built as f_weave's field input; weave no longer takes a vecfield |
f_vf_repulse | tex → vecfield | Ring-samples 16 directions around each pixel, accumulates vectors pointing away from (or, with negative gain, toward) bright regions. Texture-shape-driven repulsion/attraction field |
f_vf_lk | tex (video/live) → vecfield + confidence | Real Lucas-Kanade motion estimation between frames — genuine per-pixel motion field from a moving source, with aperture-problem handling. The "derive a field from what's actually moving in the shot" producer |
f_vf_fluid | vecfield (force) → vecfield, temporal | Spectral incompressible-flow solver — stir it with any force (video motion, a vortex, a wind) and the resulting swirl persists and evolves after the force stops, with viscosity (smoothing), project (swirl vs shock), and drag. Outputs a velocity field, not an image: feed it to f_vf_advect/warp/glow/streak. The "make a field that keeps moving on its own" module. 256² solver regardless of render size; ~2.5 ms/frame on the bench |
f_vf_ch | tex (optional) + 2 vecfields → phase tex + vecfield, temporal | Immiscible blend of two velocity fields — feed it two f_vf_fluid at different viscosity and a Cahn–Hilliard phase field decides where each shows, beading into droplets that coalesce instead of smearing. Mix biases which flow moves the pattern; a texture on in 0 drops phase B in where it is bright. Outlet 1 is the blended velocity (feed f_vf_advect/warp); outlet 0 is the pattern as grey. 256² solver; ~3.7 ms/frame at 1080p |
f_vf_lbm | tex (obstacle mask) → vecfield, temporal | Lattice Boltzmann (D2Q9) channel flow around a mask-shaped obstacle: a steady wind blows left to right, the wake sheds, and the velocity vecfield comes out for advect / warp / streak / glow. Dials: omega, Wind, Tilt (±30°), gain, Speed (every 1st–4th frame). Fixed 192×108 solver. Shedding takes thousands of frames to start; the flow is a channel (left in, right out, top/bottom wrap). Bypass = neutral vecfield, solver keeps running. Where f_vf_fluid stirs a field with any force, this flows around a shape |
f_chladni | (params) → luma + vecfield + scalar | Circular-plate Chladni resonance figure (Bessel modes). out2 is a vecfield (gradient toward nodal lines) — an audio/note-driven field producer, distinct in character from the geometric vortex family |
f_quasi | (params; optional tex sets the aspect) → banded luma + vecfield + scalar | Shepard-zoom quasicrystal generator: five plane waves over seven octaves, endless zoom with a patcher clock (Z.rate, D.rate), exact bounded gradient as a vecfield, the potential as a scalar. Stateless. Reference: f_quasi.md |
f_vf_vorticity | vecfield → vecfield | Vorticity-confinement processor — takes a field, adds back fine swirl its curl implies. Only legible through a temporal consumer (f_vf_advect); no visible effect on stateless consumers |
Vecfield Consumers / Field-Driven Effects
Take a source texture plus an f_vecfield and produce a visual result shaped by the field's geometry. This is where "warp/distort/focus-like-a-lens" questions usually land — the field supplies the shape of the distortion, the consumer supplies the character (displace, streak, glow, split colors, accumulate).
| Module | I/O | What it does |
|---|---|---|
f_vf_warp | tex + vecfield → tex | Directly displaces UV by the field vector, scaled by gain (mix_pct crossfades the composite outlet). The simplest field-driven distortion — single-sample, no accumulation |
f_caustic | tex + vecfield → composite + isolated layer | Forward scatter-sheet accumulation along the field (a lattice of field-displaced points deposits additive splats into a float32 capture); brightness builds up in convergence zones (negative divergence). This is the module for a lens/fresnel-style focusing effect — bright bands form where the field converges, exactly the optical-caustic behavior a fresnel lens produces |
f_vf_streak | tex + vecfield (optional) → composite + isolated layer | Accumulates samples along the streamline into a directional smear/streak, with chromatic offset option |
f_vf_glow | tex + vecfield → composite + isolated layer | 48-step accumulation along the local field direction (both ways, or one way by direction) → anisotropic glow/bloom that follows field geometry (not radially symmetric like a normal bloom) |
f_vf_resonate | tex + vecfield (optional) → composite + signed layer | Resonant (decaying cosine) or Comb (fading echoes) weights along the field direction, Straight or Streamline walk: edges shed fading ripples; uniform angle direction when no field |
f_vf_chroma | tex + vecfield → composite + isolated layer | Field-steered chromatic aberration — R/B channels offset in opposite directions along the local field vector (vs. f_lens's aberration, which is always centrifugal from a fixed center) |
f_vf_prism | tex + vecfield → composite + isolated layer + dispersion-direction vecfield | Field-driven RGB channel separation, gated per channel so prism color only appears at the edges of bright content; feather control blends hard-split ↔ spectral gradient |
f_vf_advect | tex + vecfield → composite + isolated layer + vecfield gradient of the accumulated flow, temporal | Frame-to-frame fluid advection — injected content spreads/dissipates/(if decay>1) amplifies over many frames, not just displaced once. The module to reach for when an effect needs to build up over time rather than react per-frame |
f_vf_potential | tex (trigger) + vecfield (+ optional color tex) → scalar, temporal | Integrates field magnitude over time into a 0–1 scalar whose isolines trace the flow. Built specifically to feed f_weave's scalar inlet (curved isoline texture instead of straight lines) |
Discrete-Item / Procedural Generators
Self-sufficient generators producing structured marks/grains/bricks/lines rather than processing an input image. Share param vocabulary — see discrete_item_conventions.md.
| Module | I/O | What it does |
|---|---|---|
f_grain | tex (optional) → composite + grain mask + displaced source, has feedback | Stochastic grain field — per-grain position/size/shape/color driven by input luma, with a persistence/decay feedback layer |
f_masonry | (params, self-sufficient despite "processor" label) → composite + mask | Parametric brick/masonry structure — courses, bond, mortar, per-course drift. The clean-grid-structure generator that downstream geometric warps (f_droste, f_mobius, f_lens) then distort |
f_weave | (params, self-sufficient) + optional across scalar + optional along scalar → tex | Parallel line-and-mark generator, continuous-distance-field based (not grid-quantized — stays clean under Droste/spiral warps, unlike f_masonry). The across scalar (e.g. from f_vf_potential) can fully override line geometry with curved isolines; the along scalar replaces the along coordinate. Irregularity variants (variant, irreg, nscale, offset), and weight / marklen / irreg modulated by textures tagged weight_tex / marklen_tex / irreg_tex on inlet 0. The vecfield inlet was retired 2026-11-01 |
f_stipple | tex (optional, dual-mode) → composite + mask + displaced-source | Hash-field stipple/halftone. Source mode: standalone black-and-white texture from params. Processor mode: the incoming red channel sets local dither density (composite and mask) and separately sets how far the third outlet warps where it samples the source; it does not move the hash field |
f_vf_seeds | tex (shape) + vecfield (required) + tex (mod, optional) → color + mask + seed-coord | Seed-point placement/orientation engine for discrete marks — no internal mark geometry, samples an external shape texture per seed, oriented by a vecfield. Supports genuine mark overlap ("texture bombing") via field-magnitude-driven growth, not just selection |
f_cgl | (params) → color pattern + vecfield of A, temporal | Complex Ginzburg-Landau generator: a self-sustaining color pattern (phase as hue, amplitude as luma) of spirals and defects, solved spectrally on a 256² GPU grid; a narrow band past the Benjamin-Feir line gives KS-like phase turbulence (seen in Gradient view, Uniform seed). c1, eps, scale, rate, seed, view, twist, gain, reset. Outlet 2 is A itself as a vecfield (consumer use not yet looked at). Bypass = black and a neutral vecfield. Built and benched, first look passed 2026-11-27 (Matt) |
f_ks | (params) → luma, temporal | Kuramoto-Sivashinsky generator: a self-sustaining chaotic pattern (cells, ridges, spiral-ish defects) that never settles, solved spectrally on a 256² GPU grid. rate, scale, sharp, reset. The only generator with both memory and chaos (f_chladni is a fixed modal pattern; noise has no memory). Near-flat for about a second after a reset. Bypass = black. Name f_ks is a placeholder; output mapping is still a tier-3 decision |
f_nematic | (params) → raw tensor + packed tensor + schlieren look, temporal | Active-nematic generator: a self-sustaining oriented texture whose state is a Q-tensor (comet-shaped +1/2 defects self-propel, defects nucleate and annihilate), solved on a 128² GPU grid with a Stokes flow. The first emergent tensor source: patch outlet 1 into f_tf_hatch, f_tf_glyph, f_tf_aniso_blur, with each consumer's strength at 1. Active, Align, Friction, Scale, Rate, reset; a Kinem source draws analytic moving defect pairs. Bypass = the neutral tensors. Unverified: cost and most live looks open |
f_wc | tex (pulse, optional) → RGB, temporal | Wilson-Cowan form-constant generator: a faithful port of the webgpgpu Example-10 page, a fixed 1024² solver shown through the bare log-polar retinal map, so a silky self-sustaining web (honeycomb, tunnel, spiral, cobweb). Kept alive by a square-wave pulse on the excitatory field (no noise). Dials: pulse_depth, pulse_period, sim_rate (slow motion), pulse_mix, pulse_gain, grain_scale; menus out_mode (RGB / E / Contour / Luma, default E), pulse_space and out_view (Retinal / Unwrapped); header freeze_on; reset. A texture's luma on the pulse inlet replaces the internal wave (camera / WFG friendly); out_view Unwrapped gives the flat cortical grid to feed f_droste. Slow to form after a reset by design. Replaces the old FFT-chain f_wc (archived as docs/f-reference/superseded/f_wc_fft.md). Bypass = black |
f_wave_field | tex (force / outline source, optional) + tex (LFO, optional) → luma + vecfield, temporal | Spectral wave field on a 256² GPU grid: ripples, rings and plate waves (speed, damping, dispersion, ring, edge). Inlet 0 says where (force texture; Strike pins its outlines), inlet 1 says when (LFO); Strike is a held press; rings once from the load strike with nothing connected |
Routing / Utility / Infrastructure
No visual effect of their own — plumbing between other modules.
| Module | I/O | What it does |
|---|---|---|
f_texrouter | up to 4 tex → up to 4 tex | 4×4 texture routing matrix with named presets. ⚠ bypass = freeze (holds last frame), not passthrough — differs from every other f_ module's bypass convention |
f_util_matrix_2 | 2 tex (sources) + consumer param list → 2 tex passthrough + mod messages | CV-matrix-style modulation router — one source drives one destination column, textbook Eurorack patch-matrix semantics. ⚠ draft status, open design questions unresolved |
f_util_profile | tex → row profile tex + column profile tex | CPU-side dual-axis luminance profiler — collapses a texture to a 1D row-mean and column-mean signal for driving per-row/per-column modulation (e.g. into f_masonry's course/column inlets) |
f_cores | vecfield-style 2-vector (R, G) → tex (marks) + tex (signed marks) + float (count) + 2 bangs (went up, went down) + float (rate) | Reads the defects of a signed 2D field (f_cgl outlet 2, f_nematic's packed outlet, any vecfield) and draws them as soft discs: white marks, and plus in R and minus in G. Marks: stateless, three stages; the count is an exact GPU block-sum read back through jit.gl.asyncread into a js (messages lag about a frame; untested in Max); input at the render size, discs capped at 16 texels. See f_cores.md |
f_particles | tex (source, optional) + field (vecfield or scalar) → composite + density layer | A persistent layer of 262,144 particles pushed by a field (Field: a vecfield; Descend / Ascend: down / up the gradient of a scalar), drawn into a render-size float32 capture and composited with a dilation (Size, Hard, Thresh). Sand on a Chladni figure, or tracers in a flow. Inertia, Ease, Respawn, Reset. See f_particles.md |
f_vf_split | vecfield → scalar + scalar | Splits a vecfield's X and Y channels into two separate grayscale textures, unipolar or bipolar encoding — for feeding a field's individual axes into scalar-only consumers |
f_vf_stamp | tex (stamp) + vecfield (optional) → ink + vecfield | Gated injector, stateless: a held press stamps the texture's luma mask as ink and as an impulse (inlet 1 masked, or radial / swirl from the stamp's edge), with an envelope in frames; feeds f_vf_advect and f_vf_fluid |
f_lfo | (control messages; tick on every r draw) → 1x1 float32 texture + float | CPU js LFO for control work: Sine, Triangle, Pulse, Wobble, Drunk; freq in Hz only (note values and BPM removed 2026-11-24), cycles, steps, depth / offset, bipolar, curve, shape, ripple, restart. Frame-rate independent (elapsed time, clamped to 250 ms per tick). Stands in for vs_lfo on a modulation inlet. Not built: multi-value outputs, one-shot or ADSR, trigger outlets, a texture inlet for FM or PM. Menu: Patterns. See f_lfo.md |
f_crossover | tex + ctrl → processed tex + low tex + mid tex + high tex | Splits an image by spatial frequency (blur ladder, differences): Split sum or EQ gains per band; crossovers in cycles per frame width; band outlets signed float32; docs/f-reference/f_crossover.md |
f_dynamics | tex + ctrl; optional sidechain tex → processed tex + level tex + gate tex | Per-pixel audio-style dynamics, temporal: Slew, Gate / Expander, Peak hold, Compressor / Limiter; attack / release / hold in ms, linear luma threshold; sidechain is the detector when connected; docs/f-reference/f_dynamics.md |
f_wavetable | tex (table A) + ctrl; optional table B, position, FM, PM, PWM tex → waveform tex + inverted tex, temporal in Accumulate mode | Generator: waveform read from a texture table (x = cycle, y = frames), frame scan, blend, Additive mode; stripes with rotation; built-in table when nothing patched. Phase menu: Stateless (stripes) or Accumulate (2026-11-26, not benched or seen in Max): a float32 phase per pixel, the FM texture is its integrated rate, leak pulls it to the starting phase, reset; docs/f-reference/f_wavetable.md |
f_util_vary | <param> <value> messages → 8 message outlets | Control-side variation sidecar: passes every base through unchanged and adds a per-destination random offset (amount, chance, wobble, trim, slew, groups with correlation, seed, roll; u or drunk mode). Touches no textures. Draft utility; the table is saved with presets, not with the patch. Menu: Routing / Mod. See f_util_vary.md |
Audio (f_a_) and Control Bridges
MSP / gen~ / pfft~ modules with no texture path and no GL context. Audio runs on MSP cables, so these sit beside the video modules but never plug into them. Since 2026-11-16 f_a_ripple, f_a_purr and f_a_decorrelate are built from src/<module>/definition.py by the audio archetypes (build/spec.md "Audio archetypes"), are bpatchers in the f_modules Audio category and are on the drift ratchet; offline only, not yet heard in Max. f_chladni_audio is still hand-built and NOT_IN_MENU. I/O here uses audio for signal-rate connections.
| Module | I/O | What it does |
|---|---|---|
f_a_decorrelate | audio → audio | Applies the Yukhnovich et al. (2025) cross-frequency de-correlating modulation to arbitrary input audio via pfft~ (per-bin AM gain or PM phase), with dry/wet and a tanh ceiling. The processor version of f_a_ripple |
f_a_purr | audio (breath phase, optional) → audio; breath phase | Cat-purr generator: a jittered click train through a resonator, with a breath layer (rate, level, noise, inhale/exhale contrast, tempo runs) whose 0-1 phase is the second outlet; an external breath phase can drive it (breath_src). Built 2026-11-16 from the 2026-07 to 2026-11 scratch codebox; ⚠ the realism code has never been compiled or heard in Max; no helpfile |
f_a_ripple | (params) → audio | Generator of the same stimulus: a harmonic carrier with a dynamic spectral ripple on one octave band, a new random f0 every stim_dur seconds, forever, self-timed. AM or PM, hearing-correction profiles. Rebuilt 2026-11-16 as a bpatcher (live controls, Bypass, gain default 0.1); ⚠ not yet heard in Max; no helpfile |
f_chladni_audio | audio → 8 messages | Eight resonant band-pass bands with envelope followers, emitting m0amp…m7amp every 20 ms (Log or Bessel tuning). ⚠ Unverified, and out of step with f_chladni: that module now takes note / amp, not the eight amplitudes, so this patch cannot drive it. The planned sigmund~ / peakamp~ note / amp patch is unbuilt. The Log/Bessel switch looks inert from its wiring (untested in Max) |
Inlet / Outlet Types, Driving-Texture Requirement, and Bypass Output
Added 2026-10-22 from the per-module docs in this folder. This is a wiring cheat-sheet: what plugs into each module, what comes out, whether the module produces anything meaningful with nothing patched in, and what its outlets show when bypass = 1.
Legend. Types as in "Reading the I/O column" above, plus tensor-raw (f_tensor_type outlet 0: Jxx/Jxy/Jyy), tensor-packed (outlet 1: cos2θ/sin2θ/trace/coherence, angle-doubled, NOT a vecfield), mod (optional modulation texture; unconnected = no modulation), ctrl (control messages that ride on the same physical inlet 0 as the texture, per Vsynth convention; not counted as a separate inlet). Driving texture = the input without which the output is not meaningful: Required (nothing useful out when unconnected), Optional (degrades to a defined fallback, named), None (self-sufficient). "Neutral vecfield" = (0.5, 0.5, 0.5, 1); "neutral tensor" = zero-tensor.
Doc gaps, so you know what is inferred: f_grain, f_droste, f_channel_grader, f_hue_processor and f_luma_processor docs say only "bypass processing"; the bypass column for those is the family convention (source passthrough), not a documented measurement. f_a_decorrelate's doc does not state its bypass behavior either. f_ks, f_vf_lbm, f_ngon, f_a_ripple and f_chladni_audio got reference docs on 2026-10-22 and are in the tables below; f_a_ripple and f_chladni_audio are hand-built patches with no bypass control at all.
Color / Tonal Grading
| Module | Inlets | Outlets | Driving texture | Bypass output |
|---|---|---|---|---|
f_channel_grader | 1: tex + ctrl | 1: tex | Required (processor) | Source passthrough (convention) |
f_hue_processor | 1: tex + ctrl | 1: tex | Required | Source passthrough (convention) |
f_luma_processor | 1: tex + ctrl | 1: tex | Required | Source passthrough (convention) |
f_crossover | 1: tex + ctrl | 4: tex (processed); tex (low); tex (mid, signed); tex (high, signed) | Required (inlet 1) | Source on all four outlets (bypass_gate; contract bench 2/2) |
f_dynamics | 2: tex + ctrl; optional sidechain tex | 3: tex (processed); tex (level); tex (gate) | Required (inlet 1) | Source on all three outlets (bypass_gate; bench 23/23, tests/logs/20261125-154028-bench.log) |
f_wavetable | 6: tex (table A) + ctrl; tex (table B); tex (position); tex (FM); tex (PM); tex (PWM) | 2: tex (waveform); tex (1 - waveform) | Optional (nothing = built-in table) | Outlet 1 black, outlet 2 white (bypass_gate; generator, no source; T015) |
f_halftone | 4: tex + ctrl; plates 1-3 (Plates mode) | 4: tex (screen); tex (plates 1-3) | Required (Plates mode: the plate inlets) | Source on outlet 1, each plate's part of it on outlets 2-4 (bypass_gate; contract bench clean 2026-11-14) |
f_separate | 1: tex + ctrl | 4: tex (composite); tex (plates 1-3) | Required | Source on all four outlets (bypass_gate; codebox bench 5/5, contract bench 2/2) |
f_vf_erode | 4: picture tex + ctrl; terrain tex; vecfield; background tex | 2: tex (ink); tex (thickness) | Optional (picture required to draw) | Picture on both outlets (bypass_gate in enc; the solver keeps running). temporal |
f_tone_curve | 1: tex + ctrl | 1: tex | Required | Source passthrough (native @bypass, G-bypass-native) |
Geometry / UV Warp
| Module | Inlets | Outlets | Driving texture | Bypass output |
|---|---|---|---|---|
f_droste | 2: tex + ctrl; time_s scalar (in[1], the texture is on in[0]) | 1: tex | Required | Source passthrough (convention) |
f_mobius | 1: tex + ctrl | 1: tex | Required | Raw source passthrough |
f_poincare | 1: tex + ctrl | 1: tex | Required | Source passthrough (contract bench, 2026-11-07) |
f_lens | 5: source tex + ctrl; 4 mod tex (aberration, distortion, transmission, surface/gradient) | 1: tex | Required (source); mods Optional (unconnected = black = no modulation) | Raw source passthrough. ⚠ Incomplete: halation stays live |
f_stereo | 1: tex | 1: tex (circular disk) | Required | Raw unwarped texture, circular mask removed |
f_sirds | 2: pattern tex (+ctrl); depth tex | 1: tex | Pattern Required; depth Optional (unconnected = zero displacement, flat tiled pattern) | Raw pattern, undisplaced |
f_ngon | 1: tex + ctrl | 1: tex | Required | Raw unwarped source (mixed in by bypass; a value between 0 and 1 is a mix) |
Vecfield / Tensor Producers
| Module | Inlets | Outlets | Driving texture | Bypass output |
|---|---|---|---|---|
f_vf_vortex | 5: ctrl/bang; 4 mod tex (cx, cy, convergence, curl) | 1: vecfield | None (params only) | Neutral vecfield |
f_vf_vortex_multi | 5: ctrl/bang; 4 global mod tex (+ optional per-site position inlets) | 1: vecfield | None (params only) | Neutral vecfield |
f_vf_fieldmap | 1: tex (scalar-dominant) + ctrl | 1: vecfield | Required (no vs_inState: unconnected = no output) | Neutral vecfield |
f_vf_flow | 1: tex + ctrl | 1: vecfield | Required (unconnected = no output; red channel perturbs angle) | Neutral vecfield via bypass_gate (not an input passthrough) |
f_vf_repulse | 1: tex + ctrl | 1: vecfield | Required | Neutral vecfield |
f_vf_lk | 1: tex (live/video) + ctrl | 2: vecfield; confidence + axis (packed) | Required, and it must be moving (needs frame-to-frame change) | Passthrough: the source frame (out0); neutral confidence (out1) |
f_vf_fluid | 1: vecfield (force) + ctrl | 1: vecfield. temporal | Optional: solver keeps running with no force; existing flow coasts down at the drag rate | Connected: force passed through unmodified. Unconnected: neutral vecfield. Solver keeps running underneath |
f_vf_ch | 3: ctrl + optional phase-source tex; vecfield A; vecfield B | 2: phase (grey tex); blended vecfield. temporal | Both vecfields required (unconnected or non-vecfield reads as zero velocity); the in-0 texture is optional (nothing deposited without it) | Neutral outlets: mid grey and neutral vecfield. Solver keeps running underneath |
f_vf_lbm | 1: obstacle mask tex (white = obstacle) + ctrl | 1: vecfield. temporal | Optional: unconnected or black mask = no obstacle, a uniform wind; the solver runs with no input | Exactly neutral vecfield (0.5, 0.5, 0.5, 1); solver keeps running underneath |
f_vf_vorticity | 1: vecfield + ctrl | 1: vecfield | Required (zero force on unconnected/uniform input). Only legible through a temporal consumer | Unmodified input field |
f_chladni | 0 texture inlets (params / note / MIDI) | 3: luma (nodal lines); vecfield (gradient); scalar (magnitude) | None | out1 black; out2 neutral vecfield; out3 black |
f_quasi | 1: tex (optional; its size sets the aspect) + ctrl | 3: tex (banded look); vecfield (gradient, bounded); scalar (potential) | Optional: unconnected = vs_black, draws on its own from params | Look black, A = 1; vecfield neutral; potential black, A = 1 |
f_tf_tensormap | 1: tex (scalar-dominant) + ctrl | 2: tensor-raw; tensor-packed | Required (unconnected = neutral tensor on both) | Neutral tensor on both outlets |
f_tf_axisflow | 2: tensor-packed (tensormap out1) + ctrl; optional reference vecfield | 1: vecfield | Tensor Required (unconnected / isotropic = neutral vecfield); vecfield Optional (else constant angle) | Neutral vecfield |
f_tf_smooth | 1: tensor-raw + ctrl | 1: tensor-raw. temporal | Required (unconnected = field decays to all-zeros) | Exact passthrough of the inlet tensor (not a freeze) |
f_tf_sharpen | 1: tensor-raw + ctrl | 1: tensor-raw | Required (unconnected reads all-zeros) | Exact passthrough of the inlet tensor |
Tensor / Vecfield Consumers and Renderers
| Module | Inlets | Outlets | Driving texture | Bypass output |
|---|---|---|---|---|
f_tf_glyph | 2: tensor-raw (+ctrl); source tex (tint) | 1: tex (glyph composite) | Tensor Required (below-gate cells are empty); source tex Optional (unconnected = neutral white ink) | Passthrough of the source texture, not a neutral frame |
f_tf_aniso_blur | 2: tensor-raw; source tex (+ctrl) | 1: tex | Both needed: source unconnected = black output; tensor unconnected = isotropic fallback blur | Exact passthrough of inlet 1 (source) |
f_tf_hatch | 2: tensor-raw (+ctrl); stroke tex | 2: tex (streaks); tex (streak field) | Tensor Required; stroke tex Optional (unconnected = built-in blobs) | Black on both outlets |
f_vf_warp | 2: source tex (+ctrl); vecfield | 2: tex (composite, mix_pct); tex (warped layer) | Source Required; field Optional (unconnected = unwarped source) | Source on both outlets |
f_caustic | 2: source tex (+ctrl); vecfield (no vs_inState fallback) | 2: tex (composite); tex (isolated caustic layer) | Both Required. Field unconnected = composite is a silent source passthrough, caustic layer black | Source on both outlets |
f_vf_streak | 2: source tex (+ctrl); vecfield | 2: tex (composite); tex (isolated streak) | Source Required; field Optional (unconnected = streak layer shows the source, composite only differs via gain × mix_pct) | Source on both outlets |
f_vf_glow | 3: source tex (+ctrl); vecfield; radius mod tex | 2: tex (composite); tex (isolated glow) | Source Required; field Optional (unconnected = no spread, output equals source at default mix_pct); mod Optional | Source on both outlets (loop still runs at full cost) |
f_vf_resonate | 4: source tex (+ctrl); vecfield; radius mod; frequency mod | 2: tex (composite); tex (signed float32 layer) | Source Required; field Optional (unconnected = uniform angle direction); mods Optional | Source on both outlets (loop still runs) |
f_vf_chroma | 4: source tex (+ctrl); vecfield; hue mod; dispersion mod | 2: tex (composite); tex (isolated chroma layer) | Source Required; vecfield Required (gated by src_vecfield); mods Optional | Source on both outlets (loop still runs at full cost) |
f_vf_prism | 4: source tex (+ctrl); vecfield; reach mod; spread mod | 3: tex (composite); tex (isolated prism layer); vecfield (weighted dispersion direction) | Source Required; vecfield Required (gated by src_vecfield); mods Optional | bypass_gate: source on outlets 0-1, incoming vecfield on outlet 2 |
f_vf_advect | 2: source tex (+ctrl); vecfield | 3: tex (composite); tex (advected layer); vecfield (gradient of the accumulated flow). temporal | Source Required; field Optional (suppressed when unconnected) | Source passes; feedback loop keeps running, state not reset |
f_vf_potential | 3: tex trigger (+ctrl, content not read); vecfield; color tex | 1: scalar. temporal | Inlets 0 and 1 Required (one vecfield into both works); color tex Optional | Neutral (0, 0, 0, 1), NOT an input passthrough |
f_cores | 1: vecfield-style 2-vector (R, G = 0.5 + 0.5 x, y) + ctrl | 6: tex (marks, luma); tex (signed marks: R plus, G minus); float (count / Scale); bang (went up); bang (went down); float (rate / Scale) | Required, at the render size (nothing patched: not checked) | Black (0, 0, 0, 1) on the two texture outlets (bypass_gate in the shade stage); the float outlets send 0 and no bangs (contract bench checks the two textures only; not re-run since the merge) |
f_particles | 2: source tex (+ctrl; optional, vs_inState); field (vecfield or scalar in R; vs_inState) | 2: tex (composite); tex (density layer) | Source optional (unplugged: layer over black); field optional (unplugged: layer silent) | Source on both outlets (black if unplugged); the state keeps running |
Discrete-Item / Procedural Generators
| Module | Inlets | Outlets | Driving texture | Bypass output |
|---|---|---|---|---|
f_grain | 1: tex (optional) + ctrl | 3: tex (composite, has feedback layer); tex (grain mask); tex (displaced source) | Optional: input luma only gates grain intensity via luma_gate | Not specified in doc (toggle) |
f_masonry | 4: ctrl / render trigger; 3 mod tex (slot, brick, pixel) | 2: tex (composite); tex (mask) | None (self-sufficient, though labeled "processor") | Both outlets mix to the source texture from in0, so it only passes something if a texture is connected |
f_weave | 2: ctrl + across scalar (inlet 0, also the render trigger, also where tagged weight_tex / marklen_tex / irreg_tex textures arrive); along scalar | 1: tex | None (self-sufficient); scalars and tagged textures Optional | Black |
f_stipple | 1: tex (optional, dual-mode) + ctrl | 3: tex (composite); scalar (mask); tex (displaced source) | Optional: unconnected = source mode, standalone stipple from params; connected = processor mode | Source mode: black. Processor mode: source passthrough |
f_vf_seeds | 4: shape tex (+ctrl); vecfield; mod tex; color tex | 3: tex (mark color); scalar (mark mask); seed coord (rank 1 UV) | Shape tex Required; vecfield Required; mod and color Optional | Passthrough: the shape tex (out0); black mask and seed coord (out1, out2) |
f_cgl | 1: ctrl only (messages and the draw bang; no texture) | 2: look (RGB, A = 1; Hue+Luma, Phase, Amplitude or Gradient), and A as a vecfield (R, G = Re A, Im A, B = 0.5, A = 1). temporal | None (self-seeds from Noise or Uniform on load and on reset) | Outlet 1 black, alpha 1; outlet 2 the neutral vector (0.5, 0.5, 0.5, 1); solver keeps running underneath |
f_ks | 1: ctrl only (messages and the draw bang; no texture) | 1: tex (luma replicated to RGB, A = 1). temporal | None (self-seeds from noise on load and on reset) | Black, alpha 1; solver keeps running underneath |
f_nematic | 1: ctrl only (messages and the draw bang; no texture) | 3: raw tensor (f_tensor_type.md outlet 0, strength 1), packed tensor (outlet 1), schlieren look (RGB, A = 1). temporal | None (self-quenches on load and on reset) | Raw (0, 0.5, 0, 1) (the zero tensor, not black), packed (0.5, 0.5, 0, 0), schlieren black A = 1; solver keeps running underneath |
f_wc | 2: ctrl (messages and the draw bang); pulse tex (optional; luma replaces the internal square wave) | 1: tex (RGB: E, I, contour; or E / contour / luma per out_mode, A = 1). temporal | Optional (the pulse): unconnected = the internal square wave; self-seeds from noise on load and on reset | Black, alpha 1; solver keeps running underneath |
Routing / Utility / Audio
| Module | Inlets | Outlets | Driving texture | Bypass output |
|---|---|---|---|---|
f_texrouter | up to 4: tex | up to 4: tex | Required (routes whatever is patched in) | Freeze: holds last routed frame. Not a passthrough |
f_util_matrix_2 | 3: source tex A; source tex B; control (params, bypass) | 3: tex A passthrough; tex B passthrough; message outlet (<param> <source_idx> <amount>) | Sources Required to modulate anything; textures pass through unchanged | Zeroes all modulation amounts; texture passthrough unchanged |
f_util_profile | 1: tex + ctrl | 2: tex (row profile 128×1); tex (column profile 1×128) | Required | Freeze: holds last computed profile on both outlets |
f_vf_split | 1: vecfield | 2: scalar (X); scalar (Y), unipolar or bipolar | Required | Both outlets pass the source vecfield through unsplit |
f_vf_stamp | 2: stamp tex (+ctrl); vecfield | 2: tex (ink); vecfield (impulse) | Optional (empty = black ink, neutral impulse) | Outlet 1 passes inlet 0, outlet 2 passes inlet 1 or neutral |
f_a_decorrelate (audio) | 2: audio signal; control messages (<param> <value>, bypass 0/1) | 1: audio signal (35 ms latency) | Required (audio in) | Bypass crossfades (about 5 ms) to the input delayed by the wet latency |
f_a_purr (audio) | 2: breath phase 0-1 (signal, used when breath_src = 1); control messages | 2: purr; breath phase 0-1 | Optional | Bypass mutes outlet 1 only (about 5 ms slew); the breath phase keeps running |
f_a_ripple (audio) | 1: control messages (<param> <value>, bypass 0/1) | 1: audio (outlet~, mono) | None (self-timed generator, new stimulus every stim_dur) | Bypass mutes the output (about 5 ms slew), a generator's neutral being silence |
f_chladni_audio (audio to control) | 1: audio signal | 1 wired: messages m0amp … m7amp every 20 ms (a second outlet object exists, unwired) | Required (audio in) | No bypass control |
When a module here looks like a candidate, open its full doc at docs/f-reference/<module>.md for exact params, algorithm, and known issues before recommending it.Maintenance: add a row here whenever a new module gets a docs/f-reference/<name>.md doc. Keep one-liners to what distinguishes the module, not full behavior — that's what the linked doc is for.