Skip to content

Releases

Woofer v0.1.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 20:09

A fix for Woofer on Resolume's own FFT. SW Woofer (WF01) is a loudspeaker the music drives, for Resolume Arena and Avenue, as an FFGL effect: your clip is printed on the front of a real loudspeaker, and the audio waveform drives the loudspeaker.

On Resolume's FFT the bass band now gets its share of Resolume's lowest bin, not all of it. With no audio input chosen (the default, None (host FFT)), woofer plays one sine per band at Resolume's band levels, and the 63 Hz sine of the 20–200 Hz band is the one that moves the cone. In v0.1.0 that band got all of Resolume's lowest bin, 0–375 Hz; under the Log FFT Laws every band was wrong. An audio input chosen by name was not affected.

  • 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 and are refreshed about every 43 ms. That is FFT Law's default, Linear Mag, which stays; the other three laws stay for hosts nobody has measured.
  • The fix. v0.1.1 takes earshot 02306da, which shares each bin among the bands it overlaps: the 20–200 Hz band takes 180/375 of bin 0's energy, its level 0.693 of the bin's, and the 200–800 Hz band the rest. Woofer also passes Resolume's sample rate to earshot, in the same step as FFT Law. Its log reads "host audio at 48000 Hz: Resolume's FFT bins are 375 Hz each".
  • Arena 7.29.0 on a Mac, an A/B. v0.1.0's release bundle and v0.1.1 in turn, each in its own Arena launch, with Arena's demo drum loop Beat 001.wav on the layer below and Audio on Composition, read off the Height view in snapshots about a fifth of a second apart. At the default Drive (+18 dB) the cone peaked at 9.9% of its stroke on v0.1.0 and 3.9% on v0.1.1. Pooled over +18, +24 and +30 dB, its RMS went from 1.63% to 1.12%, 0.69 of it, where the offline check says 0.693. With no music playing it stayed at rest on both. This release's own notarised bundle, in a later launch, gave the same: a 3.9% peak, and 0.70 of v0.1.0's RMS pooled.

The cone moves less on Resolume's FFT, about 0.69 as far. At the default Drive that is a little, a few percent of its stroke on a demo stem. Turn Drive up for more. Resolume's lowest bin still holds the kick, the bass line and the low toms together, so on the FFT they pump the cone as one.

What is measured offline. A new harness check, --hostbins, builds 64 bins the way Arena was measured to build them and feeds them to the plugin's FFT buffer, at 48 and 44.1 kHz.

  • A 100 Hz tone gives the 20–200 Hz band √(180/375) = 0.6928 of bin 0's level, to 4e-8, and bin 0's energy splits between the two lowest bands with nothing lost.
  • The cone's 63 Hz stroke is the closed-form transfer function's for that share, to 0.2%.
  • Every kick of a 128 BPM loop pumps the cone; its hats alone move it 4.3e-6 as much.
  • FFT Law and the sample rate changed in the same frame both take effect.
  • Against v0.1.0's earshot the check fails 7 of its measurements.

Three new deliberately wrong models fail it, making 22 in all. All 17 one-character mutants are still caught. Everything else tools/verify.sh measured in v0.1.0 passes unchanged: the stroke against the sealed box's transfer function, the stop, the harmonics, the drift and the frame-rate independence.

Flashing. Re-measured through v0.1.1 on Resolume's FFT path: over Resolume's 33 demo clips at the defaults, the Height view no longer crosses the line on any clip (in v0.1.0 it did on all 33, worst 9), and the Lit view, the default, still adds no flash. The warning stands: with an audio input and a loud master the Height view crosses on 5 to 10 of the 33 clips, and on Resolume's FFT at full Drive it still crosses on the browser demo's track (the user guide's "Flashing" has the table).

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 DLL passed the fleet's Arena gate (9 passed, 0 failed, 2 skipped): it registers as WF01, an effect, with all 28 controls as declared, renders, and 10 controls move a still cone's picture; the 11 that act only on a moving cone can't be tried there, as the machine has no sound device. 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 ATTRIBUTIONS.md. 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

Woofer v0.1.0

Choose a tag to compare

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

The first release of Woofer: a loudspeaker for Resolume Arena and Avenue, as an FFGL effect, SW Woofer (WF01). Your clip is printed on the front of a real woofer, and the music drives the woofer.

Photosensitivity warning. The Height view can flash faster than three times a second over a large part of the picture: it shows the cone's stroke as grey across the whole driver, and with a loud master (about −11 dBFS RMS or hotter) it crossed the line on 5 to 10 of Resolume's 33 demo clips (up to 22 transitions in a second in a third of the picture), and on every clip fed the harness's hot synthetic kick spectrum. The default Lit view added no flash to any of the 33 clips at the default Drive or at full Drive, with their own stems, a mastered mix or a limited hot one. The user guide's "Flashing" has the table. Check your settings before you put this in front of an audience.

The one idea. Nothing is animated by a parameter. A cone driver, set by the Thiele–Small parameters of a real datasheet, sits in a sealed box and is voltage-driven by the audio waveform, integrated at 32 kHz (RK4, two substeps a sample) with the force factor falling as the coil leaves the gap, a stiffening suspension, the box's air as an adiabatic spring, a hard stop at Xmech and four breakup modes. So kicks pump the cone and hi-hats leave it still (above the box's resonance the stroke falls as 1/f²; nothing in the code looks at frequency), a big hit flat-tops, the coil bottoms and the status lamp flashes white, and with the coil set off the gap's centre an overdriven cone drifts. The stroke carries the printed clip toward and away from a pinhole camera, the surround's roll bends without stretching and creases the print, and the front is lit as a glossy relief. At rest the picture is exactly your clip.

