Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

08: Terminal Velocity

BPM: 100 | Key: D Minor | Duration: ~3:15

Cinematic finale. Terminal Velocity returns to where we began — 100 BPM, D Minor — but now with the weight of the entire journey behind it.

The Vision

The final track must:

  1. Return home — Same key and tempo as Track 1
  2. Feel like resolution — The journey’s end
  3. Cinematic scope — Bigger, more emotional than Track 1
  4. Fade into darkness — End the album definitively

What Makes It Unique

Circular Structure

Track 1 and Track 8 share:

  • 100 BPM
  • D Minor

But Track 8 sounds different because:

  • We’ve heard 7 tracks of development
  • The melodies are more emotional
  • The arrangement is more cinematic
  • The ending fades rather than loops

Noisecream-Inspired Intensity

Driving, intense, but not happy:

define :bass do |n, v=1, c=78|
  use_synth :tb303
  play n, amp: 0.75*v, attack: 0.01, decay: 0.18,
       sustain: 0.1, release: 0.15, cutoff: c, res: 0.32, wave: 0
  use_synth :dsaw
  play n, amp: 0.45*v, attack: 0.01, decay: 0.15,
       release: 0.12, cutoff: c-8, detune: 0.18
  use_synth :sine
  play n-12, amp: 1.15*v, attack: 0.01, sustain: 0.25, release: 0.2
end

TB303 + dsaw + sine — the full aggressive stack returns.

Power Stabs

D minor chord stabs for emphasis:

define :stab do |v=1|
  use_synth :dsaw
  play [:d2, :a2, :d3], amp: 0.55*v, attack: 0,
       decay: 0.2, release: 0.15, cutoff: 88, detune: 0.22
end

Tight Melodic Lines

Fast, rhythmic melodies (learned from Noisecream — we wanted “intense”):

define :lead do |n, dur=0.25, v=1|
  use_synth :prophet
  play n, amp: 0.4*v, attack: 0.03, decay: dur*0.3,
       sustain: dur*0.4, release: dur*0.5, cutoff: 92
end

Fast attack (0.03) and short default duration (0.25) for rhythmic precision.

The Melodies

Three phrases designed to be tight and driving:

define :mel1 do |v=1|  # Driving, tense
  lead :d4, 0.5, v; sleep 0.5
  lead :f4, 0.5, v*0.95; sleep 0.5
  lead :a4, 0.5, v; sleep 0.5
  lead :g4, 0.5, v*0.9; sleep 0.5
  lead :f4, 0.5, v*0.85; sleep 0.5
  lead :d4, 0.5, v; sleep 0.5
  lead :e4, 0.5, v*0.9; sleep 0.5  # E creates tension
  sleep 0.5
end

define :mel2 do |v=1|  # Dark with Bb
  lead :a4, 0.5, v; sleep 0.5
  lead :bb4, 0.5, v*0.95; sleep 0.5  # Bb = darkness
  lead :a4, 0.5, v*0.9; sleep 0.5
  lead :g4, 0.5, v*0.85; sleep 0.5
  lead :f4, 0.5, v*0.9; sleep 0.5
  lead :e4, 0.5, v*0.8; sleep 0.5
  lead :d4, 1, v; sleep 1
end

define :mel3 do |v=1|  # Descending resolution
  lead :d5, 0.5, v; sleep 0.5
  lead :c5, 0.5, v*0.95; sleep 0.5
  lead :bb4, 0.5, v*0.9; sleep 0.5
  lead :a4, 0.5, v*0.85; sleep 0.5
  lead :g4, 0.5, v*0.9; sleep 0.5
  lead :a4, 0.5, v*0.8; sleep 0.5
  lead :d4, 1, v; sleep 1
end

All notes on 0.5 beat grid — rhythmically tight, no rubato.

Sound Design

Drums (Driving but Clean)

define :drums do |k=1, s=1, h=1|
  in_thread do
    kick k; sleep 0.75
    kick k*0.65; sleep 0.25
    kick k*0.85; sleep 1
    kick k; sleep 0.75
    kick k*0.7; sleep 0.25
    kick k*0.9; sleep 1
  end
  in_thread do
    sleep 1; snare s; sleep 1; snare s*0.95; sleep 2
  end
  in_thread do
    8.times { hat h; sleep 0.5 }
  end
  sleep 4
end

Syncopated kicks create groove without double-time aggression.

Kick and Snare

define :kick do |v=1|
  sample :bd_tek, amp: 2.3*v, rate: 0.9
  sample :bd_boom, amp: 0.55*v, rate: 1.15
end

define :snare do |v=1|
  sample :sn_dub, amp: v, rate: 0.82
end

