DB SoftM8 guide

M8 guide · Step-by-step tutorials

Tutorial: 150 BPM chiptune on the M8

Chiptune on the Dirtywave M8: pulse WAVSYNTHs, arpeggios with ARP and tables, a triangle bass, noise drums and a swing groove, step by step.

Published

The M8 is a direct descendant of LSDJ, the Game Boy tracker, and its WAVSYNTH produces the same 8-bit waveforms as the classic consoles: fixed-width pulses, a stepped triangle and noise. In this tutorial you'll build a 150 BPM chiptune track on five tracks: a noise kick and snare, a triangle bass, arpeggiated chords and a melody with delayed vibrato and slides. The swing on the whole track comes from a groove.

Prefer to start from the result? Download the finished song, CHIPTUNE.m8s, copy it to the M8's SD card (firmware 6.6 or later) and open it with LOAD from the PROJECT view.

The track at a glance

TrackRoleInstrumentsChains and phrasesWaveform
1Kick0000TRIANGLE with a table pitch drop
2Snare and hat10, 1110–11NOISE and NOISE PITCHED
3Bass2020TRIANGLE
4Arpeggios3030–31PULSE 12%
5Melody4040–41PULSE 25% (with a table)

The harmony is the best-known progression in video game pop: C major, A minor, F major and G major, one bar per chord. The bass and arpeggios follow it with their chains' TSP column; the melody uses only notes from the C pentatonic (C, D, E, G, A), which fit over all four chords.

Thinking within a console's limits

Chiptune is recognisable by its timbre and also by the constraints it was written under. A console like the NES had five channels: two pulse, one triangle, one noise and one sample channel. Each played a single note at a time, just like an M8 track. Almost every technique in this tutorial comes from that:

  • Chords without polyphony. If a channel only gives you one note, you arpeggiate the chord, hence the very fast arpeggios all over the genre.
  • Timbre from pulse width. With no filters, the only way to change a pulse's colour was its width (12.5%, 25%, 50%). We mimic that by changing SHAPE from a table.
  • Drums from whatever's to hand. The kick comes from a triangle dropping in pitch, and the snare and hat from the noise channel.
  • Expression through pitch. Without elaborate envelopes, a melody gets its expression from vibrato and glides.

You can ignore all these rules (the M8 has eight tracks, filters and effects), but if you stick to them at first the result sounds like a console rather than a synth with square waves. Once the track is finished you can break them one at a time and hear what changes.

Project, tempo and groove

  1. PROJECT (SHIFT+UP from SONG), NEW, EDIT. TEMPO to 150.00.
  2. Go back to SONG and create chain 00 with phrase 00, as usual. From PHRASE, press SHIFT+UP to go to GROOVE 00.
  3. Groove 00 is the one every track uses by default. It has two rows at 06: 6 ticks per step. Change row 0 to 07 and row 1 to 05 with EDIT+LEFT/RIGHT. The SWING column should read 58.3%.
GROOVE 00 with 07 and 05 and SWING 58.3%
GROOVE 00: even steps of 7 ticks and odd steps of 5.

With 07 05, even steps last 7 ticks and odd ones 5: each pair of sixteenths still adds up to 12 ticks, so the tempo doesn't change, but the second sixteenth arrives slightly late. It's the light swing of many 8-bit soundtracks: enough to make the track bounce, not so much that it turns into a shuffle. If you want it stronger, try 08 04 (66.7%).

At 150 BPM a tick lasts about 16.7 ms, and a step 100 ms on average.

Tracks 1 and 2: console drums

INSTRUMENT 00: a kick with a table

8-bit consoles had no kick drum; it was faked with a triangle dropping very fast in pitch, which is what this instrument does.

ParameterValueWhy
TYPE / NAMEWAVSYNTH / KICK
TRANSP.OFFThe chains' TSP mustn't affect it.
TBL.TICFFA 200 Hz table: one row every 5 ms.
SHAPE05 TRIANGLEWith SIZE at its default (20), a stepped triangle, very NES.
MOD1AHD ENV → VOLUME: AMT FF, ATK 00, HOLD 00, DEC 0AA hit of about 170 ms.

For TBL.TIC, from 01 press EDIT+DOWN (it wraps round to F1) and then EDIT+RIGHT up to FF. Go to TABLE 00 with SHIFT+RIGHT:

RowNVFX1FX2FX3
018
10C
205
300HOP03
4
5
6
7
8
9
A
B
C
D
E
F

Two octaves up to start with (18 = 24 semitones), then one (0C), then a fourth (05) and finally the real note: four 5 ms steps. With so few of them, the ear doesn't hear a smooth drop but a "thock" with attack, exactly the console kick sound. HOP03 parks the table on row 3.

