Musical Intelligence Engine

The DJ set as
a living organism

Not a key detector. Not a compatibility matrix. A reasoning engine that understands your entire library, predicts how every choice will feel to the room, and speaks to you like a world-class mentor standing beside you.

Explore the Engine See the Products
11
Custom Analyzers
10
Reasoning Tools
7
Rules of the Arc
3
Products
13
Ragas + Maqams

The Problem

The brain cannot hold
what the music demands.

DJs spend hours, sometimes days, searching for the right track to follow the one before it. Not because they lack taste or skill, but because the combinatorial space is beyond human cognition.

Every track relationship is governed by at least five independent dimensions: harmonic compatibility (key, mode, cadence resolution), rhythmic coherence (groove signature, syncopation density, swing alignment), timbral continuity (spectral density, frequency band occupation, sonic texture), energy trajectory (arousal level, tension-release cycle, peak placement), and emotional arc (dopamine anticipation, hedonic adaptation, narrative momentum).

A library of 500 tracks produces 249,500 possible pairings. Each pairing scored across five dimensions yields over a million data points. The human brain, limited to roughly four simultaneous variables in working memory (Cowan, 2001), cannot evaluate this space. It approximates. It relies on habit. It gets lucky sometimes.

The DJs who build truly great sets, the kind that feel like a single unbroken journey, arrive there through one of two paths: weeks of obsessive trial and error, or the rare gift of a flow state where intuition briefly touches what cognition cannot reach.

Doors of Harmony takes away the burden of this process without taking away the joy or the skill. It does not remove the need to be creative. It lays the foundation to create the most extraordinary soundscape experience a DJ can have.

Your track choices still matter. Your taste still defines everything. Doors of Harmony finds the best order of your favourite music, scored across every dimension the brain cannot hold at once. The set is still yours. It is still intimate, still personal. But now the invisible relationships between your tracks are visible, and the impossible combinatorial space becomes navigable.

Sell the problem you solve, not the product you have. β€” Richard Branson

Architecture

Three layers.
One intelligence.

Raw signal becomes musical wisdom. Each layer is purpose-built. The moat is the reasoning layer: it explains WHY, not just WHAT.

Layer 01 / Raw Analysis
Signal Processing

Industry-standard libraries extract low-level audio features. BPM, beats, stems, MIDI. The raw material before interpretation.

librosa Demucs Essentia basic-pitch ffmpeg
Layer 02 / Musical Intelligence
11 Custom Analyzers

The product. Every analyzer was purpose-built to extract what matters musically: groove fingerprints, emotional arcs, raga classification, harmonic relationships. No off-the-shelf solution does this.

harmony.groove harmony.modal harmony.emotion harmony.raga_deep harmony.relationships +6 more
Layer 03 / Reasoning Engine
Claude API + 10 Tools

Analysis feeds into a Claude-powered reasoning layer with 10 function-calling tools. It speaks in feelings and moments, not scores. Mentor voice. Structured output. Actionable intelligence.

suggest_next arc_prediction transition_recipe search_library +6 tools

Musical Intelligence

11 Analyzers.
Every dimension that matters.

Each analyzer was built because no existing tool gave us what we needed. Together they form a complete musical fingerprint of every track in your library.

🎯
core.py
Structural foundation

BPM, key, mode, beats, energy level, and structural sections. The skeleton everything else is built on. Essentia key detection for accuracy beyond librosa defaults.

🎸
chords.py
Harmonic content

Chord progression extraction and cadence detection. Finds the harmonic DNA: what chords are actually sounding, what resolutions are happening, what the actual key center is.

🌊
emotion.py
4-signal emotional trajectory

Not a single mood tag. Four independent emotion signals tracked across the track's timeline. Energy, valence, tension, and release curve as the track breathes.

πŸ₯
groove.py
Rhythmic fingerprint

Swing percentage, syncopation score, polyrhythmic layers. The groove signature: where the energy lands relative to the beat. Is it on-grid techno or off-beat, alive, pulling? The difference between music that makes you move and music that doesn't.

🎨
modal.py
Per-section modal color

Modal analysis section by section. Detects when a track shifts mode mid-journey. Dorian verse, Phrygian bridge, back to Dorian. The color map of the track's harmonic world over time.

πŸ”
motifs.py
Recurring melodic ideas

Finds the hooks. Melodic fragments that repeat and evolve. The motif map tells you what's memorable about a track and where those moments live for strategic mixing.

❓
phrases.py
Question/answer classification

Musical phrases classified as questions (tension, unresolved) or answers (resolution, arrival). Phrase alignment is rule 1 of The Rules. This analyzer finds every phrase boundary in the track.

