Skip to content

Releases

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 17:34

A fix for Rubens on Resolume's own sound analysis. SW Rubens (RU01, a source) and SW Rubens Over (RU02, an effect) are Rubens' flame tube for Resolume Arena and Avenue as FFGL plugins: the music moves a loudspeaker at one end of a pipe of propane, the gas resonates, and each hole's flame follows the pressure across it.

The tube's lowest noise band now hears Resolume's FFT. With no audio input chosen (Audio Input on "None (host FFT)", the default), Rubens turns Resolume's spectrum into four bands (40–160, 160–640, 640–2560 and 2560–8000 Hz) and drives the loudspeaker with noise in each. In v0.1.0 the 40–160 Hz band got nothing from Resolume, so its noise never sounded and the kicks drove the 160–640 Hz band alone. With FFT Law on either Log setting, every band read the wrong bins, and it still does in Arena: keep the default, Linear Mag. An audio input chosen by name was not affected.

  • Arena 7.29.0 on a Mac: this release's own notarised bundles were mounted over Arena's REST API, with Arena's demo drum loop Beat 001.wav on the layer below and Audio on Composition. Both log "host audio at 48000 Hz". The Over's flames stood at a median 115.5 px with nothing playing and dropped to 101.5 px (as low as 60 px) on the loop at the defaults; cleared, back to 116 px. The source's went from 142 px to 134.5 px (as low as 115 px). A pre-tag build gave the same (Over 103 px, source 134 px). At Volume 150 dB the medians scatter from run to run: the Over's 60 px with the release and 81.5 px with the pre-tag build, the source's 128.5 and 123.5 px.
  • That's the same height as v0.1.0 (Over 101 px, as low as 61, and 82 at 150 dB; source 135 and 123), and it should be: the fix changes which noise bands the kick plays into the tube, now 40–160 and 160–640 Hz together, not how hard. Flame height alone can't tell the bands apart; the offline check below does.
  • Why the band was silent. The bands come from earshot, the fleet's audio front end. Its old snapshot read Resolume's 64 bins as spread evenly to 22.05 kHz and gave each bin to the band holding the bin's centre. Bin 0's centre (172 Hz) is above the top of the 40–160 Hz band, so that band got no bin at all.
  • What Resolume sends was measured. In Arena 7.29.0 the bins are linear, 375 Hz each, from 0 to 24 kHz (the audio engine's 48 kHz, whatever the clip's rate). They hold magnitudes of the mono mix and are refreshed about every 43 ms. That is FFT Law's default, Linear Mag; the other three settings stay for hosts nobody has measured.
  • The fix. v0.1.1 takes earshot 02306da, which shares each bin among the bands it overlaps: the 40–160 Hz band gets 0.32 of bin 0, and the 160–640 Hz band the rest of it and most of bin 1. Rubens also passes Resolume's sample rate to earshot, and logs it once: "host audio at 48000 Hz: Resolume's FFT bins read to 24000 Hz (375 Hz each under Linear)".

On Resolume's FFT, the two lowest bands follow everything under 375 Hz: the kick, the bass and the low toms together, as Resolume's lowest bin holds them all. Arena's Bass 001.wav still leaves the flames at their quiet height, but it is no bass test: it is quiet, and almost all its sound sits above 160 Hz.

What is measured offline. A new harness check, --arenafft, builds the 64 bins from audio the way Arena was measured to build them (a 2048-point Hann FFT every 2048 samples, 16 fine bins to a bin, held between updates), writes them into the plugin's FFT buffer and hands over the sample rate as Arena does.

  • A 70 Hz tone drives the 40–160 Hz noise at its share of the lowest bin, √(120/375) of it at 48 kHz and √(120/344.5) at 44.1 kHz, within 1e-4.
  • A 128 BPM drum loop's kicks drive the 40–160 Hz noise up 10 times in 10 at both rates, each to at least 13 times its level the frame before, at most 62.5 ms (48 kHz) and 68.8 ms (44.1 kHz) after the kick, inside the limit of two spectra and a frame (102.0 and 109.5 ms).
  • The loop's claps and hats alone leave it under 0.3% of that.
  • Against v0.1.0's earshot the check fails: 0 of 10, the lowest band never driven.

