DB SoftM8 guide

M8 guide · Sound design

Modulation on the M8: envelopes, LFOs, TRIG ENV and TRACKING

The Dirtywave M8 modulation page in depth: AHD, ADSR, DRUM ENV, LFO, TRIG ENV and TRACKING, destinations, MOD AMT and RATE, and five full recipes.

Published

Every M8 instrument has four modulation slots, each of which can be an envelope, an LFO, a trigger from another track, or a follower of note and velocity. They are what makes a static oscillator move, and when they are misunderstood they do odd things that look like bugs. This guide walks through the six modulator types with their real timings (measured on an M8 running firmware 6.6.3), explains how each destination responds, how modulators can modulate each other, and when you are better off with a table. It ends with five complete recipes.

The INST. MODS page

From INSTRUMENT (or from TABLE), SHIFT+UP opens INST. MODS. The screen is split into four blocks: MOD1 top left, MOD2 bottom left, MOD3 top right and MOD4 bottom right. Each block shows its type, its destination (DEST) and its parameters. A fresh instrument comes with MOD1 and MOD2 set to AHD ENV and MOD3 and MOD4 set to LFO, all with DEST OFF.

When you change a slot's type, its parameters take these values:

TypeParametersInitial values
AHD ENVAMT ATK HOLD DECFF 00 00 80
ADSR ENVAMT ATK DEC SUS RELFF 00 80 80 80
DRUM ENVAMT PEAK BODY DECFF 80 10 80
LFOAMT OSC TRIG FREQFF TRI FREE 10
TRIG ENVAMT ATK HOLD DEC SRCFF 00 00 40 00
TRACKINGAMT SRC LVAL HVALFF NOTE 00 7F

A slot with AMT 00 does nothing, and neither does an AHD with ATK, HOLD and DEC all at 00. Keep that in mind when something "isn't working".

AHD ENV: the rhythmic envelope

Attack, hold and decay, measured in ticks. With the default groove there are 6 ticks per step, so the AHD follows the tempo: raise the BPM and everything gets proportionally shorter. The attack is a linear ramp lasting ATK ticks, the hold lasts HOLD ticks, and the decay is exponential, reaching −60 dB after DEC ticks. Two special cases: DEC 00 never decays (with some HOLD, the value stays up until the next note), and, as mentioned, all three at 00 disables the slot.

Reference values at 120 BPM, where a tick lasts 20.8 ms:

Value0103060C183060
Ticks13612244896
Time21 ms63 ms125 ms (1 step)250 ms0.5 s (1 beat)1 s2 s

The AHD's AMT is unsigned: it always pushes upwards. It is the envelope for anything that should sit in time: drum hit volumes, filter envelopes, kick pitch sweeps.

ADSR ENV: the long-note envelope

The ADSR differs in two important ways. First, its times are in seconds and do not follow the tempo. Second, the release stage only starts when a note ends: an OFF note in the phrase, the OFF command or a MIDI note-off. Without one, the note just sits on the sustain.

ATK, DEC or REL value1020406080A0C0E0FF
Time19 ms35 ms83 ms0.2 s0.48 s1.1 s2.7 s6.5 s15 s

The attack is linear; the decay is exponential towards the sustain level. SUS is a linear amplitude: 80 is half and C0 three quarters. Its AMT is signed (on screen the bar grows from the centre), so an ADSR can push a parameter down as well as up. Since firmware 6.6, if you retrigger the same instrument while it is still sounding, the attack starts from the current level rather than from zero, which avoids clicks in legato lines.

DRUM ENV: the percussion transient

The DRUM ENV was designed for FM percussion, especially for moving a modulator's index or ratio, but it works on any destination. It has four parameters:

  • PEAK is not an attack. The envelope starts at the top, drops sharply (a "duck") and recovers. Between 80 and FF the dip is 50% and lasts from 50 ms (80) down to 5 ms (FF), as the on-screen help says. Below 80 it behaves in practice like its mirror value (40 sounds the same as C0), so work between 80 and FF. 00 turns it off.
  • BODY is how long the body holds before falling. The help gives it in milliseconds (10 ≈ 15 ms, 40 ≈ 56 ms, 80 ≈ 0.32 s); measured, it lasts about one and a half times what is shown.
  • DEC is the decay, on the same scale. By the time shown in the help the envelope has dropped about 40 dB, not 60.

Because it works in milliseconds, the DRUM ENV ignores tempo: a kick built with it sounds the same at 90 as at 170 BPM.