πŸ•‰οΈ
raga_deep.py
7 ragas + 6 maqams, 4-dimensional scoring

Scores every track against 7 Indian ragas and 6 Arabic maqams across four independent dimensions: note content, melodic movement, emotional quality, and temporal character. The foundation for Raga Mode.

🌐
relationships.py
11-dimension cross-track scoring

The core. Given any two tracks, scores their compatibility across eleven musical dimensions: harmonic, modal, energy, groove, timbral, emotional, rhythmic, and more. The Callipari spectrum replaces Camelot's binary compatible/incompatible with a graduated map of musical possibility.

βœ‚οΈ
samples.py
Auto sample slicing

Intelligent sample detection and slicing. Finds the moments worth extracting: the drops, the melodic peaks, the textural openings. Sets up the MIDI export pipeline.

πŸ”­
spectral_space.py
Frequency band density + creative openings

Five frequency bands (sub, low-mid, mid, high-mid, air) analyzed for density. Finds the creative openings: where in the frequency spectrum is space available for layering, sampling, or EQ carving during a blend.

Reasoning Engine

Claude API.
10 tools. Mentor voice.

Analysis feeds into function-calling tools. The engine quantifies internally. It translates to experience externally. Never says "incompatible." Always says what it will feel like.

01
suggest_next_track

Scores entire library against current set state. Returns ranked candidates with harmonic, energy, groove, timbral, and arc scores. Explains each recommendation in plain language.

02
arc_prediction

Input venue, time, crowd state. Output: 30-minute energy arc curve with 5-minute targets. Four arc types: underground, festival daytime, festival indoor, radio. Crowd state shifts the curve up or down.

03
analyze_transition

Full transition recipe for any two adjacent tracks: cue points, EQ moves, blend technique, phrase alignment, spectral complement analysis, mix window options.

04
search_library

Natural language search across analyzed library. "Find tracks in the Yaman raga family with energy 5-7 and dark groove" returns ranked, explained results.

05
explain_pair

Deep-dive on any two tracks. What is their harmonic relationship? What will the crowd feel? What technique should be used? What are the risks? What are the opportunities?

06
set_state_update

Updates internal set tracking: current track, position, valley history, phi point tracking, warnings. The engine's memory of where you are in the arc.

07
harmony_explorer

Given any track, generate the modes and melodies that will work harmonically. The creative map around any song in your library.

08
get_track_analysis

Full analysis readout for any track: all 11 dimensions, emotional trajectory, raga classification, spectral space, groove fingerprint.

09
arc_warning

Passive monitor. Fires warnings: stasis detected (12+ min energy flatline), valley needed, opening restraint violated, resolution window approaching.

10
context_adapt

Re-weights all scoring based on context: venue type, time slot, style direction, crowd state. A festival peak slot wants different logic than a closing sunrise set.

Engine Output β€” Mentor Voice

"Track B would be a parallel minor shift β€” same root note, same BPM, but the mode drops to Aeolian. The floor stays under your feet, but the light changes. It will feel like walking through a door into a darker room. The crowd isn't ready for the tritone yet β€” they haven't peaked. Save that for after track 9. This is the right emotional deepening for where you are in the arc."

The engine quantifies internally: 6/7 shared chord tones, 0.2 energy delta, 0 BPM gap, groove compatibility 0.87. It translates externally: parallel door, light change, darker room. This is the product distinction. Mixed In Key tells you the key. Doors of Harmony tells you what the room will feel.
System Principles
β†’ Never says "incompatible." Says what the tension will feel like and when to use it.
β†’ Scores internally, speaks in feelings. Numbers live in the data layer, not the voice.
β†’ Does NOT mix for you. Frees creative headroom so you can focus on the room.
β†’ Callipari graduated spectrum replaces Camelot's binary scoring. Magic Glue principle.

Products

One engine.
Three products.

The DJ product is the wedge. The psychedelic product is a separate premium offering. Both run on the same intelligence foundation.

Set Builder
Doors of Harmony DJ

A living map of your entire music universe. Build sets with reasoning that feels like a world-class mentor beside you. The preparation tool for serious DJs.

  • Constellation graph: library as navigable relationship network
  • Next-track ranking with harmonic explanation
  • Pin peak track at target time, engine shows approach backward
  • "What If" hover: preview consequences before committing
  • Arc wave view: full set energy topology at a glance
  • Auto-generate complete draft sets from context alone
  • Set wave + track waveform with Traktor-style freq bands
● First Wedge β€” Building Now
Live Advisor
Live Co-Pilot

