Variance
Definition
Variance is what differentiates stories that share the same foundation.
Two moments in a set can have the exact same kick, the same BPM, the same Weight β and still feel completely different. One is a locked-in groove. The other is a tension-filled build about to explode. The kick didnβt change. Everything around the kick did. That difference is Variance.
If Foundation answers βwhat is the anchor?β, Variance answers:
βWhat is changing around the anchor right now?β
The Key Insight: Variance Is Relative to the Kick
Because the kick is the single reliably detectable element in a live techno signal (see Foundation for why), Variance is defined as everything in the audio signal that is not the kick, measured relative to the kick.
The system cannot isolate individual synths, hi-hats, or effects from each other. But it can measure how the total spectral environment changes from beat to beat and bar to bar, using the kick as the fixed reference point. The kickβs position in the frequency spectrum is known and stable. Everything else is βvariance.β
What the system sees:
ββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β Total audio signal β
β ββββββββββββββββββββββββββββββββββββββββββββ β
β β
β ββββββββββββββββ ββββββββββββββββββββββββββββ β
β β KICK β β EVERYTHING ELSE β β
β β (known, β β (unknown, unmeasurable β β
β β isolated, β β individually, but its β β
β β measured β β aggregate properties β β
β β directly) β β can be tracked over time)β β
β ββββββββββββββββ ββββββββββββββββββββββββββββ β
β Foundation Variance β
ββββββββββββββββββββββββββββββββββββββββββββββββββββ
Properties
Variance has three properties:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β VARIANCE β
β β
β Direction ββββ rising / stable / falling β
β Is the energy around the kick going β
β up, staying the same, or coming down? β
β Confirmed value (temporal threshold). β
β β
β Magnitude ββββ continuous (0β1) β
β How fast or dramatically is it changing? β
β Immediate value (no threshold). β
β β
β Timescale ββββ micro / meso / macro β
β At what time resolution is the change β
β happening? β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Direction
Direction is the trend of the energy around the kick. It has three states:
RISING β The energy around the kick is increasing.
More spectral content, higher brightness,
more density. Tension is building.
FALLING β The energy around the kick is decreasing.
Less content, lower brightness, sparser.
Energy is resolving.
STABLE β The energy around the kick is not changing
significantly. Locked in. Consistent groove.
Direction is a confirmed value β it must pass Temporal Thresholds (suggested default: 2 bars of consistent trend) before the model updates. This prevents brief fluctuations from changing the modelβs assessment of what the music is doing.
Direction and Story
Direction is the primary driver of Story differentiation. The same heavy kick with rising variance is βescalation.β With stable variance itβs βgroove.β With falling variance itβs βwind_down.β Foundation tells you what the anchor is. Direction tells you what the music is doing with that anchor.
Same foundation, different directions:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β RISING β β
β β
β Filter opening. Hats getting busier. Noise rising. β
β New layers appearing. Spectral brightness up. β
β β
β Story: "escalation" or "build" β
β Visual: intensifying, expanding, accelerating β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β STABLE β β
β β
β Same density, same brightness, same texture. β
β Nothing adding, nothing stripping. Locked in. β
β β
β Story: "groove" β
β Visual: sustained, steady, rhythmic β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FALLING β β
β β
β Layers stripping away. Filter closing. Hats gone. β
β Simpler, sparser, quieter (but kick still there). β
β β
β Story: "wind_down" or "cool" β
β Visual: receding, simplifying, calming β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Magnitude
Magnitude measures how fast or dramatically things are changing. It is a continuous value (0.0 to 1.0) and updates immediately (no temporal threshold).
Magnitude = 0.0 Nothing is changing. Energy is flat.
Pure stable groove.
Magnitude = 0.3 Slow evolution. A filter is opening
over many bars. Layers are gradually
appearing. Gentle build.
Magnitude = 0.6 Noticeable change. Energy is clearly
shifting from bar to bar. Something
is happening and the audience feels it.
Magnitude = 1.0 Dramatic change. A sudden explosion of
energy, or a sudden strip-back. The
spectral environment has transformed
within one or two bars.
Magnitude and Story Transitions
High magnitude is a signal that a story transition may be imminent. A sustained high magnitude rising variance often precedes a drop. A sudden spike in magnitude (in any direction) often marks the boundary between two stories.
Low magnitude rising:
ββββββββββ gradual build over many bars
Story evolves slowly. No transition yet.
High magnitude rising:
ββββββββββ sudden explosion, immediate escalation
Story transition likely β the music has
changed state, not just evolved.
Timescale
Variance manifests at different time resolutions:
MICRO (beat to beat)
ββββββββββββββββββββββββββββββββββββββββ
Individual kick variation, swing feel, the subtle
difference between one beat and the next. A slightly
louder hi-hat on the offbeat. A tiny filter wobble.
Micro variance is felt but rarely changes the story.
It contributes to "groove feel" β the human quality
of the rhythm. It is NOT used for story determination.
MESO (bar to bar)
ββββββββββββββββββββββββββββββββββββββββ
Phrase-level energy changes. A 4-bar filter sweep.
Hi-hats entering or dropping out over a phrase.
The energy difference between bar 1 and bar 4 of
a 4-bar loop.
Meso variance is the primary timescale for story
evolution. Most story transitions are driven by
meso-level changes accumulating.
MACRO (section to section)
ββββββββββββββββββββββββββββββββββββββββ
The arc of a build, breakdown, or drop. The
energy trajectory over 16, 32, or 64 bars.
The overall shape of a DJ's set.
Macro variance determines set structure. It is
the timescale at which stories become narrative β
"the set started minimal, peaked at 1 AM, then
wound down."
For Story purposes, Meso and Macro are the primary timescales. Micro variance is felt by the audience and can drive subtle visual detail, but it does not change the Story name.
Variance and Performer Actions
A key design decision: the model does not have a separate βperformer overrideβ layer. Performer actions β a DJ sweeping a filter, muting a channel, triggering an effect β change the audio signal. The audio signal feeds the analysis. The analysis feeds Variance.
DJ turns the filter knob β
spectral content changes β
variance indicators shift β
direction and magnitude update β
story may transition
The model reacts to what it hears.
It does not know or care who caused the change.
This means a DJ who is actively performing is implicitly controlling Variance through their actions. A filter sweep is a Variance input. A mute is a Presence input. An EQ adjustment is a Weight input. The model responds to the result, not the intent.
Examples in Techno
Example 1: The Classic Build
Time: Bar 1 Bar 4 Bar 8 Bar 12 Bar 16
Kick: Same throughout (heavy, present, mid sustain)
Around Closed Opening More Noise Peak
the kick: filter filter hats sweep brightness
added rising
Variance
Direction: stable β rising β rising β rising β rising
Magnitude: 0.0 0.2 0.4 0.7 0.9
Story: groove β groove β build β build β escalation
(confirmed after 2 bars)
Example 2: The Strip-Back
Time: Bar 1 Bar 4 Bar 8 Bar 12 Bar 16
Kick: Same throughout (solid, present, dry sustain)
Around Busy Hats Sparser Just Just
the kick: groove dropping bass+ kick+
losing kick click
layers
Variance
Direction: stable β falling β falling β falling β falling
Magnitude: 0.0 0.3 0.5 0.4 0.2
Story: groove β groove β cool β cool β minimal
(confirmed after 2 bars)
Example 3: The Locked Groove
Time: Bar 1 Bar 4 Bar 8 Bar 12 Bar 16
Kick: Same throughout (punchy, present, mid sustain)
Around Steady Steady Steady Steady Steady
the kick: energy energy energy energy energy
Variance
Direction: stable β stable β stable β stable β stable
Magnitude: 0.0 0.05 0.03 0.07 0.02
Story: groove β groove β groove β groove β groove
Nothing changed. And that's the point.
The groove IS the moment.
Related Pages
- Foundation β what stays the same (the kick)
- Variance Indicators β the specific audio signals that feed Variance
- Story β how Foundation and Variance combine
- Story Matrix β the mapping table
- Temporal Thresholds β how Direction is confirmed