RowNVIFX1FX2FX3
0C-37F00
1
2
3
4
5
6
7
8C-37000
9
A
BC-36000
C
D
E
F

The kick isn't four on the floor: it plays on row 0, row 8 and row B, which lands a little late thanks to the swing. It's a bouncy pattern, more platform game than dance floor.

INSTRUMENT 10 and 11: noise snare and hat

Parameter10 (snare)11 (hat)
TYPE / NAMEWAVSYNTH / SNAREWAVSYNTH / HAT
TRANSP.OFFOFF
SHAPE08 NOISE07 NOISE PITCHED
MOD1 AHD ENV → VOLUMEAMT FF, ATK 00, HOLD 00, DEC 0CAMT FF, ATK 00, HOLD 00, DEC 03

NOISE is classic LFSR noise, rough and wide: a snare. NOISE PITCHED is the consoles' "short" mode, a periodic noise with a metallic tone that works as a hat. The note changes the colour of both; here the snare plays on C-5 and the hat on C-6. Since they share a track, each hit cuts off the previous one.

RowNVIFX1FX2FX3
0C-64011
1
2C-63011
3
4C-57F10
5
6C-64011
7
8C-64011
9
AC-63011
B
CC-57F10
D
EC-64011
F
PHRASE 10 with snares on rows 4 and C and hats
PHRASE 10: snare on beats 2 and 4, hats on eighths.

Phrase 11 is the fill: the last two hats turn into a snare roll. RET04 repeats the snare every 4 ticks and RET82 every 2 ticks with rising volume.

RowNVIFX1FX2FX3
0C-64011
1
2C-63011
3
4C-57F10
5
6C-64011
7
8C-64011
9
AC-63011
B
CC-57010
DC-55010
EC-56010RET04
FC-57010RET82

CHAIN 00 repeats the kick; CHAIN 10 puts the roll at the end of the four bars and CHAIN 11 every two, for the higher-energy part:

RowPHTSP
00000
10000
20000
30000
4--
RowPHTSP
01000
11000
21000
31100
4--
RowPHTSP
01000
11100
21000
31100
4--

Track 3: triangle bass

The triangle was the NES bass channel: no volume control, a round and slightly stepped tone. The WAVSYNTH imitates it at its default SIZE.

ParameterValueWhy
TYPE / NAMEWAVSYNTH / BASS
SHAPE05 TRIANGLENo modulators or filter: console bass had no envelope.
RowNVIFX1FX2FX3
0C-26020KIL04
1
2C-35020KIL04
3
4C-26020KIL04
5
6C-35020KIL04
7
8C-26020KIL04
9
AC-35020KIL04
B
CC-26020KIL04
D
EG-25020KIL04
F

The octave pattern (C-2, C-3, C-2…) is the most characteristic chiptune bass: it fills the spectrum with a single voice and marks the eighths. KIL04 cuts each note after 4 ticks; without it the triangle would drone on and the pattern would lose its bounce. On row E, G-2 anticipates the next bar.

RowPHTSP
02000
12009
22005
32007
4--
CHAIN 20 with TSP 00 09 05 07
CHAIN 20: the same phrase transposed to C, A, F and G.

TSP values 09, 05 and 07 move the pattern to A, F and G. The G-2 on row E is transposed along with it and always lands on the fifth of the chord.

Track 4: arpeggios with ARP

With one voice per channel, console composers built chords by arpeggiating them so fast the ear blends them together. The M8 does it with a single command.

ParameterValueWhy
TYPE / NAMEWAVSYNTH / ARP
SHAPE00 PULSE 12%The narrowest pulse, nasal and bright: it stands out even at a low level.
PAN60To the left, leaving room for the melody.
MOD1AHD ENV → VOLUME: AMT FF, ATK 00, HOLD 00, DEC 18Each chord fades in about 0.4 s: one pulse per beat.
RowNVIFX1FX2FX3
0C-45030ARP47
1
2
3
4C-44030ARP47
5
6
7
8C-45030ARP47
9
A
B
CC-44030ARP47
D
E
F

ARP47 cycles very fast through the note, the note +4 semitones and the note +7: on C-4 that's C, E and G, a major chord. Phrase 31 uses ARP37 (+3 and +7, a minor chord) on A-3:

RowNVIFX1FX2FX3
0A-35030ARP37
1
2
3
4A-34030ARP37
5
6
7
8A-35030ARP37
9
A
B
CA-34030ARP37
D
E
F
RowPHTSP
03000
13100
23005
33007
4--
PHRASE 30 with ARP47 on rows 0 4 8 C
PHRASE 30: one arpeggiated chord per beat.