Glanceable second-screen coaching during the actual performance. Attention is scarce. Every extra sentence is a burden. This is the instrument panel with taste.

  • Big text, minimal UI: next 3 moves at a glance
  • Arc warnings: "Valley time." "Peak window in 4 tracks."
  • One-line emotional framing at every decision point
  • MIDI integration: K1 pads as tanpura root drone
  • Current arc position vs predicted arc overlay
  • Load prepared set or improvise with live tracking
● Phase 3 β€” After Set Builder Proves
Therapy Guide
DoH Psychedelic

A separate clinical and ceremonial music guidance product. Session architecture matched to pharmacological curves. Not a mode. A different product with different trust requirements.

  • Molecule-specific session arcs: ketamine, MDMA, psilocybin, LSD
  • Dose profile and onset timing integration
  • Real-time state adjustments: grounding, opening, peak, integration
  • Audio quality validation and therapeutic suitability scoring
  • Vocal/non-vocal and sound quality constraints
  • Session logging and outcome tracking
● Future β€” With Domain Expert Partners

Raga Mode

The DJ set
IS the raga.

Not a filter gimmick. A structural philosophy. Indian classical music spent 2000 years solving the exact problem DJs have: how to create a coherent, evolving, emotionally intentional long-form tonal journey.

The raga tells you: this is the tonal world. The sa (root) is your anchor. Depart from it, explore the degrees, build tension around the vadi (emphasized note), and return home. The structure IS what enables the freedom. Rules free the DJ.

Alap
Slow exposition. No rhythm. Establish the sa, introduce the raga's personality.
Jor
Pulse enters. Rhythmic but free. Build the harmonic world, approach the vadi.
Jhala
Intensity rises. Fast, rhythmically dense. Maximum harmonic tension before peak.
Gat
The main composition. Rhythmic tabla enters. Full raga expression, peak and resolution.
Yaman Bhairav Kafi Darbari Kanada Bhairavi Todi Marwa Rast Bayati Hijaz Nahawand Saba Kurd

Neuroscience

The rules are
backed by science.

Every rule in the engine is anchored to peer-reviewed research. The DJ's art is the brain's biology made visible.

Groove / Motor Engagement
The body entrains before the mind decides.

Groove activates the motor cortex before conscious processing. Syncopation β€” energy landing between beats β€” creates the anticipation-reward loop. This is why off-beat music makes you move even when you're trying to stand still.

Grahn & Brett (2007) Β· Motor cortex entrainment Β· Neural motor prediction
Dopamine / Tension-Release
The build fires more dopamine than the drop.

The caudate (anticipation) activates harder than the nucleus accumbens (reward). "When is it going to drop?" is chemically MORE engaging than the drop itself. Invest in the build. Don't rush to the payoff. The Zeigarnik effect: unresolved tension is remembered longer.

Salimpoor & Zatorre (2011) Β· Caudate vs nucleus accumbens activation
Bass / Vestibular Resonance
Bass is felt before it's heard.

Sub-bass frequencies couple with the vestibular system. The 18-100Hz range creates physical sensation before auditory processing completes. This is why bass is somatic: it's a body event, not just a sound. The bass swap during a transition moves the physical ground beneath the crowd.

Todd & Cody (2000) Β· Vestibular hair cell resonance Β· Saccular response 90Hz
Hedonic Adaptation / Valleys
Sustained peaks stop feeling like peaks.

After 8-12 minutes at the same energy level, hedonic adaptation kicks in. Receptors saturate. The crowd stops feeling the energy. A dip to valley resets the receptor. The next push to the same energy level feels higher than before. You MUST dip to make the peak hit harder.

Brickman & Campbell (1971) Β· Hedonic treadmill Β· Receptor saturation model
Neural Entrainment / Phrase Lock
The brain locks to phrase structure.

The crowd unconsciously tracks bar count. Neural entrainment to 8, 16, and 32-bar structures is automatic and pre-cognitive. A transition at the right phrase boundary feels RIGHT in the body. Mid-phrase, it feels WRONG. This is neurological, not taste.

Large & Jones (1999) Β· Dynamic attending theory Β· Oscillator entrainment
Peak-End Rule / Memory
People judge sets by two moments: peak and end.

Kahneman's peak-end rule: the remembered quality of an experience is dominated by how it felt at its peak and how it ended. A great peak with a lazy ending equals "good set." A great peak with a beautiful resolution equals "unforgettable set." The last 15% is not afterthought. It is the memory.

Kahneman et al. (1993) Β· Peak-end rule Β· Arousal transfer (Zillmann, 1971)

The Rules

The gold.
Three levels. One fractal.