LFO: shapes, speed and modes

The LFO has AMT, OSC (the shape), TRIG (the mode) and FREQ. FREQ is not a frequency but a period in steps: 01 is one cycle per step, 10 one cycle per 16-step phrase, 80 one cycle every eight phrases. Higher values are slower. The shapes ending in "T" (TRI T, SIN T, RAMPD T…) count the period in ticks and are six times faster: use them for vibrato, tremolo and very short envelopes.

ShapeHow it starts and what it does
TRIStarts at the bottom and rises.
SINStarts at the bottom and peaks halfway through the cycle.
RAMP DN / RAMP UPLinear ramp starting at the top / bottom.
EXP DN / EXP UPExponential curve falling 60 dB per cycle: a third of the way through it is already down to 10%.
SQU DN / SQU UPSquare: high for the first half / the second half.
RANDOMSample and hold: a new random value every cycle.
DRUNKA random walk that moves at irregular intervals.

On most destinations the LFO is unipolar: it adds 0 to AMT to the parameter's value. On PITCH and PAN it is bipolar and swings both ways.

The four TRIG modes

  • FREE: not restarted by notes. Measured on the device: it starts counting at the first note of the instrument on that track, not when you press PLAY, and later notes do not restart it. While the track plays another instrument without a free-running LFO in that slot, it freezes; an OFF, however, does not stop it. The phase belongs to the track and the slot: if two instruments with a free LFO in the same slot alternate on a track, the movement carries on seamlessly.
  • RETRIG: goes back to the start of the cycle on every note. Every note gets the same movement.
  • HOLD: runs a single cycle and stays on the last value. With EXP DN or RAMP DN it is one more decay envelope.
  • ONCE: runs a single cycle and returns to the starting value.
Tip

An EXPD T LFO in HOLD mode is an extra, very fast envelope, good for an attack click on AMP or CUTOFF. Remember that on PITCH the LFO is bipolar, so think about where the cycle ends up.

TRIG ENV: an envelope fired by another track

The TRIG ENV is an AHD (ATK, HOLD, DEC in ticks) that is not fired by its own instrument's notes but by another source, chosen in SRC: 00 to 7F is a specific instrument (wherever it plays) and 80 to 87 is any note on tracks 1 to 8 (shown as 80TRACK 1 and so on). It stays idle until the first trigger. Its AMT is signed: positive pushes the destination up on every hit from the source; negative pulls it down. With DEST VOLUME and a negative AMT you have sidechain without a compressor.

TRACKING: note and velocity as a source

TRACKING turns the note or the velocity into a fixed modulation. SRC picks the source: NOTE, velocity, or velocity in "takeover" mode, where velocity stops affecting the volume and only modulates. LVAL and HVAL set the working range: a source value equal to LVAL gives 0, one equal to HVAL gives the maximum, and anything outside is clamped. If LVAL is higher than HVAL, the relationship is inverted.

With SRC NOTE, the values are note numbers in hex: C-3 is 18, C-4 24, C-5 30, C-6 3C and C-7 48. On VOLUME, the measured gain is 1 − AMT + AMT × value: with AMT FF a note at LVAL is silent; with AMT 80 it drops to half.

Destinations and how each one responds

