Command-line reference

02 Developers


Every flag of oolonGoo's two programs: oolongoo-app, the visualizer, and oolongoo, the developer tools.

oolonGoo installs two programs. oolongoo-app is the visualizer: every setting in its menu is also a flag, so it can run unattended from a script, cron or systemd. oolongoo is for preset authors and developers: headless renders to PNG, preset and EEL tools, shader assembly, audio analysis, GPU checks, and .oogoo presets (render, lint, a live window, pack and unpack).

This page is generated from the programs' own --help (oolongoo-app 0.1.0, oolongoo 0.1.0, October 24, 2026). The help of the version you have installed is the final word: run oolongoo-app --help, or -h for a one-line summary per flag.

oolongoo-app

oolonGoo visualizer window

oolongoo-app [OPTIONS] [PRESET]...

Options

-h, --help

Print help (see a summary with '-h')

-V, --version

Print version

Presets and rotation

--start-preset <FILE>

The preset to show first (PRESET, unambiguous after --presets)

--presets <FILE|DIR|GLOB>...

Play these presets in order: FILEs, DIRs and GLOBs

A DIR gives its presets by name, its subfolders' too (see --recursive); a GLOB takes *, ?, [..] and ** for any depth (quote it so oolonGoo expands it). Values run until the next option: put PRESET before --presets, or end the list with --. Played in the order given and looped, unless --shuffle. Not saved.

--recursive[=<on|off>]

DIRs of --presets, --preset-dir and --list-presets include subfolders; on by default

The browser names a subfolder's preset by its path, Dancer/Aurora/NAME. Up to 8 levels deep, hidden folders and symbolic links to folders skipped; the home folder and a drive root list only their own presets. --recursive=off lists only each folder's own presets.

--preset-dir <DIR>