The same principles apply at every scale: the transition, the arc, the live blend. Break them and people feel it, even if they can't explain why. The engine holds these rules so the DJ can hold the vision.

Level 01
Transition Rules
Track A into Track B β€” the non-negotiable craft rules
1.1 Phrase Alignment

Mix on 8, 16, or 32-bar boundaries. The body entrains to phrase structure. When the kick drops on bar 1, it feels RIGHT. On bar 13, it feels WRONG.

β†’ Dynamic attending theory Β· Neural phrase entrainment
1.2 Harmonic Path (Magic Glue)

Tracks sharing 2+ chord tones blend. More shared notes = smoother. Fewer = tension (which can be good). Callipari's universal law: a graduated spectrum, never binary.

β†’ Brian Callipari Β· Magic Glue spectrum Β· 7 compatibility levels
1.3 Energy Delta

0-1 point: seamless. 2-3: noticeable. 4+: dramatic or jarring. Weber-Fechner law: perceived delta depends on current energy level, not absolute change.

β†’ Weber-Fechner law Β· Perceived vs actual stimulus delta
1.4 Transition Depth (The Weave)

Long blend (16-64 bars): Track A and B create a THIRD thing. Neither A nor B β€” a composite that doesn't exist in either track alone. That's the "where does this rhythm come from" feeling.

β†’ Spectral complementarity Β· Ghost layer Β· Frequency gap filling
1.5 Timbral Thread

Maintain sonic palette across transitions. The vibe is the thread. Don't break it without intention. Shift the palette gradually over 2-3 tracks, not in one jump.

β†’ Spectral centroid Β· Bass character Β· Texture density scoring
1.6 BPM Stepping

0-3 BPM: undetectable. 4-6: noticeable. 7+: requires breakdown, cut, or creative bridge. 86.1% of real DJ transitions adjust BPM less than 5%.

β†’ Kim et al. (2020) Β· 1,557 mixes analyzed Β· BPM perception thresholds
Level 02
Arc Rules
Across the set β€” the set is a story, not a playlist
2.1 Peaks Need Valleys

Sustained high energy diminishes impact. After 8-12 minutes at energy 8, the crowd stops feeling it. A dip to 5 for 2-3 minutes resets the receptor. The next push to 8 feels like 10.

β†’ Hedonic adaptation Β· Brickman & Campbell (1971)
2.2 Ascending Valley (Shepard)

Each valley floor should sit slightly higher than the previous one. The audience perceives endless ascent even as energy regularly dips. Logarithmic perception makes the rising floor felt subconsciously.

β†’ Shepard tone illusion applied at macro scale
2.3 Something Must Change

No dimension should flatline for more than 12 minutes. If energy holds, shift harmony. If harmony holds, shift rhythm. Attention span research: novelty resets the attention clock.

β†’ Wilson & Korn (2007) Β· Novelty and attention reset
2.4 Anticipation Before Arrival

The build fires more dopamine than the drop. Invest in the build. Zeigarnik effect: unresolved tension is remembered better than resolved. Create moments that almost resolve but pull back.

β†’ Salimpoor & Zatorre (2011) Β· Zeigarnik (1927)
2.5 Opening Restraint

Hold back in the first 15-20%. The opening establishes the floor so the ceiling feels higher. Anchor at 3 and your peak at 9 feels like +6. Anchor at 7 and the same peak feels like +2.

β†’ Serial position effect Β· Ebbinghaus primacy principle
2.6 Resolution Is Not Optional

The last 15% must feel like a deliberate landing. Peak-end rule: great peak + lazy ending = "good set." Great peak + beautiful resolution = "unforgettable set."

β†’ Kahneman peak-end rule Β· Arousal transfer (Zillmann, 1971)
Level 03
Live Rules
Real-time mixing β€” what the engine watches during the actual blend
3.1 Spectral Complementarity

During a blend, Track A and B should fill each other's frequency gaps, not fight over the same frequencies. The composite becomes richer than either track alone.

β†’ Frequency band analysis Β· Spectral gap detection
3.2 EQ as Storytelling

EQ isn't just avoiding clashes. It's sculpting the blend. The bass swap IS a moment. The crowd feels the foundation shift under them. Every EQ move is a narrative event.

β†’ Bass swap Β· Mid scoop Β· High filter Β· Full arrival
3.3 The Ghost Layer

During a blend, there are moments where neither track is fully present. The crowd hears a THIRD thing β€” a composite that exists only in that transition. This is what separates DJing from playlist playback.

β†’ Spectral composite scoring Β· "Ghost richness" metric

Arc Prediction

Context shapes
the curve.

