Making generative music means designing rules under which any outcome sounds good. In this tutorial you'll build them into the M8: a pentatonic scale that makes a wrong note impossible, a HYPERSYN pad kept in motion by its LFOs, bells that pick their notes with RNL and their density with CHA, and three tracks of different lengths that take almost an hour to line up again. It runs at 80 BPM, synthesis only, with a very long reverb.
Prefer to start from the result? Download the finished song, AMBIENT.m8s, copy it to the M8's SD card (firmware 6.6 or later) and open it with LOAD from the PROJECT view.
The plan
| Track | Role | Instrument | Chains and phrases | Phrase length |
|---|---|---|---|---|
| 1 | Chord pad | 00 (HYPERSYN) | 00–03, 0F | 16 steps |
| 2 | Random bells | 10 (MACROSYN) | 10–11 | 13 steps |
| 3 | Loose low voice | 20 (WAVSYNTH) | 20 | 11 steps |
The three ideas holding the track together:
- The scale filters the randomness. Random notes are fitted to the project scale, so with a pentatonic (no semitones) every combination is consonant.
- Prime lengths prevent repetition. 13 and 11 share no divisors with 16: the tracks drift against each other and every pass forms new combinations.
- The seed gives you control. SED turns randomness into "repeatable randomness": if you like a pattern, you can keep it.
Project, tempo and scale
- PROJECT (SHIFT+UP from SONG), NEW and EDIT. TEMPO to
80.00. - Go back to SONG, step into any chain and phrase (for example chain
00on track 1 with phrase00) and, from PHRASE, press SHIFT+UP to reach GROOVE, then SHIFT+UP again to reach SCALE. - In SCALE 00, leave KEY at
C. In the EN column, set C#, D#, F, F#, G#, A# and B toOFF(with EDIT+LEFT). That leaves C, D, E, G and A switched ON: the C major pentatonic, which is also A minor pentatonic. - Go back to PROJECT and check that SCALE is still
00: the project uses the scale you just edited.

At 80 BPM a step lasts 187.5 ms and a 16-step bar 3 seconds. Here the tempo is a reference rather than a pulse: there are no drums, and it only sets the speed of the LFOs, the tick-based envelopes and the density of notes.
Track 1: the breathing pad
INSTRUMENT 00
In phrase 00, enter C-3 on row 0 with V 50 and instrument 00. Go into INSTRUMENT 00 and make it a HYPERSYN (five presses of EDIT+RIGHT from NONE):
| Parameter | Value | Why |
|---|---|---|
| NAME | PAD | |
| SCALE | 00DEFAULT (unchanged) | The chord intervals are read in the project scale. |
| CHORD | bank 00: 00 02 04 05 07, sixth voice off | Pentatonic degrees: an open chord that always lands in the scale. |
| SHAPE | SOFT SAW | A softened saw, full of harmonics without much harshness. |
| SWARM | 10 | A slight detune between each voice's oscillators: the pad's natural chorus. |
| WIDTH | C0 | Wide stereo. |
| SUBOSC | 90 | Above 80, the sub plays an octave down: it gives the chord a floor. |
| FILTER / CUTOFF / RES | LOWPASS / 60 / 20 | Dark at rest; the LFO will open it up. |
| DRY | 80 | Less dry signal… |
| REV | E0 | …and a big send: this pad is more reverb than direct sound. |
For the chord, put the cursor on the CHORD row: the first value is the bank number and the next six are the intervals for each voice. Voice 1 is already 00 (the note played). Enter 02, 04, 05 and 07 in voices 2 to 5. On voice 6, still at 00, press EDIT+OPTION to switch it off.
Because the scale is pentatonic, the intervals count degrees, not semitones: on C-3, 02 is E, 04 is A, 05 is the C an octave up and 07 the E above that. The result (C, E, A, C, E) is an A minor chord over C. On A-2 the same bank gives A, D, G, A, D; on E-2, E, A, D, E, A: stacked-fourth voicings, very ambient pad. With a single chord bank, every bass note produces a different colour without ever leaving the scale.
If you change the project scale later, the pad changes with it: the same intervals will give different notes. That can be handy (you reharmonise the whole track with one setting), but bear it in mind.

Modulation: four slow movements
| Slot | TYPE | DEST | Values | Job |
|---|---|---|---|---|
| MOD1 | ADSR ENV | VOLUME | AMT FF, ATK C0, DEC A0, SUS C0, REL E0 | An attack of almost 3 s: the chord fades in rather than hitting. |
| MOD2 | LFO | CUTOFF | AMT 50, OSC SIN, TRIG FREE, FREQ 60 | The filter opens and closes over a 6-bar cycle (18 s). |
| MOD3 | LFO | SHIFT | AMT 60, OSC TRI, TRIG FREE, FREQ A0 | The level shifts between the low and high voices every 10 bars (30 s). |
| MOD4 | LFO | SWARM | AMT 20, OSC DRUNK, TRIG FREE, FREQ 40 | The detune wanders with no pattern: the chorus never sounds the same. |
MOD1 and MOD2 start out as AHD ENV: change the type with EDIT+RIGHT (one step to ADSR ENV, three to LFO). ADSR envelopes run in real time, not ticks: ATK C0 is about 2.7 s and REL E0 about 6.5 s. On the LFOs, FREQ is the period in steps (10 = one bar). The three periods (6 bars, 10 bars and roughly 4 for the DRUNK) hardly ever line up, so the timbre keeps shifting even when the note stays the same.