Similar to Track 1, but slightly heavier (amp: 2.3 vs 2.2).

Arrangement

INTRO (32) → BUILD (32) → MAIN (48) → PEAK (48) → DESCENT (24) → OUTRO (32)

The “Descent” Section

Unique to the finale — a gradual descent before the outro:

# DESCENT: 6 bars - drums fading
in_thread do
  6.times do |i|
    drums (1-i*0.1), (0.9-i*0.08), (0.7-i*0.06)
  end
end

in_thread do
  with_fx :reverb, room: 0.75, mix: 0.45 do
    3.times { mel3 0.7; mel2 0.65 }
  end
end

in_thread do
  with_fx :lpf, cutoff: 85, cutoff_slide: 24 do |fx|
    control fx, cutoff: 55  # Filter closing
    6.times { bassline 0.85, 78 }
  end
end

sleep 24

Key elements:

  • Drums fade 10% per bar
  • Bass filter closes (85→55)
  • Melody continues but feeling more distant

The Outro

A definitive ending:

# OUTRO: 8 bars - fading into darkness
in_thread do
  4.times do |i|
    drums (0.6-i*0.12), 0, (0.45-i*0.08)
  end
  # Last 4 bars: no drums
end

in_thread do
  with_fx :reverb, room: 0.95, mix: 0.65 do
    with_fx :echo, phase: 1, decay: 10, mix: 0.55 do
      mel3 0.45; sleep 4
      mel2 0.35; sleep 4
      lead :d4, 4, 0.3  # Final note: root, long, quiet
    end
  end
end

sleep 32

The final note: D4, held for 4 beats, fading into reverb. The album ends on its home note.

Key Techniques

1. Circular Key Structure

Starting and ending in D Minor creates closure:

Track 1: D Minor → [journey through 6 other keys] → Track 8: D Minor

The return feels like resolution, not repetition.

2. Tight Rhythmic Melodies

All melody notes on the 0.5-beat grid:

lead :d4, 0.5; sleep 0.5  # Half beat
lead :f4, 0.5; sleep 0.5  # Half beat

No 0.75 or 0.25 — keeps it driving and rhythmic.

This was a deliberate correction from earlier versions that felt “out of rhythm.”

3. The Descent Arc

Most tracks go: MAIN → BREAK → PEAK → OUTRO

Terminal Velocity goes: MAIN → PEAK → DESCENT → OUTRO

The descent gives listeners time to process before the end.

4. Filter Closing

Opening filters = building energy. Closing filters = releasing energy:

with_fx :lpf, cutoff: 85, cutoff_slide: 24 do |fx|
  control fx, cutoff: 55  # Slides DOWN
  # ...
end

The closing filter signals “this is ending.”

5. The Final Note

End on the root note, held long:

lead :d4, 4, 0.3  # Root (D), 4 beats, quiet

This provides definitive closure. The album doesn’t just stop — it resolves.

The Terminal Velocity Concept

The title works on multiple levels:

  • Physics: Terminal velocity = maximum falling speed
  • Finale: Terminal = final, ending
  • Velocity: Speed, momentum from the whole album

The track “falls” into darkness at maximum weight, then resolves.

Track 1 vs Track 8

ElementTrack 1Track 8
BPM100100
KeyD MinorD Minor
RoleOpeningClosing
MelodiesAggressiveEmotional
EndingLoops/fades for DJResolves definitively
StabsPresentMore prominent
ReverbModerateBuilding to massive

Same skeleton, different soul.

Hacker Challenges

  1. Different Key: The album starts and ends in D minor. Change Terminal Velocity to D major. Does the circular structure still work? Does it feel like resolution or betrayal?

  2. Extended Fade: Double the outro length with an even slower fade. Does it feel more cinematic or just drag?

  3. Remove the Final Note: Delete the held D4 at the end. Let it just… stop. Which ending is more powerful?

  4. Add One More Element: The descent strips elements away. What if you added something unexpected — a new sound heard only in the final minute?

  5. Loop It: Remove the outro entirely and make the main section loop seamlessly. If this track played forever, would it work? What makes an ending feel necessary?

Full Code

The complete track code is available in 08_terminal_velocity.rb.


Album Complete

You’ve now walked through all 8 tracks of Sonic Byte:

  1. System Override — Establishing the sound
  2. Nerve Damage — Industrial aggression
  3. Chrome Cathedral — Atmospheric breath
  4. Skull Fracture — Maximum violence
  5. Midnight Protocol — Melodic triumph
  6. Void Walker — Slow, heavy power
  7. Core Meltdown — Climax
  8. Terminal Velocity — Cinematic resolution

Each track taught different techniques. Together, they form a journey.

Now go make your own.