BB

VibeGraph v2.1

Procedural Narrative State Engine

Set the harmonic dials. The world will materialize.

keytempodensitylandscapefrequency

VibeGraph

Procedural Narrative State Engine

VibeGraph is a music-to-worldbuilding generator. It translates music theory parameters into visceral, evocative world-building narratives and procedural ambient soundscapes — no external APIs, no LLM calls, entirely deterministic and free.

How It Works

Set seven harmonic parameters on the left panel — your "dials" — and VibeGraph materializes a complete world built from those acoustic constraints:

  • Key & Mode — 12 roots × 25 scales (diatonic, jazz, pentatonic, exotic/symmetric) determine the emotional law of the world.
  • Tempo / Cadence — BPM drives kinetic threat level; rhythmic feel shapes the world's pulse (20–300 BPM).
  • Harmonic Density — From sparse dyads to atonal tone clusters, maps directly to societal complexity.
  • Sonic Landscape — 20 textures across Organic, Digital, Industrial, and Ambient categories define physical materials and architecture.
  • Frequency Bias — 9 spectral emphasis options modulate ambient light, color temperature, and structural palette.
  • Thematic Flavor — 13 optional overrides (e.g. Dark Satire, Quantum Noir) inject narrative tone.

Architecture

Everything runs locally — zero external dependencies for generation:

  • PHP Template Engine — A deterministic generator (generate.php) uses mt_srand() seeded from your inputs to compose Markdown from deep pools of curated narrative text. Response time: ~35–50ms.
  • Web Audio API Synthesizer — A scheduler-based sequencer generates actual procedural music matching your parameters: chord progressions, bass lines, melody phrases, pad layers, arpeggios, and flavor-specific embellishments. All independent oscillators with ADSR envelopes, convolution reverb, delay, distortion, and EQ.
  • Client-side SPA — Single-page app with oscilloscope loading animation, tempo gauge, copy-to-clipboard, shareable URLs, and a mini frequency visualizer.

The Sound Button

After generating a world, click ♪ PLAY SOUND to hear the ambient soundscape that matches your world's parameters. The synthesizer maps every dial to audio properties — key determines root frequency, mode sets scale intervals, BPM drives tempo, density controls voice layers, landscape selects waveform timbre, frequency bias shapes the master filter and EQ, and flavor adds special effects like shimmer bells or dark undertones.

Share Any World

Every generation produces a shareable URL that encodes all input parameters as a query string. Anyone who opens that link sees the exact same dials set — and can regenerate the same world.

Designed By

Built by Brainbox Development as part of the Brainbox project suite. Part of a family of procedural and creative tools including InfiniteRPG, RetroGrade, TradeSpy, and more.