Input venue, time slot, and crowd state. The engine predicts the optimal energy arc for the next 30 minutes. Four arc types derived from Richie Hawtin, Adam Beyer, and Dubfire sets. Crowd state shifts the curve in real time.

Energy Arc β€” 30-Minute Horizon
Underground Festival Day Festival Indoor Radio
18 min
Peak Window
2
Valleys
3.5
Valley Floor
9.0
Peak Energy

The Interface

Your library is a
constellation.

Every track is a star. Relationships glow with meaning. Drag to the timeline and watch the universe reorganize around your choice. The Obsidian graph view β€” for music.

Lydian (bright gold)
Ionian (teal)
Dorian (steel blue)
Aeolian (deep blue)
Phrygian (dark rose)
Adjacent Fifth
Parallel Shift
Tritone Sub

Differentiation

What they tell you.
What we tell you.

Capability Mixed In Key DJOID Doors of Harmony
Key detection βœ“ βœ“ βœ“ + modal color per section
BPM analysis βœ“ βœ“ βœ“ + groove fingerprint + swing
Compatibility scoring Binary (yes/no) Camelot wheel only 7-level graduated spectrum
Emotional arc tracking βœ— βœ— βœ“ 4-signal trajectory per track
Set arc intelligence βœ— βœ— βœ“ peaks, valleys, Shepard principle
Natural language reasoning βœ— βœ— βœ“ mentor voice, explains WHY
Constellation graph βœ— βœ— βœ“ living relationship map
Raga / tonal world filtering βœ— βœ— βœ“ 7 ragas + 6 maqams, 4D scoring
Arc prediction by context βœ— βœ— βœ“ venue + time + crowd state
Transition recipes βœ— Basic cue points βœ“ cue points + EQ + spectral analysis
Neuroscience-backed rules βœ— βœ— βœ“ Salimpoor, Brickman, Kim, Grahn

The First Demo

Drop 100 songs.
Get the whole story.

The first unforgettable version is a full set build. Not two songs. A whole set, organized according to principles of harmony and groove. No existing tool lets you drop 50 or 100 tracks, pick three anchors β€” your peak song, your favorite, the one they're all waiting for β€” and have the engine weave the perfect sequence so that song arrives like a revelation.

The hard problem

Two songs is easy. Everybody knows that. But understanding why these 5, 10, 20, 30 songs belong together in this order, on a bigger fractal scale β€” that is what breaks human brains. The machine sees the whole chain. You see the journey.

The wow moment

On top of the sequence, it says: this melody comes back three times. That is why it has meaning. It becomes part of the tapestry of your sonic signature. The engine surfaces what your subconscious already felt but could never explain.

Three stages

01   Set Intelligence

Drop 100 songs. Pick three anchors. Get a sequence you could never have built yourself. Manual set building with superintelligence. You still DJ. The machine thinks for you.

02   Sonic Exploration

Coolest loops. Best rhythms. Meaty melodies that can be woven through a whole set. Start sliding things, moving things. Paint something. This is where it gets extraordinary.

03   Sonic Perfection

A scale from 60 to 100. Most DJs don't even play at 60. The engine pushes you toward 85, 90. Big DJs perfect on top of suggestions, design sounds, import them, push the envelope further than their brain alone could reach.

"The human brain cannot create a non-stop great set. The brain gets tired. DJing is mental: buttons, sounds, effects, everything at once. If this machine does that without getting tired, creating amazing sets, it shows you possibilities. You learn from it. It saves your brain space to create sonic magic."

β€” Janua, March 2026

Why This Matters

The brain is not free.
Spend it wisely.

There is a story about a chess grandmaster who lost two kilos of body weight during a single match. Not from moving. From thinking. The mental effort was so intense it physically consumed him. People do not understand this about elite cognitive performance.

DJing is cognitive work

Preparing a set is an extreme use of brain power. You deplete cognitive strength before you even walk in. Then in the booth: BPM alignment, phrasing, bars, loops, spectral density, energy flow β€” all simultaneously, in real time, in front of a crowd.

What DoH frees

If the machine handles set construction, you arrive fresher. More space to play, to experiment, to feel the room. Not replacing the DJ. Freeing their headspace for the part only they can do β€” the part that cannot be automated.

The traditionalist argument

On April 1, 2026, Pioneer posted a joke about removing the sync button from their mixers. Many DJs reacted with genuine joy. This virtue signaling is the same argument that showed up when CDs replaced vinyl, when Traktor replaced CDs, when the sync button appeared. The resistance is always about identity, never about quality.