Two new deliberately wrong models fail it, making 15 in all, and all 25 one-character mutants are still caught. Everything else tools/verify.sh measured in v0.1.0 passes unchanged: the pipe's resonances, the flames' spacing, the reversal, the bit-exact stillness and the frame-rate independence. The photosensitivity warning stands as it was: its survey fed the music in as an audio input does, a path this release doesn't touch. At the defaults, loud music can flash in part of the picture; Gas 30 Pa or Volume 130 dB kept every one of Resolume's demo clips under the line (the user guide's "Flashing, and keeping it safe" has the tables).

Where it has run. Arena 7.29.0 on a Mac, and Arena 7.27.1 on Windows (software rendering, no sound device). On Windows, this release's own DLLs (from its zip) passed the fleet's Arena gate, 15 passed, 0 failed, 4 skipped: both register (RU01 a source, RU02 an effect) with all 22 and 23 controls as declared, render, and 9 of the source's controls and 10 of the Over's move the picture; the seven that need sound weren't tried, as that machine has none. No live audio input has ever been opened, and it has never been in a show.

Downloads: a universal macOS build (Apple silicon and Intel) as a .dmg or .zip, and a Windows x64 installer (-setup.exe) or .zip, each with both plugins and ATTRIBUTIONS.md. The plugins go in Documents/Resolume Arena/Extra Effects. The macOS build is Developer ID-signed and notarised minutes after publication; if macOS refuses a download, it's from before that, so download it again. The Windows build isn't signed, so SmartScreen warns once about the installer. User guide · Project page · Browser demo

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 12:53

The first release of Rubens: Rubens' flame tube, played by music, for Resolume Arena and Avenue, as two FFGL plugins in one download. SW Rubens (RU01) is a source: the tube burning in front of a dark backdrop. SW Rubens Over (RU02) is an effect: the same tube burning in front of your clip, and your clip seen through the hot air above the flames.

Photosensitivity warning. The flames flare with the music, and with loud music at the defaults that is more than three flashes a second in part of the picture. Through SW Rubens Over at the defaults, 2 of Resolume's 33 demo clips went over the line on their own raw stems, 24 of 33 with the same music mastered to an ordinary release level (about −11 dBFS RMS), and all 33 with a louder master, up to 12 rises and falls in a second in a third of the picture where the line is six. The whole picture never went over at the defaults. Gas 30 Pa or Volume 130 dB brought every clip back under the line. Turning Volume, Flame or Exposure up, or Gas or Field Width down, makes it worse. The row of evenly spaced flames is also a regular pattern. The user guide's "Flashing, and keeping it safe" has the tables. No default was changed for this.

The one idea. The music moves a loudspeaker at one end of a pipe of propane; the gas in the pipe resonates; each of the holes along its top lets out fuel as the square root of the pressure across it, outward only, into its flame; and the hot plumes above the flames bend the light from what is behind them. Nothing is animated to the beat. The pipe is a duct closed at both ends with up to 64 modes below its first cross-mode, each solved exactly at 16 kHz, plus a closed-form remainder; each hole is an acoustic mass and a jet, integrated every audio sample; a flame's length follows its fuel flow.

Upside down at the defaults. Quiet sound dips the flames where the pressure swings most, the textbook picture. Louder, past the gas pressure, those holes gulp air on each low, and past about 4.3 times it the same places burn tallest: the reversal Ficken & Stephenson reported (known here through Gee and Gardner, Gee & Dix). At the defaults (Gas 3 Pa, Volume 145 dB) loud music is in that reversal, so the kicks flare the flames: the pattern is upside down against the textbook. Gas in the tens of pascals, or a quieter Volume, turns it the right way up.

Controls: Audio (Audio Input, chosen by name and remembered; Rescan Inputs; Channel; FFT Law; Volume 80–150 dB); Tube (Length 0.5–3 m, Hole Pitch 1–5 cm, Hole Size 0.3–2 mm, Gas 1–1000 Pa); Flames (Flame 1–30 cm, Shimmer, Distance 0–30 m); View (Field Width 0.5–6 m, Tube Height, Exposure ±4 stops, and Backdrop in the source or Mix in the Over). The default tube is Gardner, Gee & Dix's large-holed one, 1.524 m with 69 holes. With no input chosen it listens to Resolume's own sound analysis, four bands a frame, which is much less: no melody, no transients inside a frame, an uncalibrated level.

Downloads: a universal macOS build (Apple silicon and Intel) as a .dmg or .zip, and a Windows x64 installer (-setup.exe) or .zip, each with both plugins and ATTRIBUTIONS.md. The plugins go in Documents/Resolume Arena/Extra Effects. The macOS build is Developer ID-signed and notarised minutes after publication; if macOS refuses a download, it's from before that, so download it again. The Windows build isn't signed, so SmartScreen warns once about the installer. On macOS the microphone permission belongs to Resolume: if it was refused, Resolume gets silence and the lamp goes steady red.

What is measured (offline, by tools/verify.sh on an Apple Silicon Mac under macOS 26, driving the plugins' own classes in a headless GL context, at 1280×720 and 320×180 and partly on Apple's software renderer, and feeding them audio through the same path a device would use):

  • The pipe. Its response matches its own continuous model to 1.4e-6; with the losses taken out its resonances sit on the closed form to 4.4e-16, and against Gardner, Gee & Dix's measured tubes to 4.4% (41% without the holes' effect). Each mode's wall loss matches Kirchhoff's to 2.2e-16.
  • The flames. Their spacing, read off the rendered picture, matches the theory with propane's sound speed to 0.15% (air's would be 27% off). Fed a slow tone, the flames dip to 0.838 of their quiet height and cross it again at a swing 4.43 times the gas pressure, where the model says 4.33. The same audio at 24, 30, 60 and 240 fps gives bit-identical flames.
  • The checks can fail. Thirteen deliberately wrong models each fail their check, and all 25 one-character mutants of the shipped code are caught. Every control with pixels changes the picture (14 in each plugin's sweep). Mix 0 returns the clip bit-exactly.

In Resolume. In Arena 7.29.0 on an Apple Silicon Mac, with the release workflow's universal bundles (signed ad hoc) driven over Arena's REST API in a composition of their own: both register as RU01 (a source) and RU02 (an effect), with all 22 and 23 parameters shown and their defaults as declared; Shimmer 0 holds two snapshots identical; Mix 0 is identical to the clip; every visual control tried changes the picture and the source's come back exactly; a half-transparent band of a test clip came through the Over unchanged, with the tube and flames solid over a transparent one. Resolume's own sound analysis moves the flames: re-tested on 19 November with this release's own bundles, with Arena's demo loop Beat 001.wav playing on the layer below and the Audio buffer on Composition, the Over's flames dropped from a median 115 px at rest to 101 px (as low as 61 px) at the default Volume and 82 px at 150 dB, and rose again once the loop was cleared; on Local over the card and on External they stayed quiet. (The first check played Beat 001.mov, which has no sound: Arena's demo clips keep it in the matching .wav files.) On Windows, in Arena 7.27.1 on win-lab (software rendering, no GPU, no sound device), the fleet's Arena gate passed 15 of 15 with 4 skipped, with this release's own x64 DLLs (and before the tag with a pre-tag build): both register with every parameter as declared and render, 9 of the source's controls and 10 of the Over's move the picture, and the controls that need sound weren't tried. It has never been in a show and has never opened a live audio device.

Open questions, and limits. Which way up the defaults should be (see above). Gas and Volume are anchored to no source: no paper read gives a working tube's gas pressure or sound level. Whether Flame should follow Gas (here it's the quiet height at any Gas). The Over assumes premultiplied input, which is what Arena hands it, and gives premultiplied output. Whether the modes should run past the 2.78 kHz cut-on (they stop there; the first cross-mode a loudspeaker can excite is at 5.8 kHz). No pitch-driven plunger. Ficken & Stephenson 1979 is paywalled and known only second-hand. The flames' shape and colour and the shimmer are looks, not measurements. The inspector shows slider positions, not decibels or metres.

Cost, GPU time on an Apple Silicon Mac shared with other builds, at the defaults: the source 0.57 ms at 1080p and 2.28 ms at 4K, the Over 0.59 and 2.38 ms; the pipe and holes 7.6 ms per second of audio on the CPU. macOS figures only, on one GPU.

Not done. No presets and no OpenFX port.