The pad's phrases and chain
Each phrase has a single note on row 0. The other fifteen rows are empty: the note keeps sounding because there's no OFF or KIL.
| Row | N | V | I | FX1 | FX2 | FX3 |
|---|---|---|---|---|---|---|
| 0 | C-3 | 50 | 00 | |||
| 1 | ||||||
| 2 | ||||||
| 3 | ||||||
| 4 | ||||||
| 5 | ||||||
| 6 | ||||||
| 7 | ||||||
| 8 | ||||||
| 9 | ||||||
| A | ||||||
| B | ||||||
| C | ||||||
| D | ||||||
| E | ||||||
| F |
Phrases 01, 02 and 03 are identical but with A-2, G-2 and E-2. The chain alternates each chord with phrase 0F, which you leave empty: that way each chord lasts two bars (6 s) without retriggering.
| Row | PH | TSP |
|---|---|---|
| 0 | 00 | 00 |
| 1 | 0F | 00 |
| 2 | 01 | 00 |
| 3 | 0F | 00 |
| 4 | 02 | 00 |
| 5 | 0F | 00 |
| 6 | 03 | 00 |
| 7 | 0F | 00 |
| 8 | -- |

When the next chord arrives, the ADSR retriggers. Since firmware 6.6 the attack starts from the level it was at, so the chord change comes across as a crossfade.
Track 2: random bells
INSTRUMENT 10
| Parameter | Value | Why |
|---|---|---|
| TYPE / NAME | MACROSYN / BELL | |
| SHAPE | 20 STRUCK BELL | A physical bell model: each note strikes it and it decays by itself. |
| TIMBRE | 50 | Medium damping: tails of a couple of seconds. |
| COLOR | 40 | Little inharmonicity: a tuned bell, not a clang. |
| PAN | 60 | A little to the left. |
| DRY / REV | 90 / FF | As much send as possible: the bells float in the reverb. |
No modulators needed: the STRUCK BELL model has its own decay. Leave TRANSP. ON so the notes are fitted to the scale.
PHRASE 10: RNL, CHA, SED and HOP
| Row | N | V | I | FX1 | FX2 | FX3 |
|---|---|---|---|---|---|---|
| 0 | C-4 | 60 | 10 | RNLC0 | CHAAF | SED41 |
| 1 | ||||||
| 2 | C-4 | 50 | 10 | RNLC0 | CHA80 | |
| 3 | ||||||
| 4 | C-4 | 50 | 10 | RNLC0 | CHA80 | |
| 5 | ||||||
| 6 | ||||||
| 7 | C-4 | 60 | 10 | RNLC0 | CHA80 | |
| 8 | ||||||
| 9 | C-4 | 40 | 10 | RNLC0 | CHA60 | |
| A | ||||||
| B | C-4 | 50 | 10 | RNLC0 | CHA80 | |
| C | ||||||
| D | HOP00 | |||||
| E | ||||||
| F |