The DJs who freed themselves from manual beat-matching did not become worse DJs. They became more present. They focused on taste, instinct, the room. Doors of Harmony does that at the set-construction level. Every generation calls the next tool blasphemy. Then it becomes baseline.

"Once you see it, you will never look back."

β€” Janua, April 2026

Tech Stack

Built to last.
Designed to scale.

Python analysis engine, FastAPI server, React + Three.js + D3.js frontend. Claude API for reasoning. Tauri for desktop packaging when ready. Every choice made for quality, not convenience.

Analysis Python 3.12 librosa Essentia Demucs basic-pitch ffmpeg
Backend FastAPI Pydantic Claude API Function Calling
Frontend React + TypeScript Three.js D3.js WebMidi.js WebSocket
Deploy Tauri (later) Desktop-first

Raga Arc Architecture

The Discovery.
3,000 years of arc wisdom,
made computable.

What started as a question about emotional arc structure in DJ sets became something larger. Fourteen insights discovered in one night. This is the intellectual foundation of Doors of Harmony.

1 The Problem
The DJ Working Memory Limit

A library of 500 tracks produces 249,500 possible pairings. Each pairing scored across five dimensions yields over a million data points. The human brain, limited to roughly four simultaneous variables in working memory (Cowan, 2001), cannot evaluate this space. It approximates. It relies on habit. It gets lucky sometimes.

The DJs who build truly great sets arrive there through one of two paths: weeks of obsessive trial and error, or the rare gift of a flow state where intuition briefly touches what cognition cannot reach.

"A real good set as a whole is something the brain is incapable of imagining and grasping. Those DJs that have managed came to a good set either by many weeks of trial and error or by having the luck to be tapped into a flow state and granted a rare moment of perfect songs. Doors of Harmony takes away the burden of this process without taking away the joy or the skill."
Janua β€” 2026-03-31
"Sell the problem you solve, not the product you have." β€” Richard Branson
2 The Frame Shift
Don't classify tracks as ragas.
Extract arc wisdom FROM ragas.

The wrong approach: "This track is in Raga Bhairavi."

The right approach: "Here is how a master musician builds tension, peaks, and resolves over 60 minutes. Use this shape."

The raga becomes an invisible blueprint. The DJ never needs to know the word "raga." They see: "Deep Journey (90 min, slow build, single peak at 70%)" or "Dawn Energy (60 min, rising warmth, no hard peak)."

3,000 years of performance tradition distilled into a draggable arc template. The source is invisible. The shape is everything.

3 The Fractal Principle
The same arc at every scale.

The raga arc is fractal. The Alap-Jor-Jhala-Gat shape repeats at every zoom level. Not metaphor. Measurable. Voss & Clarke (1975, Nature): music follows 1/f noise distribution, self-similar structure across all timescales.

8-12h
Party Arc
The festival day is a raga. Opening DJ = Alap. Headliner = Jhala. Closing DJ = Gat.
1-2h
Set Arc
Each DJ plays a mini-raga within their slot.
15-30m
Movement Arc
Each build-peak-breathe cycle within a set is a micro-raga.
2-5m
Transition Arc
Even a single blend has tension, harmonic overlap, and resolution.
4 The Relay Principle
DJs modulate forward.
The closing DJ returns to root.

A DJ does NOT return to their own root (Sa). They resolve to the next DJ's root. Each set is a complete arc, but tilted upward. The overall party arc keeps ascending even though each individual set has its own internal arc.

Exception: the closing DJ. They DO return to the true root. They complete the party raga. Their gat is the real resolution.

This mirrors Indian classical concert structure: 3-4 performers, each starting higher than the last, the evening itself forming one ascending journey made of smaller complete journeys.

DJ 1: Alap (low)→Jor→Jhala→Gat (elevated exit)
DJ 2: Alap (elevated)→Jor→Jhala→Gat (higher exit)
Closing: Alap (peak)→Jor→Jhala→Gat (return to Sa)
Each set arc takes two parameters: entry energy + exit energy. The arc fills the space between.
5 The Emergent Sa
Your set's tonal center,
computed from your music.

The ending key of a set is NOT arbitrary. The brain tracks tonal center across the entire set. If 40% of tracks were in A minor / C major territory, that becomes the set's emergent Sa. Ending on or near this center = resolution. Ending far from it = "something missing."

Opening key memory: The brain remembers the opening. Returning to opening key creates completion. Sonata form: depart from home, return to home. (Huron, 2006)

Peak-end rule: People judge experiences by the peak moment and the ending. Not the average. (Kahneman, 1993). Last 5-10 minutes are disproportionately defining.