The common destinations are VOLUME, PITCH, CUTOFF, RES, AMP, PAN and the four cross-modulation ones. Each engine adds its own (SIZE…SCAN on the WavSynth, TIMBRE…REDUX on the MacroSynth, MOD1–MOD4 on the FM Synth, and so on).

  • VOLUME: envelopes multiply the volume (at AMT FF the note follows the envelope's shape exactly; below that the peak is lower). LFOs and TRACKING subtract from full volume.
  • PITCH: on the synth engines, an envelope raises pitch by 48 semitones × AMT/255 at its peak (40 ≈ one octave, 80 ≈ two). The Sampler uses a different scale.
  • CUTOFF, RES, AMP and the engine's own parameters: up to AMT steps are added to the instrument's value. An AHD with AMT 80 takes a CUTOFF 30 up to B0 at its peak.
  • PAN: the LFO moves it both ways, by up to AMT steps.

MOD AMT, MOD RATE, MOD BOTH and MOD BINV

These four destinations do not touch the sound but the next slot, in a fixed order: MOD1 acts on MOD2, MOD2 on MOD3, MOD3 on MOD4 and MOD4 on MOD1. MOD AMT scales that slot's amount; MOD RATE, its speed or timings; MOD BOTH, both; and MOD BINV, both with the rate going the opposite way. So when you plan an instrument, decide the slot order first: the modulator in charge goes right before the one it controls.

Modulator FX commands

Each slot has five commands, which change with its type: for an AHD they are EAn (amount), ATn, HOn, DEn and ETn (retrigger); for an LFO, LAn (amount), LFn (speed), LTn (retrigger) and two more whose job the help text explains; for the DRUM ENV, EAn, PKn, BOn, DEn and ETn. The n is the slot number. According to the M8's own help, only the amounts (EA, LA) are relative and accumulate; the rest set the value outright.

A handy shortcut: when you edit a parameter in INST. MODS, its command becomes the "last FX". If you then press EDIT on an empty FX cell in a PHRASE or TABLE, that command is inserted. More in FX commands and Shortcuts.

Typical combinations

  • Filter envelope: an AHD on CUTOFF with ATK 00 and a short DEC, over a low resting cutoff. The amount decides how far it opens and DEC how long the "wow" lasts. A DEn in the phrase lets you stretch it note by note.
  • Delayed vibrato: a slow AHD on MOD AMT scales the amount of the pitch LFO in the next slot: the vibrato fades in.
  • An LFO modulating another LFO: a very slow LFO on MOD RATE changes the speed of the next one; on MOD AMT, its depth, so the movement does not repeat every bar.
  • Sidechain: a TRIG ENV with SRC set to the kick's track, negative AMT and DEST VOLUME (or CUTOFF if you just want it to darken).

Modulator or table?

The instrument's table modulates too: each row can transpose, change the volume and fire three commands. When to use which:

Use a modulator when…Use a table when…
You want smooth, continuous curves (sweeps, vibrato).You want exact steps: timbre sequences, arpeggios, ratchets.
The movement should follow the note without taking up the table.You need to change something that is not a destination: OSC, FIL, LIM, the sends.
You want a free-running LFO to keep going between notes.You want tempo-independent timing with 5 ms precision (TIC FF).
You need cross-modulation (MOD AMT, MOD RATE).You want to change the modulators themselves row by row (DE1, LF3…).

Often the answer is both: modulators for the background movement and the table for the accents. See Tables.

Recipes

Values for 120 BPM. Anything not listed stays as on a fresh instrument.

1. Bass with a filter envelope and velocity accent

  • INSTRUMENT (WavSynth): SHAPE 04 SAW, SIZE FF, FILTER 01 LOWPASS, CUTOFF 30, RES 90, AMP 10, LIM POST:AD.
  • MOD1: TRACKING, DEST MOD AMT, AMT FF, SRC velocity, LVAL 00, HVAL 7F.
  • MOD2: AHD ENV, DEST CUTOFF, AMT 90, ATK 00, HOLD 00, DEC 08.
  • MOD3: AHD ENV, DEST VOLUME, AMT FF, ATK 00, HOLD 04, DEC 0C.
  • MOD4: DEST OFF.
  • PHRASE 10 (track 2): sixteenth notes between C-4 and C-5 at V 40, with a few at V 7F as accents.

Why it works. MOD2 is a classic filter envelope: it opens the cutoff from 30 (around 50 Hz, almost shut) up to C0 at most, and closes it within 8 ticks. MOD1 sits right before it and, with DEST MOD AMT, scales MOD2's amount by velocity: soft notes barely open the filter and hard ones open it fully. That is a 303-style accent: louder and, above all, brighter. The high resonance makes the difference very audible and POST:AD drives it after the filter. Raise LVAL if you want soft notes not to open the filter at all.

2. Lead with delayed vibrato

  • INSTRUMENT (WavSynth): SHAPE 01 PULSE 25%, SIZE FF, FILTER 01 LOWPASS, CUTOFF B0, RES 10, DEL 30, REV 30.
  • MOD1: ADSR ENV, DEST VOLUME, AMT FF, ATK 08, DEC 80, SUS E0, REL 40.
  • MOD2: AHD ENV, DEST MOD AMT, AMT FF, ATK 20, HOLD 01, DEC 00.
  • MOD3: LFO, DEST PITCH, AMT 03, OSC SIN T, TRIG RETRIG, FREQ 08.
  • MOD4: DEST OFF.
  • Long notes between C-6 and C-7, ended with OFF.

MOD3 is the vibrato: an 8-tick sine, about 6 Hz at 120 BPM. But its amount does not arrive in full: MOD2 controls it, scaling it via DEST MOD AMT. That AHD rises in a straight line over 32 ticks (about two thirds of a second) and, with DEC 00, stays at the top: the vibrato fades in and holds for as long as the note lasts. Short notes hardly wobble at all, as with a singer. In RETRIG mode every note starts the same way, and since the depth starts from zero there is no pitch jump at the start. The volume ADSR lets go about 80 ms after the OFF. If the vibrato feels too wide or too narrow, change only MOD3's AMT.

3. Pad with one LFO modulating another

  • INSTRUMENT (MacroSynth): SHAPE 0E SAW SWARM, TIMBRE 60, COLOR 20, FILTER 01 LOWPASS, CUTOFF 70, RES 50, MFX 40, REV 90.
  • MOD1: ADSR ENV, DEST VOLUME, AMT FF, ATK A0, DEC 80, SUS D0, REL C0.
  • MOD2: DEST OFF.
  • MOD3: LFO, DEST MOD RATE, AMT 80, OSC SIN, TRIG FREE, FREQ 40.
  • MOD4: LFO, DEST CUTOFF, AMT 40, OSC TRI, TRIG FREE, FREQ 04.
  • Chords spread over several tracks, or long notes on one, ended with OFF.

MOD4 opens and closes the filter every 4 steps, a clear half-second pulse. On its own that would feel mechanical. MOD3, a 64-step sine (8 seconds), changes MOD4's speed through MOD RATE: the pulse speeds up and relaxes over four bars, as if someone were riding a knob. Both LFOs are in FREE mode so the movement carries on between notes. The ADSR gives a fade-in of just over a second, a high sustain and a tail of nearly three seconds after the OFF. SAW SWARM at TIMBRE 60 is seven detuned saws, with plenty of harmonics for the filter to work on.

4. Sidechain with TRIG ENV

  • Track 1: the kick (for instance the one from recipe 1 of the WavSynth guide) on rows 0, 4, 8 and C of PHRASE 00.
  • Track 2: the bass or pad you want to breathe. On its instrument, MOD4: TRIG ENV, DEST VOLUME, negative AMT (bar about three quarters of the way to the left), ATK 00, HOLD 02, DEC 0C, SRC 80 (80TRACK 1).

Every note on track 1 fires the envelope of the instrument on track 2, even if that instrument is not playing a note at that moment. With a negative AMT and VOLUME as the destination, the level drops instantly, stays down for 2 ticks (about 40 ms, the length of the kick's hit) and recovers over 12 (250 ms), just before the next four-to-the-floor kick. Because the TRIG ENV counts in ticks, the pumping follows the tempo with no adjustment. Pointing it at the track rather than the instrument means it keeps working if you swap kicks. A subtler variation: DEST CUTOFF instead of VOLUME, so the bass just darkens on each hit.

Watch out

The TRIG ENV's AMT is signed and its bar grows from the centre. If the sound jumps up instead of ducking on each hit, the value is on the positive side.

5. Key tracking with TRACKING

  • INSTRUMENT (WavSynth): SHAPE 04 SAW, SIZE FF, FILTER 01 LOWPASS, CUTOFF 50, RES 30.
  • MOD1: AHD ENV, DEST VOLUME, AMT FF, ATK 00, HOLD 08, DEC 10.
  • MOD2: TRACKING, DEST CUTOFF, AMT 60, SRC NOTE, LVAL 18, HVAL 48.
  • A line that covers several octaves, from C-3 to C-7.

With a fixed cutoff, low notes sound bright and high notes dull, because the filter eats more and more of their harmonics. TRACKING compensates: from C-3 (18) to C-7 (48) it adds between 0 and 60 (96 steps) to the cutoff. Since the classic filters' cutoff roughly doubles every 25 steps, that is almost four octaves of cutoff spread over four octaves of notes: the brightness stays even across the whole range. Below C-3 nothing is added and above C-7 it stays at the maximum. For the opposite effect, making high notes softer, use DEST VOLUME and invert the range (LVAL 48, HVAL 18) with a small amount.

Common mistakes

  • "The envelope does nothing": AMT 00, DEST OFF, or an AHD with everything at 00.
  • "The ADSR never releases": there is no OFF in the phrase.
  • "My free LFO starts somewhere different every time": it counts from the instrument's first note on the track and freezes while another instrument plays. If you need every note to start the same way, use RETRIG.
  • "MOD AMT affects the wrong slot": it always acts on the next one (and MOD4 on MOD1).
  • "My kicks get shorter when I raise the tempo": the AHD runs in ticks. Use the DRUM ENV or a table at TIC FF.

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.