Column by column:
- N = C-4 on every row. It's just the starting point.
- FX1 =
RNLC0. In the FX1 column, RNL randomises the note and instrument to its left. The first digit (C) is the note range: it goes up at random by 0 to 12 semitones. The second (0) is the instrument range: no change. The scale fits the result, so each hit lands on C, D, E, G or A in octave 4, or on C-5. When you edit the value, the help line on the M8 shows how far each one can move. - FX2 =
CHA. Density.CHA80lets the note play about half the time;CHA60two times in five. On row 0,CHAAF: the first digit (A) rules on the note and the RNL, two times in three, and the second (F) makes the SED to its right fire every time. - FX3 =
SED41, on row 0 only. It sets the track's random seed at the start of each pass: the sequence of notes and rests is random but identical every time round. Change the value and you get another stable "melody". - Row D =
HOP00. When the playhead reaches that row it jumps to row 0 of the next phrase, and row D never plays. The phrase lasts 13 steps.
Phrase 11 is a copy of 10 with a different seed, SED9C, on row 0. Copy it with a selection (SHIFT+OPTION, arrows to extend, OPTION to copy and SHIFT+EDIT to paste into phrase 11) and change just that value.
| Row | N | V | I | FX1 | FX2 | FX3 |
|---|---|---|---|---|---|---|
| 0 | C-4 | 60 | 10 | RNLC0 | CHAAF | SED9C |
| 1 | ||||||
| 2 | C-4 | 50 | 10 | RNLC0 | CHA80 | |
| 3 | ||||||
| 4 | C-4 | 50 | 10 | RNLC0 | CHA80 | |
| 5 | ||||||
| 6 | ||||||
| 7 | C-4 | 60 | 10 | RNLC0 | CHA80 | |
| 8 | ||||||
| 9 | C-4 | 40 | 10 | RNLC0 | CHA60 | |
| A | ||||||
| B | C-4 | 50 | 10 | RNLC0 | CHA80 | |
| C | ||||||
| D | HOP00 | |||||
| E | ||||||
| F |
| Row | PH | TSP |
|---|---|---|
| 0 | 10 | 00 |
| 1 | 10 | 00 |
| 2 | 11 | 00 |
| 3 | 11 | 00 |
| 4 | -- |
The chain plays "melody 41" twice and "melody 9C" twice: 52 steps that repeat, recognisable but a long way from a 16-step loop.
Track 3: the 11-step low voice
| Parameter | Value | Why |
|---|---|---|
| TYPE / NAME | WAVSYNTH / DROP | |
| SHAPE / SIZE | 05 TRIANGLE / FF | A soft triangle, almost a low flute. |
| FILTER / CUTOFF | LOWPASS / 80 | Takes off what little brightness it has. |
| PAN | A0 | To the right, opposite the bells. |
| REV | A0 | |
| MOD1 | AHD ENV → VOLUME: AMT FF, ATK 02, HOLD 00, DEC 30 | A soft attack (about 60 ms) and a 1.5 s decay: drops that fade by themselves. |
| Row | N | V | I | FX1 | FX2 | FX3 |
|---|---|---|---|---|---|---|
| 0 | G-3 | 50 | 20 | |||
| 1 | ||||||
| 2 | ||||||
| 3 | C-4 | 40 | 20 | CHAA0 | ||
| 4 | ||||||
| 5 | ||||||
| 6 | E-3 | 50 | 20 | RNL30 | ||
| 7 | ||||||
| 8 | A-3 | 40 | 20 | CHA80 | ||
| 9 | ||||||
| A | ||||||
| B | HOP00 | |||||
| C | ||||||
| D | ||||||
| E | ||||||
| F |
Four pentatonic notes in 11 steps. The one on row 3 plays two times in three, the one on row 8 half the time, and the E-3 on row 6 carries RNL30: it can rise by up to 3 semitones, and the scale leaves it on E or G. This track has no SED, so its randomness never repeats. With HOP00 on row B the phrase lasts 11 steps. Chain 20 has a single row:
| Row | PH | TSP |
|---|---|---|
| 0 | 20 | 00 |
| 1 | -- |

The SONG: a single row
In generative ambient the SONG is minimal: one row with the three chains. Each track works through its chain at its own pace and, when it reaches the end, starts again, because row 01 is empty.
| Row | Track 1 | Track 2 | Track 3 |
|---|---|---|---|
| 00 | 00 | 10 | 20 |
| 01 | -- | -- | -- |
The drift in numbers:
- Track 1: 8 phrases × 16 steps = 128 steps (24 s).
- Track 2: 4 phrases × 13 steps = 52 steps (9.75 s).
- Track 3: 11 steps (just over 2 s).
Tracks 2 and 3 line up again every 572 steps, and all three together every 18,304 steps: about 57 minutes at 80 BPM. Since track 3 has no seed, even then it doesn't repeat exactly.

This drift is deliberate, but if you add more rows to the SONG each track will reach them at a different moment. For an arrangement with sections, use chains of equal length or build separate islands divided by empty rows.
The long reverb
Go down to MIXER (SHIFT+DOWN from SONG) and set the tracks: 1 to C0, 2 to B0 and 3 to A0. Then go down once more to EFFECT SETTINGS:
| Parameter (REVERB) | Value | Why |
|---|---|---|
| ROOM SIZE | F0 | A huge space. |
| DECAY | E0 | Tails lasting many seconds: each bell is still ringing when the next arrives. |
| SHIMMER | 30 | Part of the tail comes back an octave up and adds a shine above the pad. |
| STEREO WIDTH | FF | The reverb fills the whole stereo field. |

DECAY and SHIMMER share a row (DECAY:SHIMMER): the first value is the decay and the second, after the colon, the shimmer. With this much send and this much tail, keep an eye on the RE return level in the MIXER: if the mix turns to mush, lower it before the sends.
Where to go next
- Another scale. In SCALE 00, change KEY to
Aor switch other notes on: the pad and the bells reharmonise themselves. - More silence. Lower the
CHA80s in phrase 10 toCHA40: fewer notes and more room for the reverb. - A fourth track of 7 steps. Another voice with
HOP00on row 7: with 16, 13, 11 and 7 steps the track takes hours to repeat. - Freeze the reverb. In a track 3 phrase,
XRZwith any value above 00 freezes the tail; go back toXRZ00a few bars later. - An ending. To finish the track, put
KIL00followed byHOPFFon each track: HOPFF stops the playhead but doesn't cut a sustained sound. - Contrast. If you want a pulse, the chiptune tutorial goes to the opposite extreme: grooves, arpeggios and short notes.
An independent guide written by DB Soft. It is not affiliated with or endorsed by Dirtywave. M8 is a trademark of Dirtywave LLC. Reference firmware: 6.6.3. All the articles in the guide.