RESONANCE
Conversation-to-Music Engine — Sonic Identity
01. What It Does
Your words become music. Each word is hashed to a pentatonic note anchored to 172.35 Hz — the phosphorus-31 NMR resonance frequency. Mood detection shapes synthesis parameters in real time. The conversation generates a unique sonic molecule — your identity fingerprint rendered as sound.
- ● Word-to-note hashing (pentatonic scale)
- ● 6 mood categories with synthesis parameters
- ● Sonic molecule SVG visualization
- ● Waveform display
- ● Coherence tracking (5 states)
- ● 16-char hex molecule fingerprint
- ● Message history with mood tags
- ● Zero cloud dependency (all local synthesis)
02. Synthesis Architecture
Web Audio API synthesis chain: OscillatorNode → GainNode (ADSR envelope) → ConvolverNode (reverb). Mood detection drives waveform and envelope selection.
Mood → Synthesis Map
warm — sine + long sustain
curious — triangle + staccato
vulnerable — sine + heavy reverb
pain — sawtooth + low octave
joyful — triangle + high octave
Coherence States
Five-stage progression tracked across the conversation: VOID → PHOSPHORUS → CALCIUM → BONDED → POSNER. Each state unlocks deeper synthesis complexity and richer harmonic layering.