For DoH: Calculate the set's emergent tonal center from all chosen tracks. Recommend ending keys that resolve to it. Not one fixed Sa. YOUR Sa, derived from YOUR set.

6 Psychoacoustic Mechanisms
Each raga has a unique
neurological fingerprint.

These are not mood labels. They are specific interval relationships that trigger specific neurological responses. They can be detected in any music, not just Indian classical.

Raga Mechanism Emotion
BhairavHalf-step intervals create gravitational pull toward anchorsMeditation, settling
MalkaunsRemoving the fifth eliminates resolution, infinite suspensionFearless depth
BhairaviAll-flat notes = maximum melodic pull, beauty within sadnessCompletion, everything
YamanRaised fourth = upward aspiration, forward momentumRomantic longing
Darbari KanadaSlow oscillation on flat notes = gravitasMajestic detachment
HamsadhwaniLeaping intervals, no fourth = buoyancy, soaringJoy, invocation
BhoopaliRemove desire (Ni) and attachment (Ma) = non-attachmentSerene clarity
7 The Experiment
Does the arc belong to the raga,
or to the performer?

Download 3-5 performances of the SAME raga by different masters. Run through DoH energy analyzer.

If arc shapes are consistent across performers: the arc belongs to the raga itself. Hypothesis confirmed. Extract templates.

If arc shapes vary wildly: the arc belongs to the performer. Study performers instead.

3 ragas x 3-5 performances = 9-15 recordings. Surgically chosen for maximum contrast.

Raga Yaman
Bright, aspiring
Raised fourth creates forward momentum. Strong contrast. Good positive control.
Darbari Kanada
Slow, majestic
Extreme opposite of Yaman. The arc should look completely different.
Raga Bhairavi
Flexible, closing
The most performed raga. Should show the most variation across performers.
8 Three Products. One Engine.
Same raga wisdom.
Three different applications.

The raga arc architecture is not a DJ feature. It is a universal framework for structuring human experience through music. Three products emerge from one engine.

Set Builder
DJ Sets
Fractal arcs, relay modulation, arc completion score, emergent Sa calculation.
Therapy Guide
Psychedelic Sessions
Maintained Sa, therapeutic arc matching the substance's pharmacokinetic curve.
Live Advisor
Live Performance
Real-time second screen coaching. Glanceable. MIDI integration. Never breaks flow.
9 Arc Completion Score
Rate any set 0-100%.
Show the gaps. Name what's missing.

DoH doesn't just arrange your tracks. It tells you what's missing. The DJ goes digging with purpose, not browsing randomly. Surgical shopping guided by the arc.

Harmonic
88%
Energy Arc
74%
Valley Depth
52%
Resolution
91%
Gap at 45 min: Valley has no recovery track. Find: 124 BPM, D minor, mid-high energy, open spectral mids, warm bass. This fills the valley and bridges to your peak.
"If a user has a certain set list, it could be he only reaches 70 or 80 percent of perfection. He then knows, guided by the AI, look for these songs, a few more in this style or timbre, to reach full arc perfection."
Janua β€” 2026-03-31 00:17
10 The Therapeutic Sa
Music as the hidden therapist.
The Sa as the harmonic home.

A psilocybin session IS a raga. Unlike a multi-DJ event, a therapy session has NO relay. The tonal center (Sa) must be maintained through the entire journey.

Why: The unconscious mind needs a harmonic HOME when the ego dissolves. The Sa acts as the tanpura drone: always present, always grounding. Too much harmonic wandering = no sonic ground = difficult experiences become overwhelming instead of transformative.

Research backing: Mendel Kaelen (Imperial College London, Psilodep trials) found music acts as a "hidden therapist" during psilocybin sessions. Musically coherent sessions produced better therapeutic outcomes than random playlists. The structure is not decoration. It IS the therapeutic container.

ARC SHAPE
Alap (0-30m): Onset, grounding
Jor (30-60m): Come-up, building
Jhala (60-120m): Peak, ego dissolution
Gat (120-180m): Integration, return
SA PRINCIPLE
Max harmonic stretch at peak (Jhala)
Full return to Sa during integration (Gat)
Arc matches pharmacokinetic curve
Every track knows its distance from home
"What you say about keeping the Sa, part of the journey, not mixing too much... man we are creating something so amazing here."
Janua β€” 2026-03-31 00:30
11 The Visual Language
Sacred geometry as scoring feedback.
Beauty = harmony. Broken = clash.

The DJ loses themselves because the combinatorial space is too large. That IS the problem DoH solves. The engine holds what the brain cannot. The visuals show what's working without requiring understanding of why.

