Skip to content

Releases

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 19:57

A fix for Eidophone's note on Resolume's own FFT. SW Eidophone (ED01) is a Chladni plate with sand on it, sounded by the music, as an FFGL source for Resolume Arena and Avenue; SW Eido Over (ED02) is the same plate as an effect, your clip printed on it with the sand lying on top.

On Resolume's FFT, the plate now rings at the frequency Resolume puts the music. With no capture device chosen (the default, "Resolume FFT (no pitch)"), there is no pitch: the plugin takes the loudest of Resolume's 64 bands, other than the lowest, and drives the plate at that band's centre. v0.1.0 read those bands as spread to 22.05 kHz, so every note it drove was 1.47 semitones flat in Arena: a tone at 1312.5 Hz drove the plate at 1205.9 Hz. A capture device, which gives a real pitch through earshot, was not affected.

  • What Resolume sends was measured. In Arena 7.29.0 on a Mac the bands are linear, 375 Hz each, from 0 to 24 kHz: the audio engine runs at 48 kHz, whatever the clip's rate. So their centres are 562.5 Hz, 937.5 Hz, 1312.5 Hz and so on.
  • The fix. The plugin now takes the audio rate Resolume reports (FFGL SetSampleRate) and reads the bands on that axis, with 48 kHz, Arena's, until a host says. Its log reads "host audio at 48000 Hz: Resolume's FFT bins are 375.0 Hz each", and, once a note has held a second, which band and frequency the plate is being driven at. It also takes earshot 02306da, the fleet's audio front end, whose host-FFT law is now the measured one.
  • Bin Law's default, Linear, is Arena's law, measured, so it stays. Log stays too, for hosts nobody has measured; on Arena it would put that 1312.5 Hz tone at 29.5 Hz.