Controls: Driver (Scan-Speak 10F/8414G10, 18W/8531G00, 26W/8861T00, 30W/4558T00, and B&C 18SW115-16), Box Qtc 0.3–1.5, Xmax ×0.25–×2, Coil Offset ±0.3 of the gap, Breakup ×0.25–×4; Audio Input (None (host FFT), System default, then each input by name), Rescan Inputs, Channel, Drive −20 to +30 dB, FFT Law, Audio; Size, Camera, Exposure 0–40 ms, Ripple, Light Angle, Light Turn, Ambient, Gloss, Status Lamp, View (Lit or Height), Mix. The defaults are the 30 cm sub in a box of Q 0.707, the coil a tenth of the gap out of centre, Drive +18 dB, seen from 1.5 diameters with an 8 ms exposure.

Where the audio comes from. An input chosen by name, through earshot, the fleet's live-audio front end (an unmodified snapshot): a composition remembers the device's name, not its place in the list, and a device that has gone shows as missing rather than becoming another one. With none chosen, the default, woofer falls back to Resolume's own FFT, which is much less: four band levels a frame and no waveform, so woofer plays a sine per band, uncalibrated, stepping once a frame. On macOS the first input opened inside Resolume asks for Resolume's microphone permission.

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 ATTRIBUTIONS.md. The plugin goes 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.

What is measured (offline, by tools/verify.sh on an Apple Silicon Mac under macOS 26, driving the plugin's own class in a headless GL context at 1280×720 and 320×180 and partly on Apple's software renderer, with audio fed through earshot's feed() as a device would feed it):

  • The driver. The stroke matches the sealed box's closed-form transfer function, coil inductance included, to 3.2e-4 over 24 sines from 10 Hz to 2 kHz on all five drivers, in the box and on an open baffle. The coil never passes Xmech at any substep. A sine inside the motor's linear range makes no harmonic above −175 dB, and in the box the air spring's second harmonic is the one perturbation theory predicts to 1e-5. A kick moves the cone 8,559 to 89,030 times further than a 7 kHz hat at the same level. The same audio at 24, 30, 60 and 144 fps gives a bit-identical trace.
  • The checks can fail. Nineteen deliberately wrong models each fail their check, all 17 one-character mutants of the shipped GLSL and C++ are caught, and all 19 sweepable controls change the picture. At silence with Ambient 1 and Gloss 0 the picture is the clip to 0.000 codes; Mix 0 returns it.

In Resolume. In Arena 7.29.0 on an Apple Silicon Mac, with the release workflow's universal bundle (signed ad hoc), mounted over Arena's REST API in a new composition on one layer over a still: it registers as WF01, an effect, with all 28 parameters shown; at rest the frame holds still and the lamp is amber; Mix 0 is identical to the still; and the Audio Input menu works by value, not index (a spare entry with value 0 reaches the plugin as 0, and the saved composition keeps values). Resolume's own FFT moves the cone, a little: re-tested on 19 November with this release's own bundle, with Arena's demo loop Beat 001.wav playing on the layer below and the Audio buffer on Composition, the cone peaked at 5.6% of Xmech at the default Drive and FFT Law, 15.1% at +30 dB and 69% under Log Power, and with nothing playing, on Local over the still and on External it stayed at rest. (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 sound device), with the x64 DLL the release workflow built from this source, the fleet's Arena gate passed 9 and skipped 2: it registers with every parameter as declared and renders, and the 10 controls that act on a still cone move the picture (the 11 that need a moving cone can't be tested without sound). Only Arena's demo stems have been played to it inside Resolume, no live audio input has ever been opened, and it has never run in a show. Try it with your input before a show.

What isn't verified, or is a limit. The fallback is uncalibrated: nobody has measured what Resolume's spectrum holds; FFT Law is the guess, exposed; a band level above 1 is taken as 1; under the two Linear laws the bass band reads one bin, Resolume's lowest. The audio analysis costs about 0.5 ms of CPU a frame on the render thread that woofer never reads, with no switch in this version. Chosen, not measured: the cone's profile, the dust cap's and surround's shapes, the suspension's stiffening, how hard the stop is, the fringe field, the breakup modes (read by eye off the makers' plots), the B&C's Xmech (not printed) and the bare materials' colours. Left out: vented boxes, Le(x), thermal compression, rocking modes, self-shadowing, and sound (woofer makes none).

Cost, on an Apple Silicon Mac: GPU time at the defaults 0.38 ms at 720p, 0.36 ms at 1080p and 1.55 ms at 4K with the Mac quiet (0.93 and 1.75 ms with it busy with other builds); CPU about 1 ms a frame, whatever the raster (the driver 0.15 ms, the profile table 0.3 ms, the audio analysis 0.5–0.6 ms). macOS figures only.

Not done. No presets and no OpenFX port.