Skip to content

Macroblock v0.1.5

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 02:37
· 1 commit to main since this release

The audio side keeps time in Resolume, the GPU buffers stop churning, and sampling-format looks in Resolume's own preset menu.

Fixed: the audio side ran fast in Resolume

Resolume draws each instant more than once, for the preview, the output and the thumbnails, and every draw moved the envelopes, hold, peak and onset timing on, so a layer shown in several places reacted faster than its Attack, Release and Hold said. From v0.1.5 a second draw of the same instant moves nothing; a host whose clock never moves still animates (mbtest --repeat: 16 of 24 frames differed on v0.1.4's code, none now).

Fixed: GPU buffers recreated almost every frame

With audio driving the block size, Macroblock recreated its GPU buffers nearly every frame. They now grow and are reused: with the default Blocky reconstruction, 394 allocations over 300 frames became 6. With Smooth, the large buffers stop reallocating and the small ones still follow the block size, since the GPU's bilinear filter isn't bit-stable across texture sizes. The picture is unchanged (mbtest --buffers: 536 lattices, none differ).

Presets in Resolume's preset menu

Twelve presets in Resolume's own menu, the dropdown at the top of the effect's panel: the ten from Macroblock's Preset control, which also set the Preset control so the two agree, plus two it doesn't have:

  • Chunky Pixels: luma and chroma in 64-pixel blocks, on powers of two.
  • Broadcast Smear: chroma blocked horizontally only, Rec. 601, smooth and co-sited.

Arena lists the sampling ratios with hyphens (4-2-0, 4-1-1 (DV)), because a colon can't be in a file name. The Preset control keeps its colons.

There's nothing to install. The first time Arena or Avenue loads Macroblock, it writes them into Documents/Resolume Arena/Presets/Video Effects/SW Macroblock/ before Resolume reads that folder, so they're there on the first launch. Macroblock only replaces a preset it wrote and you haven't changed: edit one and yours stays, delete one and it stays gone. Delete the whole folder to get them all back. Set STOATWORKS_ARENA_PRESETS=off to stop it writing anything. The presets leave the whole audio group (Audio, Audio Mode, the amounts, bands and times), Show Grid, Mix and Arena's own Opacity alone, so picking a format never rewires your show to the music.

Tested

  • macOS: Arena 7.29, through its REST API, on a local build. All 12 presets are listed and recall exactly. tools/verify.sh passes, including the new repeat and buffer checks.
  • Windows: Arena 7.27.1 in a Windows virtual machine with no graphics card (Mesa's software renderer), through its REST API, on this release's CI build. Macroblock loads and is listed with all 31 controls as they should be, it draws, Arena stays up, and all 12 presets are listed and recall exactly. Every control that one still can show changes the picture except Siting, which only acts with Reconstruction on Smooth; the check left Reconstruction on Blocky, so Siting wasn't tested there. The ten audio controls need sound the virtual machine doesn't have.
  • Not yet: Resolume's own audio spectrum reaching the plugin, a real Windows graphics driver, or a show.

Full Changelog: v0.1.4...v0.1.5