In Arena 7.29.0 on a Mac, with both plugins mounted over Arena's REST API, Device on "Resolume FFT (no pitch)" and Audio on Composition, the plugin's log reads "host audio at 48000 Hz". Steady tones made for the check played on the layer below. A 1312.5 Hz tone drove the plate at exactly 1312.5 Hz (bin 3), from a 48 kHz WAV and from a 44.1 kHz one alike, and an 880 Hz tone at 937.5 Hz, the centre of its band. v0.1.0 drove them at 1205.9 and 861.3 Hz. After the tag, this release's own notarised bundles, from the .zip below, gave the same log lines on both plugins. With Arena's demo loops the sand moves as it did in v0.1.0: Beat 001.wav made the grains hop in 15 and 18 of 19 snapshot pairs on the Over and 9 and 11 of 19 on the source at the default Gain (pre-tag build, then the release's bundles; v0.1.0: 16 and 9), and in 15 to 19 of 19 at 40 g. Bass 001.wav moved them too. On drums the loudest band changes from hit to hit, so the fix changes which modes ring, not whether the sand moves. Silence, a cleared layer, Local and External moved nothing. Both plugins register with every control as declared, and no microphone prompt appeared.

What is measured offline. A new harness check, --hostfft, builds 64 bands from a tone over a louder bass the way Arena was measured to build them (a 2048-point Hann FFT, 16 fine bins a band, held 2048 samples) and hands them to each plugin's FFT buffer with the rate through SetSampleRate.

  • At 48 kHz and at 44.1 kHz, both plugins: five tones at band centres drive the plate at their own pitch, 0 semitones off; A4, A5, A6 and C8 drive it at the centre of the band holding them, at most 126.5 Hz off at 48 kHz (half a band is 187.5).
  • A plugin never told a rate reads 48 kHz.
  • Against v0.1.0's code it fails: every 48 kHz note 1.47 semitones flat.

Four new deliberately wrong models are caught (25 in all), and so are three new one-character mutants (all 29). Everything else tools/verify.sh measured in v0.1.0 passes unchanged: the plate's modes against Iguchi and Leissa, the sand under and over g, the nodal lines, the bit-exact stillness. The photosensitivity survey fed its music through earshot's feed() (the harness's render has no Resolume FFT input), a path this release doesn't change, so it stands: no warning needed.

Where it has run. Arena 7.29.0 on a Mac, above, and Arena 7.27.1 on Windows (software rendering, no GPU, no sound device). On Windows, this release's own x64 DLLs, from the .zip below, passed the fleet's Arena gate (15 passed, 0 failed, 4 skipped, as v0.1.0's did): both register as ED01 and ED02 with all 24 and 26 controls as declared, render, and 7 controls of each move the picture. The controls that act through the sound weren't tried there, so the fix itself hasn't been seen on Windows. No live audio input has ever been opened, Avenue has never loaded it, 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 13:34

The first release of Eidophone: a Chladni plate with sand on it, sounded by the music, for Resolume Arena and Avenue, as two FFGL plugins in one download. SW Eidophone (ED01) is a source: a metal plate seen from above with sand on it. SW Eido Over (ED02) is an effect: your clip printed on the plate, with the sand lying on top.

The one idea. A plate rings in the shapes it can ring in; sand sits still only where the plate is still enough to hold it. A free plate, square or round, in aluminium, brass or steel, is pushed at a point by a force that follows the music's pitch and loudness, and answers as a sum of its own modes, each a damped resonator. A grain can leave the plate only where the plate's acceleration beats gravity; there it is thrown, lands a little off and is thrown again, so the sand gathers on the nodal lines, where the plate keeps still: Chladni's figures. None of it is drawn. A new note half-redraws the old figure, a quiet passage freezes it exactly, louder music draws thinner lines, high notes draw slowly, and fine powder goes the other way, carried by the air the plate stirs to where it moves most (Faraday, 1831). The name is Megan Watts Hughes's instrument, a membrane strewn with sand that she sang into.

Controls: Plate (Shape Square or Circle; Size 10–60 cm; Thickness 0.3–3 mm; Material; Drive At, where it's pushed; Damping, Q 5–500); Audio (Device, chosen by name and remembered, starting with "Resolume FFT (no pitch)"; Rescan; Gain 0.5–40 g; Clarity; Bin Law); Grains (Sand, Powder or Both; Amount 1,024–262,144 grains; Hop; Air; Pour, to strew them again); View (Fit or Fill; Grain Size; and Mix in the Over). The defaults are a 40 cm square of 1 mm aluminium pushed at its centre, Q 40, 65,536 grains of sand, Gain 12 g, on Resolume's FFT. That FFT has no pitch: the plugin guesses the note from the loudest of its 64 bins, and the menu says so. A capture device (a loopback of the music, or a microphone) gives a real pitch through earshot. Gain is relative: the plate's peak acceleration at the loudest passage of the last few seconds, so a quiet track shakes it as hard as a loud one.

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 (the ticket is stapled to both bundles and the .dmg); 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 (More info → Run anyway). On macOS the microphone permission belongs to Resolume: if it was refused, a capture device gives silence and the plate's rim pulses red.

Flashing. No photosensitivity warning was needed. Through the plugins' own code with the broadcast rule (more than three flashes a second over the whole picture or a third of it), on all 33 of Resolume's demo clips with music: SW Eidophone at 14 settings (the defaults, Gain 40 g with the most grains and Both, Q 5 with Hop 4, Powder with Air 100, the biggest grains, Pour pressed four times a second), none over the line and at most one flash a second anywhere; SW Eido Over at 6 settings, none over, never taking a clip over the line, and raising one at most from none to two a second. No default was changed. Two things are still yours to judge: pressing Pour rapidly strews the whole plate again each time (a full-frame change), and high notes draw fine, regular lines across the plate, which some viewers find uncomfortable at large sizes. The user guide's "Flashing" section has the detail.

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 path a device uses):

  • The plate. The free square's modes match Iguchi's series solution to 3.4e-5 and all 20 of Leissa's Table 4.67 sit inside its bounds; the circle's Bessel roots agree with an independent solver to 6.6e-10. Each mode's response is the damped oscillator's closed form to 9.5e-16, the same at 24, 30, 60 and 240 fps to 2.3e-12. A sine at a mode's frequency, through earshot's pitch tracker, puts 65–91% of the plate's energy in that mode.
  • The sand. Over 757,980 grain-substeps where the plate's acceleration was under g, 0 grains changed in any bit; over 4,484,878 above it, 0 stayed put. Driven in one mode, 100.00% of the sand settles on that mode's analytic nodal lines, square and circle. With Both, 92.9% of the powder lies near the antinodes (a uniform scatter: 12.6%). Ten seconds under g move 0 of 393,216 grain-readings.
  • The checks can fail. 21 deliberately wrong models each fail their check, and all 26 one-character mutants of the shipped GLSL and C++ are caught. All 17 controls of the source and 18 of the Over that have pixels change the picture. Mix 0 returns the clip with 0 of 3,686,400 floats different.
  • Resolume's demo clips. Every one of the 18 AV clips moves sand with its own WAV; 10 of the 18 draw a clean figure in 7.5 s (five Bass clips' corner arcs, four Beat clips' star, and Synth 003), six a mixture or part of one, and two barely start (Synth 004 at 1047 Hz, Synth 006, very quiet).

In Resolume. In Arena 7.29.0 on an Apple Silicon Mac, with universal bundles from this source (signed ad hoc) mounted over Arena's REST API in a composition of their own: both register (SW Eidophone a source with its 24 parameters, SW Eido Over an effect with 26), with their defaults as declared; in silence two snapshots 2 s apart were identical for each; Mix 0 was identical to the bare clip; every drawing control tried changed the picture, and Pour, Shape and Grain strew the grains afresh. The device menu listed the Mac's devices and opened none, and no microphone prompt appeared. Resolume's own sound analysis throws the sand: 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 grains hopped in 16 of 19 snapshot pairs on the Over and 9 of 19 on the source at the default Gain, and 19 and 15 of 19 at 40 g; with nothing playing, and on External, nothing moved. (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 checks, failed none and skipped 4, with this release's own x64 DLLs from the .zip above (and, before the tag, with the release workflow's pre-tag build): both register as ED01 and ED02 with every control's name, order, type, range and default as declared, render, and 7 controls of each move the picture; the 10 and 12 that act only through the drive need sound and weren't tried. It has never been in a show, never opened a live audio device, and Avenue has never loaded it.

Open questions, and limits. How a grain really hops, how powder is carried, and how much a sand-loaded plate is damped are all assumptions (one Q for every mode). The driver is ideal, with no mass of its own. The audio law is relative, with no absolute-level switch. High notes draw slowly, as 1/f² at the same Gain; whether Hop should rise with pitch is open. The default plate's lowest mode (near 37.5 Hz) is under earshot's 40 Hz pitch floor. One note at a time: chords aren't separated. The Over's sand reads sparse in Fill at the default Amount; more grains cost little. Two published values (Iguchi's 65.3680, and Leissa's Table 4.67 column from ref 4.76) are left out of the check, unexplained. No sand falls off the edge, no heaps, no grain–grain collisions.

Cost, GPU time on an M4 Max shared with other builds, at the defaults: the source 0.26 ms at 720p, 0.31 ms at 1080p and 0.61 ms at 4K; the Over 0.28, 0.41 and 0.87 ms. 262,144 grains take 0.64 ms at 1080p. macOS figures only, on one GPU.

Not done. No presets and no OpenFX port.