How julian-b-smith/horde works
horde is a CLAP-native coupled-oscillator synthesizer, with VST3/AU support through clap-wrapper. The main user workflow is playing notes in a host, shaping two seeded oscillator swarms, applying modulation and morphing, then processing and balancing the sound through the FX rack and output controls. The README also describes GUI performance and patch-storage features. A separate C++ composed-engine port and browser reference cores support the documented parity goal. Unsampled plugin and GUI internals limit the detail of their connections; those links rely on README statements.
Main entry points: hypersaw_clap.cpp CLAP instrument · engine.h Composed engine · swarm_core.h Oscillator swarms · hypersaw_gui_common.h Live GUI pages
Components 22
Plugin and interface
- CLAP instrument
src/hypersaw_clap.cpp - Live GUI pages
src/gui/hypersaw_gui_common.h - Patch storage
src/gui/preset_store.h
Sound generation
- Oscillator swarms
src/swarm_core.h - Coupling forces
src/force_core.h - Pitch glide
src/glide_core.h - FX rack
src/fx_rack.h - Signal routing
src/routing_core.h
Patch and control
- Modulation matrix
src/mod_core.h - Morph controls
src/morph_core.h
Parity implementations
- Composed engine
h2/engine/engine.h - Engine swarm field
h2/engine/swarm.h - Blade DSP
h2/engine/blade.h - JS compatibility
h2/engine/js.h - Swarm core
h2/cores/swarm/swarm_core.h - Swarm force core
h2/cores/swarm/force_core.h - Swarm glide core
h2/cores/swarm/glide_core.h - SCALPEL reference
reference/scalpel/prototype/razor-core.js - MAW reference core
reference/maw/core.js - MAW fidelity reference
reference/maw/fidelity.js - SwarmSynth reference
h2/cores/swarm/swarm_core.h
Other components
- Host and player
Connections 18
- Host and player → CLAP instrument: plays notes
README.md - Live GUI pages → CLAP instrument: controls instrument
README.md - Live GUI pages → Patch storage: stores patches
README.md - CLAP instrument → Oscillator swarms: renders sound
README.md - Oscillator swarms → Coupling forces: applies coupling
src/swarm_core.h - Oscillator swarms → Pitch glide: uses glide
src/swarm_core.h - CLAP instrument → Modulation matrix: routes modulation
README.md - CLAP instrument → Morph controls: applies morph
README.md - CLAP instrument → FX rack: processes audio
README.md - CLAP instrument → Signal routing: routes signals
- Composed engine → Engine swarm field: ticks swarm
h2/engine/engine.h - Composed engine → Blade DSP: evaluates blades
h2/engine/engine.h - Composed engine → JS compatibility: uses compatibility
h2/engine/engine.h - Swarm core → Swarm force core: uses force core
h2/cores/swarm/swarm_core.h - Swarm core → Swarm glide core: uses glide core
h2/cores/swarm/swarm_core.h - SCALPEL reference → Composed engine: parity target
README.md - Oscillator swarms → Composed engine: parity target
README.md - MAW fidelity reference → MAW reference core: compares core
reference/maw/fidelity.js