Files
tracks/exit-progressive-emulation/README.md
T

387 lines
21 KiB
Markdown
Raw Normal View History

# Exit Progressive Emulation
> Back to the collection: [tracks/README.md](../README.md)
A long, heavy, progressive **Schranz / industrial techno** track: a fat 808 kick, nicely placed snares, rolling hats, jungle-flavoured percussion and a deep, harmonic saw bassline, built to be big, danceable and bounceable.
| | |
|---|---|
| Tempo | **150 BPM**, 4/4 |
| Key | **F minor** |
| Length | **320 bars = 8:32** (one bar = 1.6 s) |
| Tracks | 9 note tracks plus a master |
| Notes | 16,838 in total |
| Generator | `build_track.py`, Python 3 standard library only, deterministic |
This README documents the song structure, every pattern, the harmony, the file formats and the sound-design suggestions for finishing the track in Bitwig. Bar numbers below are **1-based**, so "bar 65" is the first bar of Drop 1.
---
## Contents
1. [Files](#files)
2. [Quick start](#quick-start)
3. [Song structure](#song-structure)
4. [Harmony](#harmony)
5. [Tracks and patterns](#tracks-and-patterns)
6. [Intensity map](#intensity-map)
7. [Filter automation and sidechain](#filter-automation-and-sidechain)
8. [Sound design guide](#sound-design-guide)
9. [File format details](#file-format-details)
10. [How the script is organised](#how-the-script-is-organised)
11. [Customising the track](#customising-the-track)
12. [Validation](#validation)
13. [Known limitations](#known-limitations)
---
## Files
```
exit-progressive-emulation/
├── README.md ← this file
├── build_track.py ← generator (stdlib only)
├── exit-progressive-emulation.dawproject ← Bitwig/DAWproject file
└── midi/
├── full_arrangement.mid ← all 9 tracks, one file
├── 01_kick_808.mid
├── 02_snare.mid
├── 03_clap.mid
├── 04_hats.mid
├── 05_jungle_perc.mid
├── 06_saw_bass.mid
├── 07_pad.mid
├── 08_lead.mid
└── 09_fx.mid
```
## Quick start
**Use the generated files**
1. In Bitwig: **File → Import → DAWproject** and choose `exit-progressive-emulation.dawproject`.
2. Load instruments on the tracks (see the [sound design guide](#sound-design-guide)).
3. Alternatively, drag `midi/full_arrangement.mid` or any single `midi/NN_*.mid` onto your own tracks.
**Regenerate**
```bash
python3 build_track.py # bare note tracks
python3 build_track.py --devices # adds an instrument-device hint to each track
python3 build_track.py --no-automation # notes only: no filter device, no automation
```
The run prints the length and the note count per track. The seeds are fixed, so output is identical on every run.
---
## Song structure
The arrangement is a classic long, progressive Schranz journey: two drops separated by a breakdown, with every transition carrying a riser, a roll or a gap.
| # | Section | Bars | Length | Role |
|---|---|---|---|---|
| 1 | **Intro** | 1–32 | 32 | DJ-friendly start: kick and hats, percussion fades in |
| 2 | **Build 1** | 33–64 | 32 | Snares, bass and toms arrive; roll and riser lead into the drop |
| 3 | **Drop 1** | 65–128 | 64 | First full groove, rolling bass and jungle percussion |
| 4 | **Breakdown** | 129–160 | 32 | No kick; pad, drone bass and melody: the emotional centre |
| 5 | **Build 2** | 161–192 | 32 | Half-time kick returns, snare and kick rolls, arps ramp up |
| 6 | **Drop 2** | 193–288 | 96 | The peak: everything, with variations every 4, 8 and 16 bars |
| 7 | **Outro** | 289–320 | 32 | Elements drop out one by one for mixing out |
### Section by section
**Intro (1–32)**
- Kick on every beat for all 32 bars.
- Bars 5–16: open hats on the off-beats only. From bar 17, closed 16ths join and fade in in volume (50 % → 90 %).
- Bars 17–32: shaker on 16ths. Bars 25–32: the first percussion pattern (pattern A) joins quietly.
**Build 1 (33–64)**
- Hats run full 16ths with open off-beats, plus a double hit at the end of every 8th bar.
- Bars 49–62: snares and claps land on beats 2 and 4. Bars 63–64: snare rolls (accelerating from 2 to 4 hits per beat, then 4 to 8).
- Bars 49–56: bass plays offbeat 8ths on F. Bars 57–64: the bass switches to rolling 16ths and its volume climbs.
- The last beat of bar 64 is cleared on the bass for a gap before the drop. A riser covers bars 57–64.
**Drop 1 (65–128)**
- Kick four-on-the-floor, with a pickup in every 8th bar (three kicks plus two short ones at the end).
- Snare and clap on 2 and 4, with ghost snares that change every 4 bars. A short snare fill on beat 4 of every 8th bar.
- Rolling saw bass following the chord progression (see [Harmony](#harmony)).
- Hats with a double-hit flourish at the end of every 4th bar.
- Percussion alternates pattern A and B every 4 bars; from bar 97, pattern C is layered on top. A tom fill closes every 8th bar.
**Breakdown (129–160)**
- Kick, snare and clap are silent. Hats return from bar 145 as quiet 8ths, and a shaker from bar 149.
- Pad plays one chord per 4 bars. From bar 137 a drone bass (one long note per bar) and the lead melody enter.
**Build 2 (161–192)**
- Bars 161–176: half-time kick (beats 1 and 3, long tails). From bar 169, off-beat hats and shaker, with pattern A.
- Bars 173–180: bass plays offbeat 8ths on F. From bar 181 it rolls, with growing volume.
- Bars 177–188: full four-on-the-floor kick. Bars 189–191: kick doubles to 8ths with rising velocity. Bar 192: a 12-hit kick roll.
- Snare: backbeat from bar 169 to bar 188, then rolls that accelerate through bars 189–192.
- Lead arps from bar 177, rising in volume. Hats ramp from 50 % to 100 %. Risers start at bars 177 and 185 (the one at bar 153 sits in the Breakdown).
**Drop 2 (193–288)**
- Everything from Drop 1, plus pad, lead arps, and more bass variation (see [Saw Bass](#saw-bass)).
- Chord progression A for the first 8 bars of every 16, progression B (same chords, different order: Eb earlier, Cm at the end) for the next 8.
- Lead arps start at bar 201. They play 8ths for 4 bars, then 16ths for 4 bars, alternating.
- Snare fill on beat 4 every 8th bar and a long double-beat roll every 16th bar.
- A tom fill closes every 8th bar.
**Outro (289–320)**
- Bars 289–304: kick, snare/clap, hats, shaker, percussion and bass (rolling).
- Bars 305–312: bass drops to offbeat 8ths, snare and clap are gone, open hats only.
- Bars 313–316: only the kick and sparse quiet hats remain; bars 317–319: kick on beats 1 and 3; bar 320: a single long kick.
---
## Harmony
F natural minor, built around a four-chord loop.
| Index | Chord | Notes (pad / lead) | Bass root |
|---|---|---|---|
| 0 | **Fm7** | F3 Ab3 C4 Eb4 | F1 (MIDI 29) |
| 1 | **Dbmaj7** | Db3 F3 Ab3 C4 | Db1 (MIDI 25) |
| 2 | **Ebmaj7** | Eb3 G3 Bb3 D4 | Eb1 (MIDI 27) |
| 3 | **Cm7** | C3 Eb3 G3 Bb3 | C1 (MIDI 24) |
Progressions (one entry per bar, 8-bar loops):
| Name | Bars 1–8 | Used in |
|---|---|---|
| **A** | Fm · Fm · Fm · Fm · Db · Db · Eb · Cm | Drop 1, Build 2 bass, first half of every 16 bars in Drop 2 |
| **B** | Fm · Fm · Eb · Eb · Db · Db · Cm · Cm | Second 8 bars of every 16 in Drop 2 |
| Breakdown | one chord per 4 bars: Fm · Db · Eb · Cm | Breakdown pad, drone and melody |
---
## Tracks and patterns
All drums use MIDI channel 10 (index 9); the melodic tracks use channel 1. Keys follow the General MIDI drum map where possible, so most drum samplers respond sensibly.
### Kick 808
Key **36** · 1,151 notes · colour red
- Four-on-the-floor with long 808-style tails (about 0.95 beats) in every section except the Breakdown.
- Pickup in every 8th bar of the drops: three full kicks followed by two short ones on beat 4 and the "and" of 4.
- Build 2 and Outro use half-time, 8th and 16th roll variations as described in the [sections](#section-by-section).
### Snare
Key **38** · 801 notes
- Backbeat on beats 2 and 4.
- Ghost notes on a 4-bar cycle in the drops: none, one on the "a" of beat 3, two, then two more offset.
- Fills: short roll on beat 4 every 8 bars, long roll every 16 bars in Drop 2, accelerating rolls in the builds.
### Clap
Key **39** · 414 notes
Layered with the snare on beats 2 and 4 for a wider backbeat. It stays out of the roll fills.
### Hats
Keys **42** (closed) and **46** (open) · 4,202 notes
- 16th-note grid. Beat starts are accented, the rest sit at lower random velocities (timing humanised by up to ±0.004 beat).
- Open hat on the "and" of every beat (the third 16th) for the classic off-beat swing.
- Double-hit flourish at the end of selected bars, for the rolling feel.
### Jungle Perc
Keys **37, 41, 45, 48, 60, 61, 63, 64, 70** · 6,360 notes
Three syncopated patterns, expressed as 16th-note steps (0–15), play a jungle-style call-and-response:
| Pattern | Hits (step: key) | Feel |
|---|---|---|
| **A** | 3: 64, 6: 63, 10: 64, 13: 63, 7: 37, 15: 61 | Congas and rim, loose off-beat |
| **B** | 2: 45, 5: 41, 8: 63, 11: 45, 14: 48, 15: 48 | Toms, rolling and low |
| **C** | 1: 60, 4: 64, 7: 63, 9: 60, 11: 64, 12: 41, 14: 63 | Bongos and congas, busier |
On top of the patterns a constant shaker (key 70) runs on every 16th with alternating velocity, and a tom fill (48, 48, 45, 45, 41, 41, 43, 41) closes every 8th bar of the drops.
### Saw Bass
F1 range, MIDI 24–53 (the top end is the fill arpeggio) · 2,414 notes · colour purple
The "rolling" bass sits in the gaps around the kick, so the kick stays clear:
- Notes land on the 2nd, 3rd and 4th 16th after every beat (steps 1, 2, 3), with the middle one accented.
- **Octave jumps:** the last note of beats 2 and 4 jumps up an octave on every second bar (the odd-numbered bars of each 8-bar phrase) in both drops.
- **Drive mode** (Drop 2, bars 13–15 of every 16-bar phrase; bar 16 has the fill): only steps 2 and 3, for a tighter, pumping feel.
- **Fill:** on beat 4 of every 8th bar, a rising arpeggio (root, minor 3rd, 5th, octave) one octave higher.
- **Offbeat mode:** in the builds and outro the bass plays 8th notes on the off-beat, on F.
- **Drone:** in the Breakdown, one long note per bar following the chords.
### Pad
Chord tones from the [harmony table](#harmony) · 256 notes (four-note chords held for several bars)
Plays in the Breakdown (loudest, velocity 0.6), Build 2 (0.45) and Drop 2 (0.4).
### Lead
Chord tones, an octave or two above the pad · 1,220 notes · colour pink
- **Breakdown (from bar 137):** a slow 4-bar motif per chord: a held top note stepping down, then a long high root, a two-note answer, and a long low note to close.
- **Build 2 (from bar 177) and Drop 2 (from bar 201):** arpeggios over the current chord. 8th notes in Build 2 with rising volume; in Drop 2 they alternate 4 bars of 8ths with 4 bars of 16ths, with accents on the off-beats.
### FX
20 notes · markers for impacts, crashes and risers (assign a Sampler or FX instrument)
| Event | Key | Where |
|---|---|---|
| Riser (8 bars, rising pitch) | 60, 62, 64, 67 | bars 57, 153, 177, 185 |
| Impact | 36 | bars 65, 129, 193 (full), 33, 161 (soft) |
| Crash | 49 | first bar of every section |
| Reverse crash | 37 | bars 64, 128, 192, 288 |
---
## Intensity map
Note count per track and section, as a quick view of where the energy sits:
| Track | Intro | Build 1 | Drop 1 | Breakdown | Build 2 | Drop 2 | Outro |
|---|---|---|---|---|---|---|---|
| Kick 808 | 128 | 128 | 264 | 0 | 116 | 396 | 119 |
| Snare | 0 | 64 | 220 | 0 | 107 | 378 | 32 |
| Clap | 0 | 28 | 128 | 0 | 40 | 186 | 32 |
| Hats | 304 | 520 | 1056 | 128 | 290 | 1584 | 320 |
| Jungle Perc | 305 | 735 | 1696 | 192 | 656 | 2377 | 399 |
| Saw Bass | 0 | 125 | 776 | 24 | 173 | 1092 | 224 |
| Pad | 0 | 0 | 0 | 32 | 32 | 192 | 0 |
| Lead | 0 | 0 | 0 | 36 | 128 | 1056 | 0 |
| FX | 1 | 4 | 3 | 3 | 5 | 3 | 1 |
---
## Filter automation and sidechain
The `.dawproject` carries two kinds of automation, both written as `Points` lanes in the arrangement (about 7,000 breakpoints in total).
### Filter automation
Saw Bass, Pad and Lead each get a standard DAWproject **Equalizer** device holding one **low-pass band**. Its cutoff is automated in Hz, with one breakpoint per bar on an exponential (log-frequency) curve. The filter is a generic device so that it can be expressed in the open format; it is not the Polysynth's own filter.
| Track | Q / order | Cutoff story |
|---|---|---|
| **Saw Bass** | 1.6 / 4 pole | Closed at 150 Hz until the bass enters. Build 1: 180 → 450 Hz offbeat, then 450 → 3,200 Hz as it starts rolling. **Drop 1:** one sweep per 8 bars (500 → 1,500 Hz in the first phrase), every phrase a little brighter. Breakdown: dark drone at 250 Hz, opening to 1,200 Hz. Build 2: 350 → 800 Hz, then 800 → 4,200 Hz. **Drop 2:** 12 phrases of 8 bars, sweeps getting wider (up to 5,000 Hz). Outro: 3,500 → 400 Hz. |
| **Pad** | 0.8 / 2 pole | 400 Hz until the Breakdown, then it blooms to 4,500 Hz. Build 2: 1,500 → 6,000 Hz. Drop 2: breathes between 2,500 and 4,500 Hz over 16 bars. |
| **Lead** | 1.4 / 2 pole | Breakdown: 1,200 → 3,500 Hz. Build 2: 900 → 7,000 Hz (the arp sweeps wide open). Drop 2: alternates 7,000 → 3,000 and 3,000 → 7,000 Hz every 8 bars. |
### Sidechain (kick ducking)
DAWproject has **no sidechain routing** (the schema's Compressor has no sidechain input), so a real sidechain compressor cannot be written into the file. Instead, the pump is **volume-ducking automation** on the channel faders, generated from the actual kick notes:
| Track | Fader level on each kick | Recovery |
|---|---|---|
| Saw Bass | 45 % of its level | 0.5 beat |
| Pad | 25 % of its level | 0.8 beat |
| Lead | 45 % of its level | 0.5 beat |
- Every kick hit drops the fader instantly and it recovers linearly, so the bass, pad and lead breathe around the kick.
- Where kicks come faster than the recovery (the Build 2 kick roll), the fader stays ducked instead of fluttering.
- In the Breakdown there are no kicks, so nothing ducks, and the fader returns to its normal level.
- The ducking is on the channel fader, so you will see a sawtooth on the track's volume lane. It stays editable in Bitwig; scale or delete it there.
To upgrade to a real sidechain in Bitwig: delete the `auto_duck` lanes, put a **Compressor** on the track with its sidechain input set to the **Kick 808** track, and set it to taste.
---
## Sound design guide
The files contain notes and arrangement, not sounds. These are suggestions for turning them into the intended character: heavy, industrial, dark.
| Track | Suggested instrument | Ideas |
|---|---|---|
| **Kick 808** | Drum Machine or Sampler with a long 808 kick | Tune the tail to F (about 43.65 Hz), add soft saturation and a short click. The bass, pad and lead already duck to it (see [sidechain](#sidechain-kick-ducking)); use it as the sidechain source if you switch to a real compressor. |
| **Snare / Clap** | Drum Machine | A tight, cracked industrial snare layered with a clap. Short plate or room reverb, gated. |
| **Hats** | Drum Machine | Closed (key 42) and open (46) hats; keep the open hat short so the groove stays tight. |
| **Jungle Perc** | Drum Machine | Congas, bongos, toms, a rim and maracas on the key map above. Pan some hits wide. The track is panned slightly left by default. |
| **Saw Bass** | Polysynth | Three detuned saws plus a sub sine, low-pass filter with an envelope. The file already automates a separate low-pass band on the track; you can drive the Polysynth's own filter too. Add distortion for grit. |
| **Pad** | Polysynth or Wavetable | Wide, slow-attack pad, low-passed, with long reverb. Most prominent in the Breakdown. |
| **Lead** | Polysynth or Wavetable | Plucky or acid-style saw with delay; automate the filter open towards Drop 2. |
| **FX** | Sampler | Risers, impacts, crashes and reverse crashes on the keys above. |
**Mix starting points** (set in the project): Kick 0.90, Snare 0.72, Clap 0.60, Hats 0.55, Jungle Perc 0.60, Saw Bass 0.82, Pad 0.50, Lead 0.50, FX 0.55 (linear gain), master 0.8.
Further ideas not covered by the generator: drive automation on the bass, a true sidechain compressor driven by the kick, a bus compressor and a limiter on the master, and tempo-synced delay on the lead.
---
## File format details
### MIDI (`midi/*.mid`)
- Standard MIDI File, **format 1**, **960 ticks per quarter note**.
- Track 0 is a conductor track: title, tempo (150 BPM) and time signature (4/4).
- Each following track holds one instrument. Drums use channel 10 (index 9), the melodic tracks channel 1.
- Velocities are written as 1–127; note-offs use velocity 0.
### DAWproject (`*.dawproject`)
A zip archive with two files:
| File | Content |
|---|---|
| `metadata.xml` | Title, genre, comment (tempo, key and bar count) |
| `project.xml` | Transport (150 BPM, 4/4), 9 tracks plus a master track, mixer channels (volume and pan), Equalizer filters, arrangement, automation and section markers |
- The arrangement uses `timeUnit="beats"`. Each track holds **8-bar clips** (32 beats) named after the section, such as "Drop 2 3", so the track is easy to rearrange or mute section by section.
- Markers at each section start: Intro, Build 1, Drop 1, Breakdown, Build 2, Drop 2, Outro.
- With `--devices`, each track also gets a `BuiltinDevice` hint (Drum Machine, Polysynth or Sampler).
- Automation lives in `Points` lanes inside each track's arrangement lane: `auto_flt5/6/7` target the filter cutoff (`unit="hertz"`) and `auto_duck5/6/7` target the channel `Volume` (`unit="linear"`). Interpolation is `linear`, with `hold` where the fader waits for the next kick. `--no-automation` leaves out both the filter devices and the lanes.
---
## How the script is organised
`build_track.py` is one file, top to bottom:
| Block | Contents |
|---|---|
| Constants | `TITLE`, `BPM`, `PPQ`, `TOTAL_BARS`, `CHUNK` (bars per clip), `SECTIONS` |
| Harmony | `BASS_ROOT`, `CHORDS`, `PROG_A`, `PROG_B`, `prog()` picks the chord for a bar |
| Helpers | `section_at(bar)`, `jitter()`, `roll()` for accelerating rolls |
| Generators | `gen_kick`, `gen_snare_clap`, `gen_hats`, `gen_perc`, `gen_bass`, `gen_pad`, `gen_lead`, `gen_fx`; each returns `(start_beat, duration, key, velocity)` tuples |
| `build_tracks()` | The track table: name, notes, channel, colour, volume, pan, device hint. Each generator gets its own seed (`1337 + n`). |
| `finalize()` | Clamps notes to the arrangement, drops dead notes, sorts |
| MIDI writer | `vlq`, `meta`, `note_events`, `write_midi` |
| Automation | `FILTERS`, `DUCK`, `hold`, `sweep`, `tidy`, `filter_curves`, `duck_points` |
| DAWproject writer | `chunk_clips`, `build_dawproject` |
| `main()` | Builds the tracks, writes the MIDI files and the `.dawproject`, prints a summary |
## Customising the track
| To change… | Edit… |
|---|---|
| Tempo | `BPM` |
| Length or section order | `SECTIONS` and `TOTAL_BARS` (sections must cover every bar) |
| Key or chords | `BASS_ROOT`, `CHORDS`, `PROG_A`, `PROG_B` |
| Percussion groove | `PERC_A`, `PERC_B`, `PERC_C`, each a list of `(step, key, velocity)` |
| Feel of the hats, snares or bass | The matching `gen_*` function |
| Mix levels, colours, pan | The table in `build_tracks()` |
| Filter curves | `filter_curves()` (breakpoints per track via `hold()` and `sweep()`), `FILTERS` for Q and order |
| Pump depth and release | `DUCK` (per track: depth, release in beats) |
| A different variation | Change the seed offsets in `build_tracks()` (`r(n)`) |
After editing, re-run `python3 build_track.py` and re-import into Bitwig.
## Validation
```bash
python3 -I -c "import zipfile; zipfile.ZipFile('exit-progressive-emulation.dawproject').extractall('/tmp/dp')"
xmllint --noout --schema Project.xsd /tmp/dp/project.xml
xmllint --noout --schema MetaData.xsd /tmp/dp/metadata.xml
```
Both schemas come from [bitwig/dawproject](https://github.com/bitwig/dawproject). The shipped file validates with and without `--devices` and `--no-automation`. A script check also confirmed that every automation target resolves to a real parameter id and that breakpoint times strictly increase. The MIDI files were parsed back: 150 BPM, 960 PPQ, nine instrument tracks, and the last note-ons fall within bar 320.
## Known limitations
- **Not yet tested in Bitwig.** The project is schema-valid, but I could not open it in Bitwig from the build machine.
- **Notes, clips, markers, volume, pan and the automation above.** No instrument patches or other effects: those are the next layer, built in the DAW.
- **The sidechain is volume ducking, not a compressor.** DAWproject cannot express sidechain routing.
- **The filter is an Equalizer low-pass band, not the instrument's own filter.** Bitwig-specific device parameters cannot be addressed from the open format.
- Whether Bitwig imports the Equalizer band and the automation lanes exactly as written is **untested**.
- The `--devices` option only names a device type; Bitwig may still need you to load the instrument yourself.
- The strictly regular, generated groove is tight by design. Humanisation is limited to small timing jitter on hats, percussion and shaker, plus velocity variation on the hats.
- Chord changes are fixed per section, so the harmony is deliberately simple. The progression carries the track through repetition.
---
[← Back to the collection](../README.md)