With `--mode sigil --under sigil-tunnel` (the energy look) the sigil
dims to half its glow as a build's tension rises and flares on the
drop's release, while the tunnel brightens, opens up and speeds toward
the drop. The rings widen with tension, cancelling the figure's own
build contraction, a gap pulls them in toward the axis and the release
throws them back out.
Each ring now carries its own points: the figure as it was half a beat
earlier per ring of distance, interpolated from a 4 s history, so a
morph, kick or spin ripples away down the corridor. Parked slots are
never interpolated, so nothing streaks in from the park position.
The flight takes the light tunnel's bar lock: half, one or two rings a
beat by section, phase-pulled so a ring passes on every beat and the
accent ring on the downbeat. Builds speed up with tension, gaps stall.
The ring twist and axis bends now divide the 1024-ring wrap, so the
wrap no longer pops.
Per-ring bounds (inner and outer radius, half depth) let a ray skip
rings it never comes near: a 20 s 432x540 clip renders in 18 s instead
of 62 s (23 s before the echo), with identical output.
`--look energy` (Syzy-inspired): a bass-driven sigil on lissajous,
supershape and knot forms over a Sigil Tunnel of its own rings, in a new
`energy` palette (electric cyan through violet, ice-white highlights),
Riddim modulation preset, short trails and no grain, scanlines, strobe,
freeze, glitch or swirl.
Looks can now name a background layer (`Look::under`). The CLI applies
it with `--look` (an explicit `--under` still wins) and the launcher sets
it when a look card is applied, clearing the scene list; the launcher
also emits `--lattice` when the light tunnel is the background.
Elastic Matter (`--mode elastic`): twisted thin-film membranes, an
inflating cutaway bubble and 24 spring-driven droplets that strikes tear
loose and springs pull back. Gaps slow physical time, drops expand the
scene. Direct audio response, no modulation graph.
Sigil Tunnel (`--mode sigil-tunnel`): a flight down a corridor of rings,
each the live sigil figure (spine, ribs, debris, spokes) spun and
flattened on the CPU, repeated along a bending axis with a per-ring
twist and shaded with sigil's closest-approach glow, colours and
feedback. Closest approach to each capsule is solved analytically
(14 rings x 48 segments per pixel, no raymarch). Near rings fade out
before they turn into end-on bands, the vanishing point stays dark so a
sigil drawn over it reads, and the trail is short. Shares sigil's
generator, backbone picker and modulation graph; the UBO gains one
flight row.
Both modes are in the live cycle, the launcher's Shape section, the
preview, timeline scenes and offline render.
Drops are now detected directly: runs of at least 8 bars near the
track's top combined energy + bass level, entered after a lift (a dip
in the bars before) or a step up, tolerating short fills, skipping
teasers. Their edges are forced section boundaries, novelty peaks inside
a drop are ignored, and drop runs set the Drop archetype. Bar loudness
is averaged as power instead of dB, and neighbouring sections of the
same kind and similar energy merge, so a drop is one section and drop
escalation counts real drops.
Shot changes now keep the camera's position and velocity and ease
through yaw, pitch, roll, dolly and framing; an orbit is entered and
left at the nearest equivalent yaw. Drops move faster, quiet sections
slower. With no hard cuts left, the modes no longer drop their feedback
trail on a cut, and the director no longer tracks held motion-blur
frames.
The AppImage and the Windows zip now carry whisper-cli, sigil-vocals,
ONNX Runtime and the models, so Transcribe works without installing
anything. whisper-cli is built from the whisper.cpp source release with
static ggml, no OpenMP and no SDL (AVX2/FMA/F16C on): on Linux it needs only
glibc, and the mingw cross-build links fully static and needs only the
UCRT. ONNX Runtime is Microsoft's prebuilt library, placed next to
sigil-vocals, which loads it from there. The models (ggml-base and
UVR_MDXNET_1_9703 by default) go in models/ next to the launcher, where it
already looks. License files for ONNX Runtime and whisper.cpp are included.
Toggles, all cached in ~/.cache/sigil-build: WITH_STT=0 leaves it all out,
WITH_MODELS=0 ships the programs only (the launcher downloads models on
demand), WHISPER_MODEL / VOCAL_MODEL pick other models, WHISPER_VERSION /
ORT_VERSION pin the releases. onnxruntime.dll needs the Visual C++ runtime;
VCRT_DIR copies those DLLs into the zip, and the README and sigil-vocals'
error point at the redistributable otherwise.
Checked: both bundles build; from the extracted AppImage and under wine,
sigil-vocals isolates a 15 s clip and whisper-cli transcribes the stem.
Transcribe now runs sigil-vocals first (on by default): the track is
decoded to 44.1 kHz, the vocal stem comes back and is cached as 16 kHz mono
in the data folder's vocals/ (rebuilt when the track is newer), and
whisper-cli hears that instead of the full mix. It catches words the drop
used to drown out; -mc 0 keeps whisper from looping on a phrase. Without
sigil-vocals or a model, transcription falls back to the full mix and says
so.
"Fit to the vocals" in the lyric editor uses the same stem to end each
line where the singing stops (a pause of 1.2 s or more, plus 0.35 s, held
at least a second) and adds a blank stamp when the next line is a second or
more away, so hand-made lyrics without clears stop hanging into the drop.
Only end times change; it works on the launcher's own copy, never the
user's .lrc.
Settings gains a Vocal isolation section: on/off, the sigil-vocals program
(found like whisper-cli, or picked) and the model, picked or downloaded
(UVR_MDXNET_1_9703, the fast default, or Kim_Vocal_2).
A small CLI that runs an MDX-Net vocal model (the ONNX files from the
Ultimate Vocal Remover set, e.g. UVR_MDXNET_1_9703 or Kim_Vocal_2) on a
44.1 kHz WAV and writes the vocal stem, so speech to text hears the words
instead of the drop. The mix is cut into overlapping chunks, STFT'd
(periodic Hann, hop 1024, centred) and fed to the model as L/R real and
imaginary planes, as UVR does; known models bring their n_fft, dim_f and
level compensation, others get dim_f from the model's input shape.
ONNX Runtime is loaded at run time (ort's load-dynamic): $ORT_DYLIB_PATH,
else the library next to the program, else the system's. Nothing links,
so the mingw cross-build works and the bundles ship Microsoft's prebuilt
library. Pure-Rust tract was tried first and was about three times slower.
Progress goes to stderr as "progress = N%", the same line whisper-cli
prints. CI runs its tests and cross-builds it for Windows.
Text > Lyrics can transcribe a track that has no lyrics: the launcher
decodes it with ffmpeg, runs whisper.cpp's whisper-cli (found like ffmpeg,
or picked in Settings) for word timings, regroups the words into lines
(punctuation, pauses, ~42 characters; [Music] and notes dropped, blank
stamps in long gaps) and saves its own .lrc under the data folder.
Edit lines turns the lyric list into an editor: retime (drag, type, or set
to the play head), reword, remove, add at the play head, shift all. Edits go
to the launcher's own copy, never to the user's .lrc; re-transcribing over
edits asks first. Settings gains a Speech to text panel: the program, the
model (found, picked, or downloaded with curl) and the language.
The launcher's lyric editor saves as you type; a live window and the
preview now poll the --lyrics file (or the .lrc next to the track for
auto) every 250 ms and take the new lines. Renders never watch.
The Text section gains a Captions panel (text with {title}/{artist}, place,
size, pulse, and when it shows: the whole song, between times, during /
from / until a kind of section), a place picker for the title card, place
and size for the lyrics, and letter / glow colour overrides. All of it is
part of the look.
Up to four --text captions, each with its own place (top, center, bottom,
corners), size, kick pulse and timing: always, between times, during a
kind of section, or from / until one ("from-drop" = after the first drop
to the end). Section timing comes from the score (render, preview); live
knows times and the drop it hears. {title}/{artist} fill in from the track.
The --text-* flags bind to the --text before them.
Captions draw into a second mask (one channel each) so every caption fades
on its own clock. The card and lyrics can move too (--card-place,
--lyrics-place, --lyrics-size), and --text-color / --glow-color override
the palette's colours. Place, When and Caption live in sigil-model, with
write_lrc for the launcher's lyric editor.
Output gets a Controllers panel for live runs: a MIDI input picked from
the list sigil reports (--midi-ports), the knob CCs typed or left to
learn, and an OSC port. They are emitted for a live window only, never
for a render or the preview, and stay with the session rather than a
look. Their knobs and pads show up as the ctl1..ctl8 and pad rows in
Modulation.
Roadmap: MIDI/OSC done; recording controller moves for renders and
MIDI learn in the matrix logged as follow-ups.
New sources ctl1..ctl8 (knobs) and pad (a hit's velocity, decaying over
a quarter second). --midi [NAME] opens a MIDI input; the first eight CCs
that move become the knobs, or --midi-cc 21,22,... fixes the mapping,
and note-ons hit the pad. --osc PORT takes /sigil/ctl/1..8 and
/sigil/pad over UDP. --midi-ports lists the inputs.
Listener threads write atomics that the live loop copies into the
frame's Bands. Renders and the preview never open controllers, so their
sources stay 0 and output stays reproducible. Tested end to end through
an ALSA virtual port and a UDP socket; the live window itself was not
run (no display with a GPU here). Windows cross-check builds.
Title card, synced lyrics, kinetic type and font, emitted as sigil's
text flags for renders, the preview and live runs. The style is part of
a look; the words (title and artist overrides, a picked .lrc) are kept
per track like timeline edits. The lyrics are listed with their times,
the line at the play head lit; clicking one plays from it.
Roadmap: text layer and the clip's title card done.
--card shows the track's title and artist (from its tags, or --title /
--artist) over the first seconds, or over a highlight clip's first
seconds. --lyrics reads synced lyrics from an LRC file, the .lrc next to
the track, or the track's lyrics tag. --kinetic punches the words on
kicks during drops and slams the title in at each drop. --font swaps the
bundled Noto Sans Bold.
Glyphs are drawn on the CPU (ab_glyph) into a mask with one channel per
slot and a quarter-size blurred copy for the glow and the shade behind
the words. A small composite pass runs after the image chain; it is
skipped when no words are showing. Everything is a function of song
time and the frame's bands, so renders stay bit-reproducible and the
preview matches them. The LRC parser lives in sigil-model.
The preview sends the form it reads off the track; the launcher shows it
as a strip under the scrub bar and in a new Timeline section. Per section:
kind, which earlier section it repeats, intensity and the visualiser it
shows. Borders drag, sections split at the play head and merge, and a
reset goes back to the analysis. Edits are kept per track (never in a
look), reach the preview over its score command and a render as --score.
Seeking to a section lands just past its start: the frame at the exact
start time can still belong to the section before.
Arch, Section and Score now live in sigil_model::form so the launcher can
show and edit the form the engine reads off the audio. Sections gain an
optional mode: a section naming a mode shows it (a Stack layer past the
--scenes that only shows where asked for).
--analyze --score-out prints the analysed form as RON; --score FILE uses
an edited one for a render or preview (fitted to the track's length).
The preview sends its analysed form once (SGS1) and takes a 'score'
command that swaps the form and re-simulates.
A causal median-filter HPSS in Analyzer::hpss: per bin, the median over
the last 9 hops estimates the harmonic part and the median over ±8 bins
the percussive part; soft masks share each bin's energy. Bands gains
harm and perc, and the modulation graph the Harm and Perc sources, so
drums and pads can drive different parts of a look. Same code live and
offline.
--cover [PATH] reads the track's embedded front cover (or a cover,
folder or front image next to it, or PATH), clusters it in OKLab and
casts the clusters as hue range, accent, highlight and a dark background.
They layer over the palette as custom colours; explicit colour flags
win. The launcher's Colours section gets a toggle.
Two display-stage effects in the shared FX table: lens (a soft vignette
and slight barrel bulge) and shift (rotates the hues about grey for a
moment on a strong harmonic change, not in the first seconds where the
chroma average warms up). Both default on like every FX flag.
--clip [SECS] (default 30) renders only the window around the song's
hardest drop, a quarter of it before the drop so the build leads in
(Score::highlight). The simulation fast-forwards without drawing to a
second before the window, then draws an unencoded second so trails are
full on the first frame; ffmpeg seeks the audio to match. The score is
now read in render::start. The launcher's Output section gets a toggle;
its default output becomes <name>-highlight.<ext>.
A Stack visualiser owns several modes. --under <mode> draws a second
mode behind the main one, covered where the main mode glows. --scenes
a,b rotates the song's sections through more modes after --mode: each
section shows the scene its score label picks (a repeated chorus comes
back in the same mode), builds keep the scene before them, drops cut
hard and other changes dissolve with the incoming scene's light breaking
through first. Hidden layers keep updating and drop their stale history
when shown again. The launcher's Visualiser section gets a layers row.
Mode shaders now write two targets: the clamped history their feedback
loop reads (float16 now, so trails no longer band) and the unclamped
HDR frame. A display stage in ShaderPipeline blooms the HDR frame with a
5-level pyramid outside any feedback loop, applies the strobe as an
exposure push instead of a flat pastel fill (so the strobe no longer
enters the trails and the un-strobe step is gone), tonemaps with a soft
shoulder above 0.8 and writes the 8-bit output.
--motion-blur N draws N sub-frames per output frame across a full
shutter and averages them in linear light. Only the last sub-frame
enters the feedback history (ShaderPipeline::hold, ImageChain::hold),
so trails keep their per-frame tuning; a director cut stays raised
until the committed sub-frame. field steps its sim at the finer dt
instead. The launcher's Output section gets a slider.
Hero shots sit at 0.85 of the mode's rest distance and the wide end of
ophanim, sigil and ferro comes in (1.2 / 1.25 / 1.15): the rest framing
left the subject at a quarter of the frame.
Structure::regime blends a drop's look from the groove look toward the
full drop by the score's intensity (first drop 0.55 of the way, last
all out), and a drop's release pulse scales with it. Every mode's Regime
gets a field-wise Mix (mix_fields!); beat-locked or discrete fields take
the drop's value.
viz/score.rs builds a Score from the whole timeline: bars from the bar
clock, z-scored per-bar features, a self-similarity matrix and Foote
novelty for section boundaries, labels for sections that repeat,
archetypes from the energy arc (builds = the bars before a drop) and a
drop escalation. --analyze prints it, --render logs it.
Render and the launcher preview install it into each mode's Structure,
which then takes the section, build tension and drop release from the
score at its song clock: sections change on their exact bar and a build
reaches full tension on the drop frame. Structure::cue feeds the
director, which cuts on every scored section change, holds phrase cuts
that would land just before one, and restarts its shot stream from the
section label, so a repeated chorus gets the same shots. Live stays
reactive.
level_db and low_db are the overall and low-band levels before AGC. The
AGC'd loud/low drift toward 1 within ~15 s, so they cannot compare a
breakdown with a drop a minute later; the song-form analysis needs that.
field's state is its frame (the smoke sim advects the previous frame), so
the camera cannot move inside the sim. A second pass (field_view.wgsl,
on the image-graph pass primitives) frames the finished sim frame
instead: zoom in, pan and a little roll. view() raises the zoom where a
roll or pan would show an edge, so the view never leaves the sim frame.
--camera static skips the pass.
The vanishing point moves to the shot's framing offset (feedback zooms out
from the moved point), the shot's roll and gaze add to the tunnel's own
bank, and distance becomes the lens since the camera rides the axis.
A framing row (roll + offset) joins the UBO header, so the points move to
PTS_OFF 64. The director's orbit adds to the figure's own tumble; distance
and zoom scale its dolly and lens.
The kick crowns and the spike sharpening now aim at the director's camera
(last frame's view, so update stays free of render state). The ophanim
field is renamed to match.
viz/director.rs picks a shot (hero, wide, close-up, low, high, profile,
Dutch tilt, orbit) and cuts on every phrase (4/8/16 bars by section) and on
section changes; drops cut hard, quiet sections glide, builds push in, kicks
in a drop shake the framing. Each mode maps the shot through its own Lens.
ophanim uses it via a new UBO row (roll + framing offset). --camera static
keeps the fixed front camera.
The six serrated blades fanned from the centre read as a cannabis leaf.
Each wing now has a shoulder off to the side, an arm, a fan of round-tipped
primaries and a row of coverts, drawn in occlusion order.
build-appimage.sh rescaled audio-visualizer/sigil.png into the AppImage
icon, but that file went out with the stale screenshots in 7a760f2, so the
Linux build died at the icon step. Keep a pre-scaled 256x256 copy in
assets/sigil-icon.png and copy it, so screenshot cleanups can't break it.
LoopMode::Rate in nannou 0.19 behaves like RefreshSync, and live presents
with Mailbox, so nothing held the loop back: a fast GPU ran the live window
at hundreds of fps (here a small window ran ~390 fps against a 60 target).
The look is tuned per frame (feedback decay, onset flags read once per
analysis hop, grain/strobe cadence), so trails smeared and triggers fired
several times over.
update now sleeps each live frame to its target_fps slot; a late frame
starts at once and the schedule restarts instead of bursting. Render stays
uncapped.
The stage replaces the launch panel: a preview of the render (a sigil
--preview child whose frames arrive over its stdout) with play/pause,
scrubbing and a 360p/540p/720p size, and a render bar under it with
the track, a summary of the video and the Render video button. A live
window (track, mic, system audio, loopback) is a menu next to it.
Every edit reaches the running preview as a new argument list; the
preview always gets a routes file so graph edits reach it too. It
restarts per track, pauses while a render or live window runs, and
shows a checkerboard behind transparent output. The section editor
moves next to the rail; Output shows the video and live settings
together. sigil children no longer open a console window on Windows.
The visuals integrate their state frame by frame, so a preview that
only warmed up for a second after a seek showed a different shape than
the render at the same moment. The preview now steps on the render's
frame grid (frame n at n / render_fps, fixed dt) and re-simulates from
0 s after a seek or rebuild: the CPU half of every frame, the GPU half
for the last second only. A seek to 250 s takes well under a second;
sigil, tunnel, ophanim and ferro match a real render within encoding
noise, field (GPU smoke) approximately.
scene::step splits into advance (CPU) and draw (GPU). A bad argument
list no longer replaces the last good one.
sigil --preview <file> plays the track itself (new seekable player) and
renders the frames a --render of the same flags would draw, at a small
size, onto stdout. stdin takes play/pause/seek and whole new argument
lists; colours, gains and effects apply in place, a new visualiser,
form or size rebuilds and warms up for a second. A bad flag no longer
kills a running preview.
The decode loop is shared: analyze_file and the in-memory Decoded track
run the same TimelineBuilder, so the preview analyses what a render
does. The per-frame scene step moved to scene.rs for both loops.
The quick start plus seven-step wizard is replaced by one page: a rail
of sections on the left (Look, Colours, Shape, Motion, Effects,
Modulation, Output, Settings), the selected section in the middle, and
a launch panel on the right with the track, live vs render, a summary
of the output and the big button with the run's progress. Every setting
is one click away; nothing is gated behind Next.
- Colours: palette cards plus an editor for picked colours (bass and
bright hue, accent, highlight, background, saturation, brightness)
sent as sigil's new colour flags, with a gradient preview; colour
sets can be saved as palettes.
- Looks: saved setups (formerly profiles, still loaded from old saves)
show in the gallery next to the genre looks, with apply, rename and
delete. A look keeps the track, output and paths of the session.
- Effects: effect cards, bloom strength, feedback, transparency. The
transparency toggle switches the render container so alpha survives.
- Shape: visualiser cards and toggleable form cards with thumbnails.
- Settings: dark, light or system theme and an accent colour for the
launcher, the sigil binary with a way back to the bundled one, the
exact command, the live keys.
- Renders go next to the current track unless a path is chosen; old
saves drop the quick start's stale output path.
With only --hue-from (or --hue-to) set, both arc ends took the picked
hue and the colour stopped moving with the music. The unpicked end now
keeps the palette's arc end (or the stock arc's).
--hue-from, --hue-to, --accent, --highlight and --background take #rrggbb
colours layered over --palette (or the look's palette); --saturation and
--brightness trim the result. --bloom sets the halo strength that was a
fixed 0.5. The shaders still cap bloom where the feedback trail would run
away (about 0.5), so in practice it turns the glow down. Defaults render
unchanged.
CustomColors layers picked colours over a palette's grade: a bass and a
bright colour whose OKLCH hues become the arc the music sweeps (with
lightness and saturation leaning toward the picks), an accent hue, and
literal highlight and background colours, plus saturation and brightness
trims. Unset slots keep the palette's own, so an empty set changes
nothing.
Also adds the sRGB to OKLCH inverse, hex parsing and formatting, and a
Grade::sweep for gradient previews; swatch() moves onto Grade so custom
grades can show one.
cargo reads audio-visualizer/.cargo/config.toml from the cwd, not from
--manifest-path, and a RUSTFLAGS env var replaces config rustflags anyway,
so the script's sigil.exe lost --export-all-symbols and with it the
NvOptimus/PowerXpress hints. Pass the flag explicitly.
Theme: egui keeps separate dark and light styles, and set_visuals only
wrote the active one (dark, before the first frame). On a Windows machine
in light mode the window switched to egui's untouched light style on
frame one while the cards kept painting dark colours. Both styles are now
installed, the theme preference is set explicitly (dark by default), and
every painted colour comes from per-frame tokens that follow the active
theme and accent.
Paths: the launcher saved an absolute sigil path once and never looked
again, so moving or re-extracting the bundle left a dead path that was
only editable on the last wizard step and came back with every profile.
sigil is now resolved each time: an optional override if it exists, else
the sigil next to the launcher, else PATH. ffmpeg is looked up next to
the launcher too, and its folder goes first on the child's PATH, so the
bundled ffmpeg is found. Neither the override nor the launcher theme is
stored in a profile.
egui-snarl 0.12 reserves the output pin's width to the right of the
right-to-left cursor, so the label sat under the pin and was clipped by
the node frame. Add the pin's width as space before the label.
The flow field was layered fBm over black and read as grainy haze. Now
the feedback loop runs a small smoke simulation: each frame the previous
frame is advected (RK2 back-trace) along buoyancy + curl noise (3D
simplex, so eddies evolve) + the emitters' own flow, thins out with
height, and emitters add smoke with over-compositing.
- Two plumes breathe with the bass line; kicks and downbeats blow puffs
that spread and spin; the drop landing bursts; hats throw embers the
smoke drags into streaks; a gap shuts the plumes and the smoke hangs.
- Sections set the mood (drift, fill, billow, hang); growl gives finer
eddies, mids stir.
- Grain and scanlines are skipped here (they would build up in the
smoke); the strobe is undone from the history like ophanim's.
- --no-feedback draws a still noise plume instead.
- --mode smoke is an alias for field; launcher and docs say smoke.
The holographic lattice read as white noise: a raymarched strut lattice
under a per-pixel dot mask, washed out by long feedback. Replace it with
one clear image: a tunnel of neon rings the camera flies down, a ring per
beat phase-locked to the bar, the downbeat ring in the accent colour.
- Kicks (new WAVE trigger) send light waves racing away down the tunnel;
hats run packets down the corner rails and dust motes fly past; a gap
blacks the rings out, the drop opens the light at the end.
- Sections set the speed (1/2, 1 or 2 rings a beat) and the shape. The
six --lattice names now pick profiles (square, wavy circle, beaded
hexagon, diamond, circle, twisting hexagon).
- No raymarch: each pixel tests 40 ring planes, so cost is flat and the
lines are anti-aliased.
- Target ids 0..=18 keep their slots (renamed: radius, width, wobble,
twist, glow, dust, speed, punch, focal, rails, core); WAVE is 19.
- Launcher: profile thumbnails and new copy.
Three bass-music looks, one per mode family, all on the Riddim modulation
preset:
- Riddim: the ferro drop in the riddim style, steel and acid green.
- Tearout: a tunnel through helix, cubic and octahedral lattices that slams
shut in every gap and flares on the drop, in ember.
- Melodic Dubstep: a soft gold sigil (rose, spirograph, lissajous) that throbs
with the bass line, no grit.
A look can now carry a bass style (ferro only); both the engine's --look and
the launcher's quick-start apply it, and --bass-style still overrides it. The
new Toxic palette is steel with an acid-green accent.
The bin's bass pump (--low, the launcher's throb slider) now swells the drop
by up to about 10 percent, smoothed like ophanim's so a kick does not double
its size.
ferro gets a mode card, its own saved modulation graph, retitled gain
sliders and a bass-style picker on the visualiser step. auto (the default)
emits nothing, so sigil picks the style from the track; a picked style is
passed as --bass-style. The review step shows the style.
A fifth mode: a ferrofluid drop whose magnetic field is the bass. Ported from
the pl8list browser visualiser, where the drop is a vertex-displaced sphere;
here the same displacement (music-driven simplex lobes, terraces, crinkles,
thorns and a kick shock wave, plus 60 spike cones on a Fibonacci lattice) is
raymarched as a radial height field inside a bounding sphere, and the light it
throws on a wall behind it is analytic.
The CPU side steps the spikes and the squash-and-stretch springs: every womb
of the bass line raises the lattice, kicks charge the spots round the rim the
bar position picks (one per beat for riddim, so the same crown rises every
bar), snares jolt them, a gap melts them flat and the BURST trigger (the drop
landing by default) shoots them all out. Sections scale the field, so intros
stay calm and drops go full hedgehog.
The character comes from a bass style in sigil-model (dubstep, riddim,
tearout, deathstep, melodic, colourbass, halftime, wonk), picked with
--bass-style or from the track's tempo and tonality. The mode is
graph-capable with its own target table and default graph; the Riddim preset
covers it too. Downbeat triggers now fire at 0.6, so a 30 fps render cannot
sample past the pulse.
The CPU half is a separate Sim struct, so tests step it headless: kicks raise
a crown, a gap melts it, the drop bursts every spike once, and the shader
validates under naga with a uniform block the size of the CPU struct.
The sandbox and CI have no GPU, so a WGSL error only showed up when the
pipeline was created on a real device. naga (the same version wgpu uses) now
parses and validates every mode shader, with effects.wgsl prepended as the
pipeline builds it, as a dev-dependency test. A helper also checks that a
shader's uniform block is the size of the CPU-side struct.
Nine new sources in a "bass music" group: sub, bass, growl, wobble,
wobble_rate, drop, gap, bar and downbeat. RON stores variant names, so
existing route files still load; the matrix and the node editor list the new
rows automatically.
The Riddim preset is the stock graph for every graph mode with the loudness
routes halved (a drop pins loudness at its ceiling) and a per-mode set of
bass routes on top: the bass-line envelope throbs the form, the growl
roughens it, a drop flares the glow, a gap collapses it, and the strobe fires
on the downbeat.
Loudness is useless for dubstep and riddim: in a drop the sub sits at its
ceiling and nothing moves. The movement is in the changes, so the analyser
now also tracks the bass line's own envelope (every "womb" of a wobble), how
open the wobble's filter is (growl), how fast the mids move, the wobble rate,
drops, gaps (the stop before a drop) and the position in a 4-beat bar with a
downbeat pulse locked onto the strongest kicks.
Ported from the pl8list browser visualiser's feature tracker, which runs on
the same 2048-point FFT. It lives in a new bass module stepped from
Analyzer::compute, so live and --render see identical values. --analyze
prints the share of drop and gap frames, the median wobble rate and the
downbeat count.
A fourth mode for angelcore: three gold rings on gimbals, covered in eyes
that open on the kick, mid and hat onsets, around a glowing core with six
feathered wing blades and light shafts. Only the rings and eyes are
raymarched (inside a bounding sphere); the core, wings and shafts are
analytic, so it renders about 4x faster than tunnel. Sections drive it: a
drop opens every eye and speeds the rings up, a build pulls them into line,
a breakdown folds the wings. The track fingerprint picks the eye count.
It frames by the short side, so 16:9, 9:16 and 4:3 all fit, and mattes
cleanly with --transparent.
It is graph-capable: sigil-model gets an ophanim target table (effects at
ids 7..=11 like the other modes, plus spin, tilt, eyes, core, wings, rays
and a blink trigger) and Graph::default_ophanim. Preset::graph now takes a
GraphMode instead of a sigil/tunnel bool, which also carries each mode's
target table and default graph.
That fixes the live overlay and the launcher treating every non-sigil mode
as tunnel: field no longer shows a tunnel matrix or lattice picker. The
launcher lists ophanim as a visualiser with its own saved graph.
The launcher opens on a one-screen quick start: drop a track, pick a genre
look card (with palette swatches) and an output (live preview, MP4, or a
transparent ProRes editor element, in 16:9, 9:16 or 4:3), then render.
The full wizard stays one click away under Advanced with the same settings,
and gains a palette picker; applying a look fills mode, form, gains,
effects, modulation preset and palette.
Launched runs now stream sigil's output: a progress bar with fps and ETA,
Cancel/Stop, and Open folder when done. Closing the window mid-render is
refused, since dropping the pipes would kill the encode. sigil-gui <file>
starts with that track selected.
Also adds a theme module (colour tokens, spacing, card and swatch widgets)
and a larger default window.
ffmpeg inherits sigil's stderr, so its banner and carriage-return stats
were interleaved with sigil's own progress lines, which the launcher now
parses. Log errors only.
A look bundles mode, form, gains, effects, modulation preset, palette and
a suggested alpha clip, defined once in sigil-model: angelcore, synthclub,
jerseyclub, hoodtrap and mylancore. The engine applies one as the base
layer under every other flag; without --routes, graph modes use the look's
preset graph.
The trail stores the finished frame and reads it back next frame, so the
bloom and the full-screen strobe fed their own history:
- With a long trail (low --fade) the bloom's loop gain passed 1 and the
frame ran away to solid white. Cap bloom at 1.5 * (1 - decay), which
keeps stock settings at full bloom and scales it down for long trails.
- Each strobe lingered for the whole trail as a coloured full-screen wash.
Pass last frame's strobe mix and accent and invert it on the history
before decay (opaque mode; transparent gates strobe per pixel).
The unwired-input placeholder was 1x1, which nannou's TextureBuilder turns
into a 1-D texture; wgpu rejects 1-D render attachments, so any graph with
an image chain (e.g. the Trails preset) panicked when the chain was built.
Use a 2x2 texture.
A palette is a colour grade shared through sigil-model: it confines the
centroid-driven base hue to an arc, fixes the accent offset, scales OKLCH
chroma and lightness, and replaces the hard-coded debris, warm-core, ember
and void-tint colours, which now travel in new UBO rows. The music still
moves the colour, inside the palette.
Ships auto (unchanged output, up to sub-LSB shader constant folding in
tunnel), seraph, neon, club, ember and moon. The engine's oklch now comes
from sigil-model so the launcher can draw matching swatches.
Fit the camera ray to the short screen axis so portrait frames show the
whole sigil instead of cropping it (landscape output is byte-identical),
rotate the feedback swirl in aspect-corrected space, and letterbox the live
frame instead of stretching it on fullscreen or resize.
Add --aspect 16:9|9:16|4:3|1:1, which reshapes the quality preset's sizes
(portrait live windows are capped at 1080 tall). The launcher gets a live
aspect selector and 4:3 render presets, always emits the picked render
size so the highlighted preset is what gets encoded, and no longer couples
the live window size to the render preset.
Transparent renders wrote linear max(col) as alpha next to sRGB-encoded,
black-premultiplied colour, which editors read as straight alpha: glow came
out dim and dirty, and void grain plus strobe flashes leaked alpha across
the whole frame.
Treat the read-back frame as premultiplied over black and derive straight
alpha on the CPU (After Effects Unmult style), after an area downscale of
the supersample buffer so soft edges don't fringe. Gate grain and strobe by
coverage in transparent mode, emit sRGB-encoded coverage alpha for the live
window, tag ProRes as apl0, and add --alpha-clip (launcher: matte clean-up)
to drop faint haze.
The Nodes view gains a scene node, an image-out node and image ops
(feedback, transform, displace, level, composite) on the same canvas as
the control nodes. Image pins are teal and only accept image wires; a
top's parameter pins take control wires from audio sources or nodes, and
show a constant when unwired.
ImageChain copies the visualiser's frame in, draws one pass per top in
dependency order into ping-ponged Rgba16Float targets, and writes the
output top into an sRGB texture that sigil presents, screenshots and
pipes to ffmpeg instead of the scene. Ping-ponging gives feedback its
previous frame and resolves backward or cyclic wires to last frame's
output. Textures are rebuilt only when the wiring changes; parameters are
per-frame uniforms read from the visualiser's modulator.
The raw wgpu for the passes lives next to ShaderPipeline in shader.rs.
Graph gains an optional ImageGraph: a list of image operators (feedback,
transform, displace, level, composite) wired from the scene, each other or
black, with one top marked as output. Top parameters are control Inputs,
so audio sources and CHOP nodes can drive them; the Modulator evaluates
them each step and keeps a deterministic clock for animated ops.
An empty image graph is a passthrough and serialises to nothing, so
existing RON files and node-free graphs are unchanged. Adds a Trails
preset that patches loudness, kick envelope and flux into a feedback,
displace and level chain.
- The source step probes the picked file's metadata (duration, sample
rate, channels) with symphonia and warns when it can't be read.
Nothing is decoded.
- Launch is gated on full validation: a source is present, ffmpeg is
on PATH for a render, and the sigil binary resolves. The review step
shows why it is blocked.
- The review step can copy the command and do a dry run, which writes
the routes file and shows the exact command without launching.
- A dark theme with the neon accent to match the engine.
Engine: --bitrate <kbps> switches the opaque x264 path from CRF to
single-pass ABR (maxrate 1.5x, bufsize 2x) for an upload size budget.
ProRes/VP9 ignore it. True 2-pass isn't possible with the single
streaming frame pipe.
Launcher: the render step offers format bundles (H.264/MP4, ProRes
4444/MOV, VP9/WebM). Each sets transparency and the output extension,
which is how the engine picks the codec. It also gets a CRF vs bitrate
toggle, which only applies to H.264.
A render now writes <out>.args.txt (the verbatim command line) and,
for graph-driven modes, <out>.routes.ron (the resolved modulation
graph). Because renders are bit-reproducible, these two files are
enough to re-run a render exactly. A write failure only warns.
Engine: in live mode, RoutesWatch polls the --routes file's mtime every
250 ms and installs a changed graph. Node state survives where ids
match, and a parse error keeps the running graph. --render never
watches, so renders stay bit-reproducible.
Launcher: the modulation step gets a Matrix / Nodes toggle. Nodes is an
egui-snarl editor over the same Graph: an audio-in node, the control
nodes, and a targets node that holds per-route amounts/thresholds. With
live patch on (default), live runs always pass --routes, and every
edit rewrites that file atomically (tmp + rename) while sigil runs.
Graph gains optional nodes (Math, Shape, Remap, Lag, Env, Counter,
Integrate, Lfo, Noise, Hold). Node inputs take a constant, an audio
source or another node, and routes can start at a node instead of a
source. A new Modulator runtime evaluates them in topological order
(a cycle's back edge reads the previous frame) and owns node state,
which set_graph keeps across edits where id and kind match. It
replaces Graph::modulation/fires in sigil and tunnel.
New fields are serde-defaulted and skipped when empty, so old RON
files load and a node-free graph serialises unchanged. Adds a Patched
preset that shows the nodes off (kick envelope, noise swirl, hat step
sequencer).
The newest nannou_egui (0.19) requires nannou 0.19, and nannou 0.20 is a
Bevy rewrite, so the engine stays on nannou 0.19. Sharing one lockfile
with it caps the launcher at egui 0.30. The launcher never links the
engine, so it now has its own workspace and lockfile and moves to
eframe/egui 0.36. It still path-depends on sigil-model and builds into
the root target/ (sigil-gui/.cargo/config.toml), so sigil-gui still
lands next to sigil.
- engine: cpal 0.18 (device names via DeviceDescription, cpal::Error,
StreamConfig by value), ron 0.12
- launcher: eframe/egui 0.36 (App::ui, Panel, integer margins,
Ui::close, DroppedFile::path), rfd 0.17, ron 0.12
- CI, build scripts and docs build the launcher via its own manifest