Audio-inspired ideas that act on images
Started 2026-11-24. Status: ⚪ concept only. Nothing here was built or tried in Max.
Provenance. Brainstormed by Claude in chat with Matt on 2026-11-24, then grounded by offline reads of docs/ and the installed Vsynth package source. Overlap checks were keyword searches plus the module docs named below; none were run. Items marked (inferred) are worked out, not observed. Companion: ideas/dspless_control_modules.md (the control side: triggers, conditioner, clock). Matt wants to explore this more.
The frame
Audio ideas map onto images along four axes: time (each pixel is a signal sampled once per frame), space (a row, or a line along a vecfield, is a signal; spatial frequency is pitch), value (luma is amplitude) and analysis (audio descriptors computed on textures).
What Vsynth adds (offline reads, see docs/vsynth-reference/module-inventory.md): a control signal is a texture. A 1x1 float32 texture is a scalar, a 1xN texture is a list, a full frame is a field of independent control voices. So any audio idea that is one voice in audio can run per pixel here. This is the main doorway.
Already covered, so not to build
Wavefolding (vs_wavefolder), bitcrush (vs_degrader, vs_pixelator), ring mod and VCA (vs_op2 multiply, vs_vca), FM and PM (vs_wfg_3), sample and hold (vs_s&h, vs_s&h_spat), frame delay and random frame playback (vs_frame_delay), a symmetric temporal filter (vs_filter_temp), preset morph with easing (vs_preset_ease).
Doorways
A. Per-pixel dynamics
A state pix holding value, gate state and a hold counter in float32 RGBA (inferred; the channel-packing precedent is f_wave_field and f_tf_smooth). Gives:
- Asymmetric slew (separate rise and fall).
vs_filter_temphas one coefficient;f_tf_smoothhasreleaseonly and calls attack shaping a v2 door;f_vf_stamphas attack and release in frames, in its patcher. The vocabulary differs in every one of them. - Gate / expander with hysteresis and hold: pixels stay open for N ms after crossing.
- Compressor / limiter: gain from a smoothed level, per frame or per region.
- Peak hold with timed decay (
vs_feedbackhasmaxhold but no timed decay). - Sidechain / ducking: an envelope texture, inverted, into
vs_vca's modulator inlet. Works today if the envelope has a release. Neighbors:f_adapt(concept: one-pole memory modes, novelty, band-pass, resonator pair),jit.fx.tp.filter(a shipped two-pole filter, perf_tf_smooth.md). Open: a mode off_adapt, a module of its own, or the texture route of the conditioner (dspless_control_modules.mditem 5). Times in ms needdtfed each draw.
B. Wavetable and additive WFG
A WFG that reads a 1xN texture as its waveform (f_util_profile's 128x1 output is already one), with a position control that scans successive rows of a 2D texture (wavetable frames) and a crossfade between tables. Or additive: the row is the amplitude of each harmonic. The image's own luminance profile becomes the timbre of its stripes, a closed loop. Keep vs_wfg_3's FM, PM and PWM inlets and vs_inState on each. A fixed unrolled harmonic count is likely, since jit.gl.pix loops are limited (inferred; see jit-gen-codebox).
C. A spatial crossover, then a spatial EQ
vs_3bandsplit and vs_band_splitter split by luma value, not spatial frequency, and the spatial filters are lp / hp (2x, 4x) and a 3x3 convolution. A three-band split by spatial frequency (difference of Gaussians or a Laplacian pyramid), plus vs_vca per band and a mixer, is an EQ from existing parts. f_tf_sharpen is an eigengap operator, not image sharpening. f_util_analysis's "dominant frequency" could set a band center (auto-tracking).
D. Resonant and comb taps along a field
f_vf_streak weights its 8 taps with mix(1, 1 - n/7, falloff) and lets falloff reach 1.99, so negative tail weights already give a boosted leading edge (its doc, "expressive artifact territory"). f_vf_glow weights 48 taps with exp(-i * i * falloff) plus jitter, and its loop runs at full cost even when bypassed (0.057 ms at 512², its doc). A cosine term on the weights gives a resonant filter (decaying ripples along edges, with a Q); evenly spaced taps give a comb echo. Both read the field once per pixel and walk a straight line.
E. Time-axis effects
- Multi-tap echo with a degrading loop: each repeat blurrier, darker or hue-shifted.
- Reverb of motion: parallel taps of different lengths plus diffusion.
f_adapt's one exponential memory smears; this gives rhythmic tails. - Flanger, chorus, phaser: a short delay modulated by an LFO and mixed with the dry frame; the spatial form is a wobbling ghost offset.
- Granular on frames:
vs_frame_delayhas random and counter indexes andxfade, so grains with windows are a step from it. How its texture set exposes frames to a second pix by name is unchecked. - Freeze / stutter on a
bang(vs_s&hdoes the freeze), tape wow and flutter.
F. Closing the loop (proprioception)
f_util_profile → conditioner → f_vf_glow radius mod is already a documented flow. More: an envelope filter (blur radius or EQ band follows the image's own level), the auto-exposure compressor, and the self-triggering visual onset in dspless_control_modules.md item 6. Readback is one frame late (asyncread, interleaved), and the loop closure adds its own.
G. Analysis descriptors
See dspless_control_modules.md item 8: spectral-shape statistics on a profile or histogram, edge density, periodicity, scene cut, novelty. Reuses the f_util_profile readback and jit.3m.
H. Cross-synthesis
Fleshed out 2026-11-24 in ideas/cross_synthesis.md (signal flows, costs, a ranking). One line each:
- Spatial vocoder: A's local band energy sets the gain of the same band in B; spatial-domain, needs idea C's band split, no FFT.
- Mid and side for textures: (A+B)/2 and (A-B)/2 around mid-gray; time case overlaps
f_adaptnovelty;vs_op2is 8-bit, so a float32 encode/decode pair is the real new piece. - Convolution as visual reverb: an impulse-response texture; needs the repo's GPU DFT (256², about 4 passes).
- Phase and magnitude swap, frequency shifter: the swap shares the convolution's DFT chain; the shifter is speculative (ring mod is already covered, single sideband is the new part).
I. Tuning
A harmonic-ratio macro (f_util_harmonics): one fundamental plus a ratio table (just or equal) driving the frequency dials of several generators, so simple ratios give coherent patterns and complex ones busy beating. Neighbors: f_util_compound_dial, f_util_vary, the vs_sync_time ratio table, f_quasi (a sum of plane waves). Explicit moiré beating (a "detune" between two gratings) is a variant.
J. A hard-sync bus
trig_res is a global reset that vs_newTime listens for. A source that fires it at chosen intervals restarts the WFG family together, like oscillator sync (inferred from the vocabulary doc; not run). The trigger source is dspless_control_modules.md items 1 to 3.
K. The vector domain, where audio tools are native
Added 2026-11-24 after reading patchers/vector/ (docs/vsynth-reference/module-inventory.md, "Vector Subsystem"; offline, nothing run). Vsynth's vector family carries audio-rate XY (and B, brightness) signals for an oscilloscope in XY mode; DSP is its medium, and f_ has no module in it. There the audio ideas in this file are not analogies: an audio effect on X and Y is a visual effect on the drawing (inferred, not tried):
- Lowpass on X and Y: rounds corners, softens shapes; the cutoff is the corner radius. A slew limiter is a maximum beam speed.
- Different delays on X and Y, or an allpass on one axis: shear and Lissajous phase.
- Waveshaper or wavefolder on X and Y: folds the drawing back on itself.
- Sample and hold or quantize on XY: a stair-stepped, polygonized path (
vector_degraderis a quantizer already). - Echo and comb on the path: repeated, fading copies of a shape.
- Envelope follower and sidechain on B: brightness shaped by another signal's level.
- AM or FM of the scan: scale pulsing;
vector_twirlis rotation by a growing angle. Existing modules to build beside:vector_translation_scale,vector_displacement,vector_twirl,vector_degrader,vector_scale_bias,vector_crossfader.
Bridges to this file's raster ideas, both in the package already: vector_audio2tex turns an XY-B path into a texture, so a raster effect becomes a software phosphor on a vector drawing (f_vf_glow as CRT bloom, f_vf_advect or an f_adapt memory as persistence, per the module docs). vector_tex2audio and the texture-taking generators (raster, grid, outline) go the other way. A doorway not in the package: a vecfield sampled at the beam's coordinates to displace a vector path by an f_ field, "f_vf_warp for paths". It needs a readback of the field into a matrix, as vector_tex2audio does with jit.peek~ (inferred).
The DSP-less control modules (dspless_control_modules.md) drive vector parameters too: the vector modules take named messages (x, y, scale, angle, xm) smoothed by a p bline. Open: is oscilloscope or vector-display output something Matt will perform with? It needs an interface running at 192 kHz (per the vector launcher help) and, for hardware, a DC-coupled path; neither was checked. Until then this is a doorway to know about, not one to walk.
Rough value order (a recommendation, not a decision)
- A (per-pixel dynamics) and the shared attack / release vocabulary: it unlocks ducking, compression, gates and peak hold, and links the scalar conditioner to fields.
- B (wavetable / additive WFG): native to Vsynth, uses an existing output.
- D (resonant streak): a small change to taps that already exist.
- C (spatial crossover): one missing building block.
- G and F: reuse readback and the conditioner.
- E, H, I, J as consumers or interest appear.
Open questions
- A in
f_adapt, a new module, or the conditioner's texture route? - Does a second pix read named frames from
vs_frame_delay's set? - B: how many harmonics, and a 2D scan or a 1D table first?
- D: a mode on
f_vf_glowandf_vf_streak, or a module of its own? - Cost: none of these was measured.
Gates
Scanned .specify/gates.md 2026-11-24: no row touched. A new module here would touch G-menu (category).