Harmony = beauty emerges. Sacred geometry patterns form when combinations align across the 5 dimensions. More perfect = more complex, more beautiful geometry. The DJ sees harmony, doesn't read numbers.

Clash = geometry breaks. Lines fragment, patterns dissolve, colors shift to amber/red. You feel the clash before you hear it.

The intelligence is invisible. The feedback is visual and instant. Drag, combine, look.

"When something reaches perfection you see beautiful sacred geometry. Because harmonies, spectral sound, the Sa and all that... even I lose myself already because it's too much to grasp. But as long as the engine guides well and shows visually that it's good, like the amber and green and red, then we have a mega tool."
Janua β€” 2026-03-31
12 First DAW for DJ Sets
No program has ever shown
a DJ set as a song.

Traktor has 4 decks, loops, stems, remix decks. The tools for multi-layer mixing exist. What's missing: no intelligence, no overview, no arc. DoH is the MAP. The DJ performs in their tool of choice. DoH is where you PLAN, where you SEE the whole journey, where the intelligence lives.

MULTI-LAYER TIMELINE β€” 90 MINUTE SET ALL LAYERS SCORED SIMULTANEOUSLY
LAYER 1
Primary Track β€” A minor, 126 BPM
Arc: 94%
LAYER 2
Blend β€” E minor, 126 BPM
Compat: 0.89
LAYER 3
Bass stem
Groove: 0.91
LAYER 4
MIDI melody
E min / F min β€” Β½step tension. Intentional?
"No program has ever shown a DJ set as a song, like in Ableton or Adobe Premiere."
Janua β€” 2026-03-31 00:35
"It has to be something where you can drag songs, make them shorter, find loops, add other loops, test different combinations and listen, and then have this immense system of analyzers feeding back info why things could work or not."
Janua β€” 2026-03-31 00:45
13 Engine as Creative Partner
Pin moments. Build around them.
Then go buy what's missing.

The DJ pins key moments: "This is my peak track." "This is my opener." Everything else moves accordingly. The engine finds the optimal path between pinned moments. Like GPS: you set the waypoints, the engine calculates the route.

The engine is honest. It doesn't force a bad combination. It says what's possible, what's a stretch, and what's missing. Then it shows you where to buy the missing piece.

When the library isn't enough

"Your library gives you 74% of what this arc needs. Valley at 45 min is unfilled. Bridge from peak to close is missing."

The engine doesn't guess. It knows exactly what's missing across all 5 dimensions.

Beatport / Tidal bridge

"You're at 82%. This track at $1.29 takes you to 94%. Want me to find it on Beatport?"

Affiliate revenue on every surgically recommended purchase. Incentives align: better engine = more tracks sold.

14 The Mission
Sonic Immersion.
The natural alternative to chemical immersion.

So many DJs lose the crowd at some point. It's so hard to keep the brain and body engaged and locked in. No wonder drugs are used. But if we apply everything we learn here, maybe we can tap into the natural and universal principles of sonic immersion.

This is the mission. Not a tool. Not a product. A mission.

Hedonic Adaptation
The brain stops responding to constants.
A DJ who stays at the same energy level for 20 minutes loses the crowd neurologically, regardless of track quality. Dopamine receptors saturate.
Arc templates ensure energy MOVES. Valleys enable peaks.
Berridge & Robinson, 2016
Working Memory Overload
The DJ breaks the unconscious flow.
One harmonic or energy choice that breaks pattern flow disconnects the crowd. They don't know WHY. They just disconnected.
The engine holds all 5 dimensions so the DJ doesn't have to.
Cowan, 2001
Rhythmic Desynchronization
Neural entrainment breaks.
When groove patterns shift too abruptly, the brain loses its lock on the beat. Re-entrainment takes 8-16 bars. The body disconnects during that window.
Groove analysis warns about rhythmic breaks before they happen.
Nozaradan et al., 2011
Spectral Fatigue
The ears stop hearing.
Sustained presence in the same frequency bands causes auditory fatigue. The ears literally stop hearing certain frequencies as clearly. Fresh spectral space wakes the listener up.
Spectral space analysis ensures frequency variety across the set.
Spectral masking research
"Maybe we are going to be the reason DJ sets and parties are going to reach even better standards. Music is amazing, songs and mixes are amazing. But so many DJs lose the crowd at some point. It's so hard to keep the brain and body engaged and locked in. No wonder drugs are used. But hopefully if we apply everything we learn here and know now, maybe we can actually tap into the natural and universal principles of SONIC IMMERSION."
Janua β€” 2026-03-31 01:00 WEST

"One day I will do a TED talk on what we created."

Janua β€” 2026-03-31 00:32 WEST