voltergeist

VOLTERGEIST for VCV Rack

This page is plugins/vcv/README.md from the repository.

A VCV Rack 2 module that receives voltergeist frames over UDP and plays them out as control voltages and gates, on the shared clock, inside Rack's engine. No MIDI in between: float resolution, gates on the exact sample.

The VOLTERGEIST panel

The panel (10 HP)

Right-click menu: UDP port (default 9100), volts when a channel's unit is not V (0 to 10, ±5 or 0 to 5 V, through the map's min and max; unit V passes as volts), hold or interpolate on loss, receiver limits per channel (lo..hi, lo..hi@slew, @slew; they win over the sender's map, SPEC.md 6.1), and which channel goes to each of the outputs 1 to 8. All saved in the patch. The module answers PING with PONG, so a sender sets the clock, and sends a REPORT once a second.

Install

  1. Take the .vcvplugin for your machine (mac-arm64 for Apple silicon, mac-x64, lin-x64, win-x64).
  2. Put it in Rack's user plugins folder, for example ~/Library/Application Support/Rack2/plugins-mac-arm64/ on an Apple silicon Mac. If it came by AirDrop or a browser: xattr -d com.apple.quarantine <file>.
  3. Restart Rack, right-click the rack, search "Voltergeist", add it. The display reads "9100 no stream". On a Mac, allow Rack to accept incoming connections when asked.
  4. Send to it from any machine: node tools/send.mjs --to <address>:9100 --gate. Within a second the clock lights, LINK goes green, CV 1 to 4 carry the test signal (0 to 1 V) and GATES toggles every 250 ms.

If it does not load, Rack's log.txt (in the same Rack2 folder) says why.

How it stays up

The plugin it replaces in our tests (trowaSoft cvOSCcv) crashed Rack under load and at patch load, from unlocked queue reads on the audio thread and a module list walked without its lock. This module follows the opposite rules:

Tested (in containers)

Build

Containers only (docker/, build.sh, Makefile); test/run.sh runs the tests, test/sabotage.sh breaks five things and checks each is caught, test/rack-headless.sh runs Rack for Linux headless. The panel SVGs are generated by tools/panel.mjs.