A melody has three separate jobs
Producers who "can't write melodies" are usually trying to do all three at once on a piano roll. Do them one at a time and each one is easy. The labs below are laid out in exactly this order.
Rhythm — where the notes land
Sixteen slots per bar. Which ones you use decides whether the line pushes, drags, rolls or stomps. This is 60% of the character. A one-note melody with a great rhythm is a techno hook; a perfect scale run on straight eighths is a ringtone.
Contour — the shape of the line
Up, down, arch, zigzag, pedal-and-ping. Listeners remember shape, not pitches. Sing any famous lead: what comes back is a gesture. Contour is what you copy from an era, not the notes.
Harmony — which pitches are legal
A scale plus a rule about strong beats: chord tones on the downbeats, colour tones (2, 4, 6, ♭2) on the off-sixteenths. Snap to this and almost any contour sounds intentional.
Development — what happens over 8 bars
A 2-bar motif is an idea; a phrase is what you do with it. Repeat, vary the tail, invert, lift an octave, leave a hole. Section 7 builds the whole eight bars from one motif.
Rhythm lab — the sixteenth grid
Two bars, 32 sixteenths. Click steps or load a cell. The colour of a step tells you how syncopated it is: black on the beat, orange on an off-eighth, red on a true off-sixteenth. Play it against the kick and hat and feel the difference before you add a single pitch.
Metric weight — why some steps feel "wrong"
The bar has a hierarchy. Beat 1 is heaviest, beat 3 next, then 2 and 4, then the off-eighths, then the off-sixteenths. A syncopated note is one that lands on a light slot and isn't followed by a note on the next heavier slot — the silence after it is what makes the ear feel the push.
Cell library
Your rhythm
Melody lab — pour a contour into the rhythm
The rhythm above is the mould. Choose a shape, a range and how strictly downbeats snap to chord tones, then generate. Reroll keeps the rhythm and the shape and only changes the dice. Ninety percent of usable lines come out in under ten rerolls.
Contour
Era presets — feel, not notes
Each card sets rhythm cell, contour, scale, register, gate, voice, swing and tempo to the parameters that characterise an era or artist — then rolls new pitches. Nothing here quotes a record; it recreates the recipe so the line you get is yours.
Syncopation cookbook
Fourteen moves that convert a straight line into a groove. Each has a button that applies it to the melody in section 3 so you can A/B by ear.
| Move | How | Where you hear it |
|---|
Transform lab — mutate, don't rewrite
Composers develop material by transforming it; producers usually just draw something new and lose the family resemblance. Stack transforms in order on the current melody. Original stays on top, result underneath.
Phrase builder — from 2 bars to 8
The motif from section 3 becomes slot A. Choose what happens in each 2-bar slot. The classic pop/trance answer is A · A′ · A · B (statement, small change, statement, contrast); techno lives on A · A · A · hole. Pick an archetype or set slots by hand.
Numbers
Everything below follows the transport BPM.
Note lengths & delay times
| Value | ms | Use |
|---|
Interval feel (above the root)
| Interval | Semis | Feel in a lead |
|---|---|---|
| Minor 2nd | 1 | Tension, Phrygian menace, hard-techno grind |
| Major 2nd | 2 | Neutral step, the workhorse of runs |
| Minor 3rd | 3 | Melancholy; the mau5 / melodic-techno colour |
| Perfect 4th | 5 | Open, anthemic, slightly suspended |
| Tritone | 6 | Unstable; one per phrase, on an offbeat |
| Perfect 5th | 7 | Power, trance 1-5-8 arps, stab roots |
| Minor 6th | 8 | Yearning; the "Strobe" leap |
| Minor 7th | 10 | Cool, dorian, deep-house pluck |
| Octave | 12 | Energy without harmony change — the safest big jump |
Rules of thumb
- Leap then step back. After any jump ≥ 5 semitones, move by step in the opposite direction.
- One climax per phrase. Highest note appears once, usually bar 6–7 of 8.
- Downbeat of bar 1 = chord tone. Everything else is negotiable.
- Density budget: peak-time techno 3–6 notes/bar, progressive 8–12, trance arp 12–16.
- Leave the hole. Bar 8 (or bar 4 in techno) with 2+ beats of silence resets the ear.
- Pedal first, melody second. If unsure, a repeated root note on an offbeat cell is already a hook.
Ableton — from exported MIDI to finished line
Import & lock to key
- Drag the exported
.midonto a MIDI track. Clip is already at the sheet's BPM. - Add
MIDI Effects → Scale, set the same root and scale as the transport. Any nudging you do now stays legal. - Set clip
GroovetoSwing 16 – 57%for house, none for techno,MPC 16 – 58for garage.
Instant trance arp from a 4-note cell
- Export a 4-note melody with a sparse cell, hold notes long (gate 100%).
MIDI Effects → Arpeggiator: StyleUp, Rate1/16, Gate60%, Steps2, Distance+12.- Add
Velocitydevice, Random20, then sidechain the synth to the kick — done.
Humanise without losing the grid
- Select all notes →
Cmd/Ctrl+Uto quantise 100% first (you want deliberate offsets, not accidents). - Move only the off-sixteenth notes late by
8–15 ms: they are the pushes; late pushes feel lazy-funky, early pushes feel urgent. - Velocity: beats 1 and 3 at
110, off-sixteenths at70–85. Then invert that for a French-house feel.
Develop with Follow Actions
- Export the four slot variants from section 7 as separate clips (A, A′, B, hole).
- In Session view, Follow Action on A:
Play again ×3 → Next. On B:First. - Record the Session clips into Arrangement — you get organic 16-bar phrases without drawing.
Sound-design order for a lead
- Get the rhythm cell right at one pitch with a dull sound.
- Add pitches. If it stops grooving, the contour is fighting the cell — widen the range or reduce chaos.
- Only now: unison, filter env, dotted-eighth delay (
¼· / ⅛·times from section 8), reverb pre-delay ≈ one 32nd.
Bassline from the same tool
- Register
C2, range5–7, snap100%, contourPedalorOctave. - Cell:
Off-eighthsfor house,Tresillofor tech-house,Sixteenth rollfor psy/hard. - Export, then use section 6
Thinto leave holes for the kick.