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.