← Back to preset authoring

Amberwave Visualization Spec — version 1.0

Status: published 2026-11-12. Describes exactly what the Amberwave visualization engine (crates/avs) supports today. A preset written to this spec plays in Amberwave without any plug-in or extra install.

Version 2 (planned, not available yet): a sandboxed effect-plugin API, so developers can add new effect types (WebAssembly code and/or GPU shaders) that run unchanged on macOS, Windows and iOS. Version 1 covers presets: combinations of the built-in effects driven by small scripts.


1. What a visualization is

Amberwave plays two preset formats, both kept exactly as their original tools wrote them:

FormatFileMade withNotes
Winamp™ AVS (Advanced Visualization Studio).avs (binary)Winamp™'s AVS editor (Windows)Effect stacks plus EEL scripts.
MilkDrop 1.x.milk (text, INI style)Any text editor, or MilkDrop's preset editorWarp mesh, per-frame and per-pixel scripts, custom waves and shapes.

Presets are data files, not programs. Nothing in a preset can read files, use the network or run native code. A preset that misbehaves is stopped, and the player carries on.

2. Installing presets

Put presets (and any images they use) in either of these places:

How folders are read:

Images used by AVS Picture, Picture II and Texer effects are found by file name. Amberwave looks:

  1. next to the preset;
  2. in the folder above it;
  3. anywhere in the preset folders.

Supported image types: BMP, JPEG, PNG, GIF. Ship images in the same folder as the preset.

3. Audio data a preset receives

Both engines are fed the same analysis, about 60 times a second:

Surround music is analysed as the front left/right pair the speakers receive.

4. AVS presets

4.1 Effects

Behaviour follows the Nullsoft AVS source (BSD licence; see crates/avs/NOTICE), so Winamp™'s own documentation for each effect applies.

Built-in Winamp™ effects:

Third-party APE effects (re-implemented):

Accepted but with no visual effect: VFX Framerate Limiter and AVS Trans Automation. AVS Transmacros are not expanded.

Not supported (the effect is skipped, the rest of the preset runs, and the hover bar names it): SVP/Video, Multi Delay, IrisAPE, 3DAPE, Buffer Blend, VisFrac, Tentacles 3D, Metaballs 3D, Nullsoft TV and a few rare plug-ins.

Coverage on a library of 12,528 real presets: 97.1% run with every effect supported.

4.2 Scripting (EEL)

Amberwave runs EEL the way Winamp™ AVS 2.8 did (EEL1-compatible).

Syntax:

Functions:

Memory:

Per-effect variables (for example SuperScope's n i v x y red green blue linesize skip drawmode w h b, or Dynamic Movement's x y r d alpha) are the same as in Winamp™.

5. MilkDrop presets

Supported (MilkDrop 1.x):

Code-line rule (same as MilkDrop): code lines are read from _1 upward and stop at the first missing number. A preset whose code starts at _2 has no code.

Not supported yet:

6. Testing a preset

7. Distributing presets

8. Compatibility promise

Presets that follow this spec keep working in later Amberwave versions. When version 2 adds plug-in effects, version-1 presets are unchanged.