Folder the preset browser lists (default: the first preset's)

--playlist <NAME|FILE>

Play a playlist: the NAME of one made in the app, or a FILE

A FILE has one preset per line (M3U and MilkDrop 3's playlists read too); a value with a path separator, or ending in .txt, .m3u or .m3u8, is a FILE. Repeatable: joined in order, before --presets. Played in order unless --shuffle. Not saved.

--import-playlist <FILE>

Import a playlist file as a named playlist

MilkDrop 3's playlist/*.txt, M3U, or one path per line. Imported before --playlist names are looked up (so it can be played in the same command). Then starts, or exits when there is nothing to show. Repeatable.

--favourites-only[=<on|off>]

Automatic changes pick only starred presets

--open-policy <add|play|ask>

What opening a preset from elsewhere does: add (to the library), play (in place) or ask

For this run (Settings → Library → Opening presets saves it; --set open_policy=…).

--new-instance

Open a window of its own, even when one runs (which would take the presets)

--textures <DIR>

Preset textures folder (default: textures/ next to the preset folder)

--param <NAME=VALUE>

Set a .oogoo preset's param: NAME=VALUE (repeatable)

Every .oogoo preset with a param of that name starts with the value: a number, or up to four numbers separated by commas (a vector param).

[PRESET]...

Presets (.milk, .milk2, .oogoo) to open; the first shows first

Given alone (as a file manager does when a preset is double-clicked), the presets are opened: a window that runs takes them (else this one opens on the library), the first plays, and --open-policy says what then (by default they are added to the library). With other flags the first plays in place, its folder the preset browser's for this run. With --presets, --playlist or --preset-dir the rotation's first preset shows first. With none of them, the last preset shown plays again (else the last preset folder's first, a MilkDrop 3 installation's, the default preset folder's, or a built-in preset). With --presets it joins the rotation; put it before --presets, or use --start-preset.

Preset changes

--preset-mode <MODE>

Preset changes: manual, timer or beat-sync

--interval <SECS>

Seconds between automatic changes

From one change to the next, the 2.7 s blend included (changes come at most once per blend): the timer's interval, and beat sync's minimum spacing. Turns the timer on when the saved Preset changes setting is manual (a saved timer or beat sync stays).

--shuffle

Random order without repeats

Every preset of the rotation plays once per round, then a new order is drawn; without PRESET the first one is drawn too. Without it a rotation from --presets or --playlist plays in order and loops; otherwise presets are picked at random.

--timer-secs <SECS>

Timer mode's seconds between changes, after each blend

A change every SECS plus the 2.7 s blend, instead of the default 16 s plus up to 10 s at random. --interval counts the blend in.

--sync-interval <SECS>

Beat sync's minimum seconds between changes (default 20)

--cycle <SECS>

Step to the next preset every SECS, as Right does, in any mode

--hard-cuts <0..7>

Automatic hard cuts (F8): 0 (off) to 7

--double-preset <on|off>

Double-preset mode (F9)

--no-preload

Diagnostic: load presets without preloading

Beat sync

--sync-learning <on|off>

Learn the song's structure while listening

--sync-phrase <auto|4|8|16>

Phrase length beat sync waits for: auto, 4, 8 or 16 bars

--sync-transition <blend|cut>

How a beat-synced change looks: blend (over the bar before the downbeat) or cut (on it)

--playback-delay <MS>

How late the speakers play system audio, 0 to 400 ms

Display

--size <WxH>

Initial window size in physical pixels

default: 1280x720

--fullscreen

Start in borderless fullscreen

--monitor <N|NAME>

Monitor to open on: an index (0 = the first) or part of its name

--list-monitors lists them.

--resolution <WxH>

Exact canvas size, whatever the window's (16 to 16384 each)

Presets render at WxH and the picture is scaled to the window keeping that shape (see --aspect). Lightweight mode does not shrink it.

--aspect <W:H|window|stretch>

Shape of the picture: W:H with black bars, window or stretch

W:H (16:9, 4:3, 1.85:1) letterboxes or pillarboxes with black bars. window (default) fills the window, keeping --resolution's shape; stretch fills it whatever the shape.

--scale-filter <linear|nearest>

Canvas scaling: linear, or nearest (LED walls, pixel-exact)

--render-scale <PCT>

Canvas size in percent of the window: 50, 75, 100, 150, 200

Above 100 supersamples; other numbers snap to the nearest.

--fps-cap <FPS>

Frame-rate cap: 30, 60, 90, 120 or unlimited (vsync, the default)

Presented frames only: the preset itself steps at --preset-rate.

--preset-rate <FPS>

The reference rate: 30, 60 (default), 90, 120, 144, 240, 360 or unlimited

MilkDrop's maximum frame rate: each preset step is fed 1/rate seconds, as MilkDrop at its cap; presets were made for 60. --preset-speed sets how many steps run per second. A faster display shows each step for several frames (--between-steps); unlimited steps once per presented frame (no speed).

--preset-speed <X>

How fast presets play: 0.5, 1 (default), 2, 3, or any speed from 0.25 to 4 (2x, 200%)

The reference rate times the speed steps per second, each step exactly as at 1×.

alias: --speed

--lock-to-refresh <on|off>

Lock the step rate to the display's refresh when it is within 3 % of a whole ratio (175 Hz at 1×: every 3rd refresh): on (default) or off

--lightweight[=<on|off>]

Lightweight mode: half resolution, 60 fps, no overlay shadows, a solid menu

--latency <MODE>

Presentation: smooth, low (default) or lowest (no vsync)

--frame-overlap <off|auto|on>

Draw the next frame while the GPU renders this one: off, auto (with --latency smooth) or on. More frames per second on heavy presets, up to a frame later; the picture is unchanged

--menu <top|bottom>

Toolbar position: top or bottom

--menu-edge-only[=<on|off>]

Show the toolbar only when the cursor nears its edge

--menu-transparency[=<on|off>]

Draw the toolbar and its popups translucent (default on, off in lightweight mode)

--hide-menu

Never show the toolbar or its popups (keys still work)

--hide-cursor

Always hide the mouse cursor over the window

--no-ui

Draw nothing over the picture: no toolbar, messages or FPS counter

--kiosk

Unattended screen; only Ctrl+Alt+Q quits

Fullscreen, nothing over the picture, no cursor, the settings file never written. Every key, double-click and close request is ignored except the quit chord Ctrl+Alt+Q (Control+Option+Q on macOS). Stop it with a signal, --exit-after or --until.

--show-fps[=<on|off>]

Show the FPS / latency overlay

--latency-details[=<on|off>]

Show the FPS overlay with the latency breakdown

--gpu <NAME>

Prefer the Vulkan device whose name contains NAME

Fidelity

--fidelity <ultra|high|performance>

Fidelity tier: ultra (closest to MilkDrop, most demanding), high (Ultra's steps with live frames between them and keep-speed when lagging) or performance (also native shader math and a 48x36 warp mesh). The flags below change single features

--between-steps <repeat|interpolate|live>

Frames between preset steps on a display faster than the step rate: repeat (the last step, as MilkDrop), interpolate (the last step carried along its warp motion) or live (what never feeds back drawn again at each frame's own time: the composite, and with --live-warp a warp that reads no canvas)

--live-warp <off|auto|on>

Live frames between steps also draw a warp shader that reads no canvas again: off, auto (as often as the frame budget allows) or on

--lag <slow|keep-speed>

When frames cannot keep up with the preset rate: slow (as MilkDrop) or keep-speed (each late step's warp motion and decay are stretched so the motion keeps its speed)

--shader-math <exact|native>

Shader math: exact (fxc's, as MilkDrop) or native (the GPU's functions: faster on trig-heavy shaders, slightly different)

--expression-math <exact|f64>

Expression math: exact (x87 arithmetic, as MilkDrop) or f64 (plain doubles; not faster)

--warp-mesh <WxH>

Warp mesh: 64x64 (as MilkDrop 3), 48x36 or 32x24 (fewer per-vertex evaluations)

--transition-style <auto|milkdrop|projectm>

Transition style: auto (each engine's own transitions), milkdrop (MilkDrop blends within each engine) or projectm (projectM-style effects for every change: extra GPU, as two MilkDrop presets render at once during every MilkDrop change). Also in lightweight mode

--engine-change <blend|cut>

Changes between MilkDrop and projectM presets: blend (a crossfade, or a projectM-style effect with --transition-style projectm) or cut. Lightweight mode always cuts

Colour (HDR, canvas)

--canvas <8bit|16f>

Canvas: 8bit (MilkDrop's default) or 16f (the 16-bit canvas; 16bit also names it)

The 16-bit canvas is the 8-bit canvas at 16-bit precision: the same picture, levels still in [0, 1], fades and gradients smooth instead of stepped; twice the canvas memory and bandwidth. A GPU without it runs the 8-bit canvas and says why.

--hdr[=<on|off>]

Present through an HDR swapchain (scRGB or HDR10) with the display transform below

--hdr-peak <NITS>

HDR: brightness of the white point, 80 to 10000 nits (default: the display's maximum, else 1000)

--hdr-black <PCT>

HDR: canvas level shown as black, 0 to 25 percent (default 0)

--hdr-white <PCT>

HDR: canvas level shown at the peak, 50 to 100 percent (default 100)

--hdr-highlights <PCT>

HDR: below this percentage of the white point the picture is SDR at paper white; above it brightness rises to the peak (0 to 100, default 50)

--hdr-gamut <srgb|p3|rec2020>

HDR: read the canvas's colours as srgb (as authored, default), p3 or rec2020 primaries

--hdr-gamma <srgb|2.2>

HDR: decode canvas values with the srgb curve (default) or a power from 1.6 to 2.8

--hdr-paper-white <NITS>

HDR: brightness of SDR white (the picture below the knee, the menu), 80 to 400 nits (default 203)

--hdr-dither <on|off>

HDR: dither the 8-bit canvas before stretching it (default on)

--hdr-output <auto|scrgb|hdr10>

HDR: the swapchain: auto (scRGB, else HDR10), scrgb or hdr10

Audio

--device <ID|NAME|system>

Capture device: an id from --list-devices, part of a device's name, or system

An exact id first, then an exact name, then the first device whose name (then id) contains it, ignoring case: a USB interface is found whatever its ALSA card number. An input comes before a system-output entry named after the same device (a PipeWire monitor, a Core Audio tap).

--audio <FILE.wav>

A WAV file to play through the analyser, looped

--channels <CHANNELS>

Channels to analyse: stereo, mono, left, right or A,B

A,B are zero-based device channels for left and right (2,3 on a multi-channel interface).

default: stereo

--audio-buffer <FRAMES>

Audio IO buffer in frames: 128 (default), 256 or 512

--auto-gain <on|off>

Auto Trim (automatic gain) for the inputs opened this run; by default on for microphones and interfaces, off for system audio

The input level follows the music, quiet inputs lifted above the analyser's 8-bit floor; the trim waits while it is on, and its slider sets Reactivity instead (how hard the beats hit: `--set reactivity.strength=1.5`). Off at 0 dB, system capture reaches the analyser untouched.

alias: --auto-trim

--gain-db <DB>

Input level trim for the inputs opened this run, -24 to 24 dB (with Auto Trim off)

alias: --trim

--reactivity <NAME|FILE>

Audio reactivity profile for this run

balanced (the standard split), bass-heavy, mid-range, treble-sensitive, a saved profile's name, or a JSON file with edges (4 FFT bins), reactivity (3 factors) and wave_scale. A preset with a profile of its own keeps it. --set reactivity.profile=NAME saves the choice.

--auto-reactivity[=<on|off>]

Adaptive reactivity for this run: the bands, thresholds and gains follow the music

The analysis learns over a few seconds where each band's rhythmic hits are and sets its edges, threshold and gain so those hits peak and the rest stays low. The input level is not touched (Auto Trim stays as set). Off by default. --set reactivity.auto=on saves it.

alias: --adaptive

--device-wait <SECS>

Wait up to SECS for the --device to appear (USB audio at boot)

The picture runs meanwhile; the toolbar and the log say what is awaited. Not found in time: exit code 5, unless --device-fallback. 0 checks once (a missing device is then an error instead of a silent run).

--device-fallback <system|none>

What to do when --device-wait ends without the device: system (capture the system audio) or none (run silent)

Compatibility

--compat <auto|md3|md2|projectm>

Compatibility: auto (default), md3, md2 or projectm

auto follows the MilkDrop version each preset was most likely made for; md3 and md2 apply one version to every preset (md2 leaves out every MilkDrop 3 addition); projectm applies projectM's rules to every preset. Settings → Compatibility for this run.

Lifetime

--exit-after <SECS>

Quit after this many seconds

--until <HH:MM>

Quit at this local time (24-hour HH:MM)

A time already past today means tomorrow. A clock set while running (NTP at boot) moves the deadline to the next HH:MM by the corrected clock. With --exit-after, whichever comes first.

Settings

--settings <FILE>

Settings file (default: the platform's settings.json, or the library's)

Named playlists live in playlists/ next to it. Uses no library.

--library <DIR>

Library folder for this run: its settings.json, playlists/ and presets/

A folder on a USB key or anywhere else that holds everything of yours (docs/library.md). Chosen in the window (Settings → Library, or a folder dropped on it) it is remembered in library.json in the default settings folder; OOLONGOO_LIBRARY=DIR names one too.

--library-wait <SECS>

Wait up to SECS for the --library folder to appear (a USB key at boot)

--export-library <DIR>

Make DIR a library from this run's settings and playlists, and exit

--with-presets copies the preset folder (and the textures, sprites and gifs next to it) into DIR/presets too. DIR must be empty, a library already, or not there yet. Done after --set; with nothing to show, exits 0.

--with-presets

With --export-library: copy the preset folder into the library

--set <KEY=VALUE>

Change a saved setting (repeatable)

KEY is its settings.json name, with dots for nested ones (beat_sync.phrase); VALUE takes the matching flag's words (fps_cap=30) or the file's spelling. --print-settings shows them all. Without anything to show, saves and exits.

--override <KEY=VALUE>

Like --set, for this run only

--print-settings

Print the settings this run would use as JSON, and exit

--reset-settings

Start from the default settings

The settings file is kept as settings.json.bak-YYYYMMDD-HHMMSS; playlists stay.

--clear-pipeline-cache

Delete the pipeline cache (pipelines.bin), so it refills with the presets played next

Presets load a little slower until it has. Done first; with nothing to show, exits 0.

--read-only-settings

Never write the settings file (implied by --kiosk)

Listing

--list-devices

Print the capture devices and exit

--list-presets [<DIR>]

Print the presets of DIR, or of this run's rotation, and exit

Without DIR: the rotation after --presets, --playlist and --favourites-only, in rotation order. One absolute path per line.

--list-playlists

Print the named playlists and exit

--list-monitors

Print the monitors and exit

--json

JSON output for the --list-* flags

Logging

--log-format <text|json>

Log format: text, or json (one object per line)

default: text

--log-file <FILE>

Append the logs to FILE instead of stderr

--no-crash-report

Never offer to send a crash report (the report files are still written)

After a crash, oolonGoo asks whether to send an anonymous report (what went wrong, the app's version, the OS, CPU, memory and GPU) to the project. Also OG_CRASH_REPORT=0.

Terms, privacy and licenses

--accept-terms

Accept the Terms of Use and the Privacy Policy, so the first start does not ask

For unattended installs (a kiosk, a script, managed computers). Recorded like Agree in the first start's dialog, in terms-accepted.json in the default settings folder. Without anything to show, records and exits.

--terms

Print the Terms of Use (TERMS.md, online at https://oolongoo.app/terms/) and exit

--privacy

Print the Privacy Policy (PRIVACY.md, online at https://oolongoo.app/privacy/) and exit

--licenses

Print oolonGoo's license and the third-party notices and exit

oolonGoo is free software under the MIT License (LICENSE-MIT) or the Apache License 2.0 (LICENSE-APACHE), at your option, with no warranty. The notices (THIRD-PARTY-NOTICES.md) are the copyright notices and licenses of the code that parts of oolonGoo are ported from (MilkDrop 2, BeatDrop, NS-EEL2 and others). Settings → About → Licenses shows them all.

Examples

# a folder of presets in order, a new one every 30 s, listening to the system audio
oolongoo-app --presets ~/presets --interval 30 --device system

# files, folders and globs (quote a glob so oolonGoo expands it), shuffled
oolongoo-app --presets ~/presets/favs/ '~/presets/**/*tunnel*.milk' --shuffle --interval 20

# kiosk: fullscreen on the second monitor, a shuffled playlist changing on the beat, a fixed
# 1280x720 canvas letterboxed to 16:9, quit at 23:00
oolongoo-app --kiosk --monitor 1 --playlist Lounge --shuffle --preset-mode beat-sync \
             --resolution 1280x720 --aspect 16:9 --device system --until 23:00

# a Raspberry Pi at boot: wait up to 20 s for the USB interface, by part of its name
oolongoo-app --kiosk --device 'USB Audio' --device-wait 20 --presets ~/presets --shuffle

# change the saved settings without opening a window, then show them
oolongoo-app --set fps_cap=30 --set render_scale=75
oolongoo-app --print-settings

# a library on a USB key: make it (settings, playlists and the presets), then run from it
oolongoo-app --export-library /Volumes/KEY/oolonGoo --with-presets
oolongoo-app --library /Volumes/KEY/oolonGoo --library-wait 10

Without a preset, folder or playlist, the last preset shown plays again (else the first preset of the last preset folder, a MilkDrop 3 installation's presets, the default preset folder, or a built-in preset; --set preset_dir=DIR fixes the folder, --shuffle starts on a random preset). Flags apply to this run only; --set saves. Kiosk mode ignores every key except Ctrl+Alt+Q (Control+Option+Q on macOS). SIGTERM, SIGINT and SIGHUP quit cleanly.

The first start asks you to accept the Terms of Use and the Privacy Policy (--terms and --privacy print them; online at https://oolongoo.app/terms/ and https://oolongoo.app/privacy/). Kiosk and timed runs never ask; --accept-terms accepts them for unattended installs. oolonGoo is free software under the MIT or Apache-2.0 license, with no warranty (--licenses prints them).

Exit codes: 0 done (window closed, --exit-after/--until reached, a signal, a listing), 1 error, 2 bad command line, 3 nothing to show, 4 no usable Vulkan device, 5 audio device not found (--device-wait), 6 settings error, 7 display error. Reference: docs/cli-app.md

oolongoo

oolonGoo tooling: EEL, presets, shaders, audio, GPU checks

oolongoo [OPTIONS] <COMMAND>
  • eelEEL2 expression tools
  • presetPreset (.milk / .milk2) tools
  • shaderPreset shader tools
  • audioAudio analysis tools
  • renderHeadless deterministic render of a preset to PNG frames + per-frame JSON state
  • corpusBatch health check over a preset collection
  • gpuGPU / Vulkan checks
  • oogoo`.oogoo` presets (WGSL, multipass, compute): render, lint, inspect
  • packZip a `.oogoo` preset (folder or text) into one `Name.oogoo` package, with its textures
  • unpackUnpack a `.oogoo` zip package into its folder form

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

-V, --version

Print version

oolongoo eel

EEL2 expression tools

oolongoo eel [OPTIONS] <COMMAND>
  • evalCompile and run code, print all variables
  • preprocShow the ns-eel2 preprocessor output (where operator precedence comes from)

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo eel eval

Compile and run code, print all variables

oolongoo eel eval [OPTIONS] <CODE>

Arguments

<CODE>

EEL code (statements separated by `;`)

Options

--log-format <LOG_FORMAT>

Log format on stderr

default: textpossible values: text, json

--var <VARS>

Pre-set variables, `name=value` (repeatable)

--frames <FRAMES>

Number of times to execute

default: 1

--precision <PRECISION>

Possible values:

  • x87: x87 24-bit chop, as MilkDrop
  • f64: Plain IEEE f64

default: x87

-h, --help

Print help (see a summary with '-h')

oolongoo eel preproc

Show the ns-eel2 preprocessor output (where operator precedence comes from)

oolongoo eel preproc [OPTIONS] <CODE>

Arguments

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo preset

Preset (.milk / .milk2) tools

oolongoo preset [OPTIONS] <COMMAND>
  • parseParse a .milk/.milk2 preset and print the result as JSON
  • lintReport warnings (truncated values, dropped code lines, spacing traps, EEL compile errors)

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo preset parse

Parse a .milk/.milk2 preset and print the result as JSON

oolongoo preset parse [OPTIONS] <PATH>

Arguments

Options

--bug-compat <BUG_COMPAT>

BugCompat JSON (default: quirks as in MilkDrop)

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo preset lint

Report warnings (truncated values, dropped code lines, spacing traps, EEL compile errors)

oolongoo preset lint [OPTIONS] [PATHS]...

Arguments

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo shader

Preset shader tools

oolongoo shader [OPTIONS] <COMMAND>
  • assemblePrint the HLSL a preset's warp/comp shader compiles from (preamble + defines + shader_body rewrite; generated text if the block is empty)

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo shader assemble

Print the HLSL a preset's warp/comp shader compiles from (preamble + defines + shader_body rewrite; generated text if the block is empty)

oolongoo shader assemble [OPTIONS] <PRESET> <WHICH>

Arguments

<WHICH>

possible values: warp, comp

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

--no-preamble

Omit the include.fx preamble from the output

-h, --help

Print help

oolongoo audio

Audio analysis tools

oolongoo audio [OPTIONS] <COMMAND>
  • devicesList the audio capture devices
  • analyzeFeed a WAV through the audio analyser and print bass/mid/treb per frame (JSON lines)
  • profilesPrint the built-in reactivity profiles: band edges in bins and in Hz at a sample rate

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo audio devices

List the audio capture devices

oolongoo audio devices [OPTIONS]

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo audio analyze

Feed a WAV through the audio analyser and print bass/mid/treb per frame (JSON lines)

oolongoo audio analyze [OPTIONS] <WAV>

Arguments

Options

--fps <FPS>

default: 60

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

--frames <FRAMES>

Max frames (default: whole file)

--channels <CHANNELS>

stereo | mono | left | right [default: stereo]

--profile <NAME|FILE>

Reactivity profile: balanced (default: the plain analysis), bass-heavy, mid-range, treble-sensitive, or a JSON file {"edges":[..4 bins],"reactivity":[..3],"wave_scale":1}

-h, --help

Print help

oolongoo audio profiles

Print the built-in reactivity profiles: band edges in bins and in Hz at a sample rate

oolongoo audio profiles [OPTIONS]

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

--rate <RATE>

Sample rate the Hz columns are for [default: 48000]

-h, --help

Print help

oolongoo render

Headless deterministic render of a preset to PNG frames + per-frame JSON state

oolongoo render [OPTIONS] --preset <PRESET> --dump-dir <DUMP_DIR>

Options

--log-format <LOG_FORMAT>

Log format on stderr

default: textpossible values: text, json

--preset <PRESET>

Preset (.milk, or a MilkDrop 3 .milk2 double preset)

--compat <COMPAT>

Compatibility the presets run with: `auto` (each preset as the flavour it was most likely designed on, projectM presets on a projectM lane), `md3` (`EngineConfig::md3()`: MD3 keys, preamble, wave modes, limits and transitions for every preset), `md2` (`EngineConfig::default()`) or `projectm` (`EngineConfig::projectm()`: projectM 4.1's semantics). Default: `md2`, or `md3` with `--md3`. `run.json` records the flavour the preset ran as and why

Possible values:

  • auto: Per preset: the flavour it was most likely designed on (`EngineConfig::auto()`: the md3 configuration, each preset detected; a preload of the preset refines the guess). projectM presets run on a projectM lane of their own
  • md3: MilkDrop 3 for every preset (`EngineConfig::md3()`)
  • md2: MilkDrop 2 for every preset (`EngineConfig::default()`)
  • projectm: projectM 4.1 for every preset (`EngineConfig::projectm()`, `docs/spec/projectm-dialect.md`): projectM's reader, expressions, audio analysis and quirks, 64-bit expressions and native shader math whatever `--fidelity` says
--md3

Same as `--compat md3`

--audio <AUDIO>

WAV file to feed through the audio analyser (default: silence). MilkDrop lanes hear it through the 576-sample ring; projectM lanes get its raw PCM, frame n samples [n·rate/fps, (n+1)·rate/fps)

--frames <FRAMES>

default: 120

--size <SIZE>

Window size WxH (texsize = rounded up to multiples of 16)

default: 640x360

--fps <FPS>

default: 60

--seed <SEED>

Seed for the CRT rand() emulation (and the transition effects' pick and parameters)

default: 1

--f64

Plain f64 EEL arithmetic instead of the x87 24-bit chop (same as `--expression-math f64`)

--fidelity <TIER>

Fidelity tier: ultra (default: closest to MilkDrop), high (renders as ultra: its features only change what a display shows between and over the steps) or performance (native shader math and a 48x36 warp mesh; the transition effects' lite variants). The flags below override single features

--shader-math <exact|native>

Shader math: exact (fxc's) or native (the GPU's functions)

--expression-math <exact|f64>

Expression (EEL) math: exact (x87 24-bit chop, as MilkDrop) or f64

--warp-mesh <WxH>

Warp mesh cells WxH (even; default 64x64, as MilkDrop 3)

--canvas <8bit|16f>

The canvas: 8bit (MilkDrop's X8R8G8B8) or 16f (the 16-bit canvas: the 8-bit canvas at 16-bit precision, R16G16B16A16_UNORM everywhere, nothing above 1; docs/hdr.md; `16bit` also names it). A GPU without it renders the 8-bit canvas and says why. The PNGs are the picture rounded to 8 bits either way; run.json records the canvas used (8bit, with `canvas_fallback`, on a GPU without the 16-bit canvas) [default: 8bit]

--dump-dir <DUMP_DIR>

Output directory (frame PNGs + frames.jsonl + run.json, and transitions.jsonl when the run has more than one lane or a host change)

--every <EVERY>

Write a PNG every N frames (always writes the last frame)

default: 1

--frames-in-flight <FRAMES_IN_FLIGHT>

Frames kept in flight: 2 prepares the next frame while the GPU renders this one (faster; the pixels are unchanged). Dumped frames wait for their own frame

default: 1

--internal

Also dump the internal VS image next to the composited frame (the presenting lane's)

--bug-compat <BUG_COMPAT>

BugCompat JSON (for the lanes of the Compatibility's own family; a projectM lane under `--compat auto` keeps projectM's quirk values)

--textures <TEXTURES>

`textures/` directory (preset textures, randNN picks)

--blur

Also dump the blur textures (blur1/2/3) per written frame (the presenting lane's)

--md3-sm3

Shader model 3, as MilkDrop 3's option (with `--compat md3|auto`): every version >= 200 MilkDrop 3 preset compiles as `ps_3_0`

-h, --help

Print help (see a summary with '-h')

Sequences and transitions

--then <PRESET[@FRAME][:BLEND_S]>

Load PRESET later in the run, as a pick (repeatable, in order): between frames FRAME-1 and FRAME (default: the loads spread evenly over the run), blending for BLEND_S seconds (default --blend-time; 0 cuts). Each goes through the engine host's preloader, so under `--compat auto` a `.prjm`, a file in a --projectm-dir folder or one whose content says projectM runs on the projectM lane. The change follows --transition-style, --engine-change and --lightweight

--blend-time <S>

The blend time of a --then load without its own :BLEND_S, seconds [default: 1.7]

--transition-style <auto|milkdrop|projectm>

Transition style: auto (each engine's own transitions: MilkDrop's blend between MilkDrop presets, an effect between projectM presets, a crossfade between the two), milkdrop (MilkDrop's blend inside each engine) or projectm (a projectM-style effect for every change that blends) [default: auto]

--engine-change <blend|cut>

Changes between a MilkDrop and a projectM preset: blend (as --transition-style says) or cut [default: blend; always cut with --lightweight]

--lightweight

Lightweight's transition rules (headless, nothing else of Lightweight applies): changes between projectM presets and between MilkDrop and projectM presets cut, and the effects run their lite variants

--projectm-dir <DIR>

A folder of projectM presets (repeatable): under `--compat auto` the files in it run on the projectM lane, which is made at startup

--transition-effect <random|iris|dissolve|fade|wipe|zoomwipe|radialblur>

The effect of every effect change: random (drawn from the seed) or iris, dissolve, fade, wipe, zoomwipe or radialblur (the draws still happen, so the parameters stay the seed's) [default: random]

--time-epoch <N>

The clock a MilkDrop 3 blend seeds its pattern pick with is N + the engine time in whole seconds, so the pick is the same every run [default: 1700000000; recorded in run.json with any flag of this group]

Virtual display (the app's preset schedule)

--display-hz <HZ>

Render on a virtual display refreshing HZ times a second: the app's preset scheduler decides each frame's steps (`--frames` counts steps), the frames between steps are drawn as `--between` says, and `display.jsonl` lists every frame

--speed <X>

Preset speed: steps per second = `--fps` × this

default: 1

--between <repeat|interpolate|live>

Frames between steps: repeat, interpolate or live

default: repeat

--live-warp <off|on>

Live frames between steps draw a warp that reads no canvas again: off or on (every frame between steps; the app's auto is a frame budget)

default: off

--lock <on|off>

The cadence lock (counted frames when the step rate is within 3 % of a whole ratio of the display's)

default: on

--reference <DIR>

A plain render's dump (`frames.jsonl` and its PNGs) of the same preset: every step must match it (clock, q, random draws, picture; with `--internal` the canvas too)

--check-live

Check every live composite pass's constants against `ApplyShaderParams` at half a step after each step, on copies of the random state and register file

--metrics

Measure the frames between steps: how close each is to the two steps around it (the envelope criterion) and how evenly the picture changes from frame to frame

--dump-between

Also write each frame between steps as `between_NNNNNN.png` (display frame number)

oolongoo corpus

Batch health check over a preset collection

oolongoo corpus [OPTIONS] <COMMAND>
  • runParse, compile (EEL + HLSL) and optionally render every preset under DIR

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo corpus run

Parse, compile (EEL + HLSL) and optionally render every preset under DIR

oolongoo corpus run [OPTIONS] <DIR>

Arguments

Options

--log-format <LOG_FORMAT>

Log format on stderr

default: textpossible values: text, json

--out <OUT>

Write the full JSON report here

--render-frames <RENDER_FRAMES>

Render this many frames per preset (0 = no rendering)

default: 0

--size <SIZE>

Window size for renders

default: 320x180

--limit <LIMIT>

Stop after this many presets

--compat <COMPAT>

Compatibility the presets run with, as `oolongoo render --compat`: `md2` (MilkDrop 2's engine for every preset), `md3`, `auto` (each preset as the flavour it was most likely designed on; projectM presets with projectM's settings) or `projectm`

Possible values:

  • auto: Per preset: the flavour it was most likely designed on (`EngineConfig::auto()`: the md3 configuration, each preset detected; a preload of the preset refines the guess). projectM presets run on a projectM lane of their own
  • md3: MilkDrop 3 for every preset (`EngineConfig::md3()`)
  • md2: MilkDrop 2 for every preset (`EngineConfig::default()`)
  • projectm: projectM 4.1 for every preset (`EngineConfig::projectm()`, `docs/spec/projectm-dialect.md`): projectM's reader, expressions, audio analysis and quirks, 64-bit expressions and native shader math whatever `--fidelity` says

default: md2

--jobs <JOBS>

Presets checked in parallel. Renders (`--render-frames`) take turns on the one GPU

default: 1

--no-cached-bytecode

Compile MilkDrop 3 presets' HLSL even where MilkDrop 3's shader cache next to DIR holds their bytecode (`--compat md3|auto` use it by default, as `render` does)

-h, --help

Print help (see a summary with '-h')

oolongoo gpu

GPU / Vulkan checks

oolongoo gpu [OPTIONS] <COMMAND>
  • infoBring up a headless Vulkan device and print what was selected

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo gpu info

Bring up a headless Vulkan device and print what was selected

oolongoo gpu info [OPTIONS]

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

--validation

Enable validation layers

-h, --help

Print help

oolongoo oogoo

`.oogoo` presets (WGSL, multipass, compute): render, lint, inspect

oolongoo oogoo [OPTIONS] <COMMAND>
  • renderRender a preset headless to PNG frames (plus report.json)
  • lintCheck presets: header, passes, WGSL, at a Fidelity tier (no GPU needed)
  • wgslPrint the assembled WGSL module of a preset
  • stdlibList the standard library modules
  • playPlay presets live in a window (system audio, hot reload, N/P to step through a folder)

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo oogoo render

Render a preset headless to PNG frames (plus report.json)

oolongoo oogoo render [OPTIONS] <PRESET>

Arguments

<PRESET>

The preset (`Name.oogoo` file or folder)

Options

--frames <FRAMES>

Frames to render [default: 180]

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

--size <SIZE>

Canvas size [default: 960x540]

--fps <FPS>

Fixed frame rate of the simulated clock [default: 60]

--audio <AUDIO>

WAV file to play into the analysers (default: a synthetic song)

--bpm <BPM>

Tempo of the synthetic song [default: 124]

--silence

No audio at all

--out <OUT>

Folder for frame_NNNNNN.png and report.json [default: oogoo-out]

--every <EVERY>

Save every Nth frame (the last frame is always saved; 0 = only the last) [default: 30]

--tier <TIER>

default: ultra] [possible values: ultra, high, performance

--seed <SEED>

default: 1

--profile

Measure per-pass GPU time

--param <NAME=VALUE>

Set a param: NAME=VALUE (repeatable)

-h, --help

Print help

oolongoo oogoo lint

Check presets: header, passes, WGSL, at a Fidelity tier (no GPU needed)

oolongoo oogoo lint [OPTIONS] [PRESETS]...

Arguments

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

--tier <TIER>

default: ultra] [possible values: ultra, high, performance

--passes

Print the pass table of each preset that compiles

-h, --help

Print help

oolongoo oogoo wgsl

Print the assembled WGSL module of a preset

oolongoo oogoo wgsl [OPTIONS] <PRESET>

Arguments

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

--tier <TIER>

default: ultra] [possible values: ultra, high, performance

-h, --help

Print help

oolongoo oogoo stdlib

List the standard library modules

oolongoo oogoo stdlib [OPTIONS]

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-h, --help

Print help

oolongoo oogoo play

Play presets live in a window (system audio, hot reload, N/P to step through a folder)

oolongoo oogoo play [OPTIONS] <PRESET>

Arguments

<PRESET>

A preset (`Name.oogoo` file or folder), or a folder of presets; N and P step through the presets beside it

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

--size <SIZE>

Window size [default: 1280x720]

--scale <SCALE>

Canvas size as a fraction of the window (0.25 to 2) [default: 1]

--audio <AUDIO>

What the preset hears: `loopback` (what this computer is playing), `song` (a synthetic beat at --bpm), `silence`, or a WAV file (visuals only, nothing is played) [default: loopback]

--bpm <BPM>

Tempo of `--audio song` [default: 124]

--tier <TIER>

default: ultra] [possible values: ultra, high, performance

--seed <SEED>

default: 1

--param <NAME=VALUE>

Set a param: NAME=VALUE (repeatable; applied to every preset that has it)

--fullscreen

Start fullscreen (borderless)

--no-vsync

Present without waiting for the display's refresh

--cycle <CYCLE>

Go on to the next preset every this many seconds (0: stay) [default: 0]

--quit-after <QUIT_AFTER>

Close after this many seconds (0: stay open), for scripted checks [default: 0]

-h, --help

Print help

oolongoo pack

Zip a `.oogoo` preset (folder or text) into one `Name.oogoo` package, with its textures

oolongoo pack [OPTIONS] --out <FILE> <PRESET>

Arguments

<PRESET>

The preset: a `Name.oogoo` folder, text file or zip package

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-o, --out <FILE>

The package to write (a zip named `Name.oogoo`)

--library <DIR>

A library (the folder holding `presets/`, `textures/` and `mappings/`): textures the package lacks are taken from its `textures/`, `sprites/` and `gifs/`, and its `mappings/textures.json` bindings for the preset come first

--textures <DIR>

Another folder to take missing textures from (repeatable; after the library's)

--json

Print what was packed as JSON

-h, --help

Print help

oolongoo unpack

Unpack a `.oogoo` zip package into its folder form

oolongoo unpack [OPTIONS] <PACKAGE>

Arguments

<PACKAGE>

The zip package

Options

--log-format <LOG_FORMAT>

Log format on stderr [default: text] [possible values: text, json]

-o, --out <DIR>

The folder to make (default: `Name.oogoo/` beside the package)

-h, --help

Print help