In the chain, phrase 30 (major) appears transposed to F (05) and G (07), and 31 (minor) covers the A minor bar, so two phrases are enough for all four chords.

Track 5: a melody with a table

INSTRUMENT 40

ParameterValueWhy
TYPE / NAMEWAVSYNTH / LEAD
TBL.TIC06The table moves one row per step (6 ticks).
SHAPE01 PULSE 25%The classic melody pulse; the table will keep changing it.
PANA0To the right, opposite the arpeggios.
REV30A little air.
MOD1AHD ENV → VOLUME: AMT FF, ATK 00, HOLD 0C, DEC 20Holds its level for about 200 ms and then falls: singable notes.

TABLE 40: the breathing pulse and delayed vibrato

RowNVFX1FX2FX3
0OSC00
1OSC01
2OSC02
3
4PVB43
5HOP05
6
7
8
9
A
B
C
D
E
F
TABLE 40 with OSC00 OSC01 OSC02 PVB43 HOP05
TABLE 40: three pulse widths and a vibrato that arrives late.

Every melody note starts the table at row 0:

  • Rows 0–2: OSC changes the waveform on each step, from PULSE 12% to 25% to 50%. As the pulse widens, the sound goes from nasal to hollow: the "breathing pulse" of the NES and Game Boy.
  • Row 4: PVB43 switches on vibrato (4 = speed, 3 = depth). It arrives on the fifth step of the note: short notes stay straight and only long ones waver, the way a singer would.
  • Row 5: HOP05 jumps to its own row and freezes the table; the vibrato stays on until the next note with an instrument.

PHRASE 40 and 41

RowNVIFX1FX2FX3
0E-46040
1
2G-46040
3
4C-56040
5
6D-550PSL03
7
8A-46040
9
AG-46040
B
CE-46040
D
ED-450PSL03
F

The melody uses only C, D, E, G and A. Rows 6 and E have no instrument and carry PSL03: the previous note glides into the new one over 3 ticks, retriggering neither the envelope nor the table (the glide of console leads). The note before a slide mustn't have a KIL or OFF: after either, a note with no instrument no longer sounds.

RowNVIFX1FX2FX3
0C-46040
1
2E-46040
3
4G-46040
5
6A-46040
7
8G-450PSL04
9
AE-46040
B
CD-46040
D
EC-46040
F
RowPHTSP
04000
14100
24000
34100
4--

The chain alternates the two phrases. Since the melody has no TSP, the same notes play over C major, A minor, F major and G major; the pentatonic makes them all fit, and each chord gives them a different colour.

The SONG

The staggered entry needs the silent chain FE (four rows of the empty phrase FE) on the tracks that aren't playing yet:

RowPHTSP
0FE00
1FE00
2FE00
3FE00
4--
RowTrack 1Track 2Track 3Track 4Track 5
00001020FEFE
0100102030FE
020011203040
030011203040
04----------
SONG with five tracks, rows 00 to 03
The SONG: a rhythm intro, then the arpeggios, then finally the melody.
  • Row 00: drums and bass, the "title screen".
  • Row 01: the arpeggios come in.
  • Rows 02–03: the melody, with drum chain 11 (a roll every two bars) for extra energy.

Mixing

TrackVolumeReason
1 (kick)D0The stepped triangle already hits hard.
2 (snare and hat)B0At the same level, noise is the loudest thing in the mix.
3 (bass)D0The foundation of everything.
4 (arpeggios)90PULSE 12% cuts through; kept low, it fills without masking.
5 (melody)C0The lead, above the arpeggios.

In EFFECT SETTINGS, a small reverb: ROOM SIZE 40 and DECAY 40. Chiptune sounds best dry; the reverb just gives the melody a little depth.

MIXER with volumes D0 B0 D0 90 C0
MIXER for the chiptune track.

Where to go next

  • Table arpeggio. Remove the ARPs from phrases 30 and 31 and give instrument 30 a TBL.TIC of 02 and this table: N 00 on row 0, 04 on row 1, 07 on row 2 and HOP00 in FX1 of row 3. You control the speed (TBL.TIC) and can write four-note arpeggios. For the minor chord, clone the instrument to 31 and change the 04 to 03.
  • Tracker echo. On the melody's long notes, add RET36 in FX2: repeats every 6 ticks that fade away, the classic echo without touching the delay.
  • Heavier swing. Set GROOVE 00 to 08 04: the whole track turns into a shuffle.
  • Arpeggio duty. Change instrument 30's SHAPE to 02 PULSE 50% for the final section: a rounder tone for the climax.
  • Final drop. On the last note of phrase 41, a PBN between 80 and FF bends the pitch down: the good old "game over".
  • Another world. The ambient tutorial uses chance and phrase lengths instead of a groove.

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.