Music Theory from Zero

This guide covers what you need to start writing music in Bangerator. It assumes no previous knowledge. Every term is explained the first time it appears, and the ▶ buttons play each example.

The main idea Most music software names notes with letters like C, F♯ or B♭. Bangerator numbers them instead. 1 is the “home” note of your song, and the other numbers count up from it. A melody written in numbers works the same in every key, so you only have to learn it once.

1Notes and pitch

Sound is vibrating air. Fast vibration sounds high and slow vibration sounds low. How high or low a sound is called its pitch.

A note is a sound with a steady, recognizable pitch, like a sung tone or a guitar string. Most drum sounds have no clear pitch, so Bangerator gives drums their own grid.

2The 12 notes

Western music uses 12 notes that repeat over and over, each set higher than the last. On a piano, the 12 notes are the white and black keys together, and the pattern of keys repeats across the keyboard.

The distance from one key to the very next one (white or black) is the smallest step in this system. It’s called a half step (or semitone).

After 12 half steps you reach the same note again, only higher. This distance is an octave. Two notes an octave apart sound so similar that they get the same name. When a man and a woman sing the same melody together, they’re often an octave apart.

3Half steps and whole steps

These two step sizes are the building blocks of scales.

4Scales

Playing all 12 notes freely tends to sound random. A scale is a chosen set of notes, usually 7 of the 12, that sound good together. A scale is defined by the pattern of steps between its notes.

The pattern for the major scale is:

W  W  H  W  W  W  H

You can start the pattern on any of the 12 notes. The result is always a major scale, just higher or lower.

5Scale degrees: why Bangerator uses numbers

The notes of a scale are numbered in order: the first note is 1, the second is 2, up to 7. After 7 the scale starts again at 1, an octave higher. These numbers are called scale degrees.

1 is the tonic, or home note. Melodies tend to feel finished when they end on it and unfinished when they stop anywhere else.

Two settings decide what the numbers sound like:

Because of this, a melody written as numbers sounds like the same tune in any key. 1 1 5 5 6 6 5 is the start of “Twinkle Twinkle Little Star”:

Every row in Bangerator’s grid is a scale degree. When you change the key, the whole song moves with it and nothing needs rewriting.

Try it with the demo The demo song is the main riff of “Meet Her at the Love Parade” (Da Hool, 1997). Its scale is D Mixolydian ♭6. It’s two voices a third apart: the top voice moves around 7 6 5 and the lower one around 5 4 3, all over a single D chord. Play it and step through the scales with the ◀ ▶ buttons. The riff keeps its shape because it’s stored as numbers, but every scale gives it a different mood: Major sounds bright, Minor and Dorian sound dark, Harmonic Minor sounds dramatic.

Why most music software doesn’t do this

Most DAWs (FL Studio, Ableton and so on) store notes as fixed pitches. They can highlight the scale in the piano roll, but when you change the scale your notes stay exactly where they were. Notes that aren’t in the new scale now clash, and you have to find and move each one by hand.

Bangerator can behave that way too, so you can hear the difference. Above the grid, set “When the scale changes, notes…” to keep their pitch (DAW) and change the scale. The riff doesn’t move, the out-of-scale notes get a red dashed outline, and a counter shows how many there are. Snap to scale moves each one to its nearest scale note, which is what DAWs offer, but that rarely sounds as intended. Switch back to follow the scale and a scale change moves every note to the right place for you.

Degrees with their own names

DegreeNameWhat it does
1TonicHome. Sounds stable and resolved.
3MediantDecides whether the scale sounds major or minor (next chapter).
4SubdominantMoves away from home.
5DominantThe second most important note. It pulls strongly back to 1.
7Leading toneOnly a half step below 1, so it pushes strongly upward to it.

6Major and minor

The natural minor scale uses the pattern W H W W H W W. Compared with major, three of its notes are a half step lower: ♭3, ♭6 and ♭7. The symbol ♭ (flat) means “a half step lower than in the major scale”. ♯ (sharp) means “a half step higher”.

Major usually sounds bright or happy, and minor usually sounds darker or sadder. The biggest cause of that difference is the third degree: a 3 sounds major and a ♭3 sounds minor.

In Bangerator, the small grey label next to each row number (for example ♭3) shows how that note compares with the major scale.

7Modes

If you take the notes of a major scale but treat a different note as home, you get a new scale with a different character. These are called modes. Ordered from brightest to darkest:

Each mode differs from its neighbor in the list by only one note. That’s why swapping scales on an existing loop works well: most notes stay the same and one or two change the mood. The ☀ Brighter and ☾ Darker buttons in the sidebar move through this list.

Try it Write a loop in Minor. Press ☀ to switch to Dorian: the 6 goes up a half step and the loop sounds lighter and funkier. Press ☾ twice to reach Phrygian: the 2 goes down a half step and it sounds darker and more tense.

Other scales in Bangerator

ScaleWhat’s differentTypical sound
Harmonic MinorMinor with a raised 7Dramatic, classical
Melodic MinorMinor with raised 6 and 7Smooth, jazzy
Phrygian DominantPhrygian with a major 3Flamenco, Middle Eastern
Whole ToneOnly whole steps (6 notes)Floating, unresolved, dreamlike

8Pentatonic and blues scales

A pentatonic scale has five notes. It leaves out the two notes of the major or minor scale that most easily clash with others, so almost any combination of the remaining notes sounds fine.

Tip If a melody has a note that sounds wrong, try switching to a pentatonic scale. Bangerator moves every note to the nearest pentatonic note, which often removes the clash. Switching back restores your original notes.

9Chords

A chord is several notes played at the same time. The standard way to build one from a scale is to take every other note: start on a degree, skip one, take one, skip one, take one.

Starting on 1 gives 1-3-5. Starting on 2 gives 2-4-6, and so on. A three-note chord built this way is a triad. The note the chord is built on is its root.

Chord types

TypeSoundWritten as
MajorBright, stableC, F, G
MinorDarker, softerAm, Dm
DiminishedTense, unstableB°
AugmentedStrange, unresolvedC+
sus2 / sus4Open, neither major nor minorCsus2, Csus4
7thA triad with one more note stacked on top. Fuller, jazzier.Cmaj7, G7, Am7
Power chordOnly the root and 5th. Neutral, common in rock and EDM.C5
Important You don’t choose whether each chord is major or minor. The scale decides. In the major scale the chords come out as: 1 major, 2 minor, 3 minor, 4 major, 5 major, 6 minor, 7 diminished. When you change scale, the chord types change with it, which is a big part of why the whole song changes mood.

10Roman numerals

Chords are numbered with Roman numerals so they aren’t confused with melody degrees:

1234567
IIIIIIIVVVIVII

The chords of the major scale are I ii iii IV V vi vii°. The chords of natural minor are i ii° ♭III iv v ♭VI ♭VII.

Musicians describe songs this way. “I–V–vi–IV” tells you exactly which chords to play in any key. Bangerator shows the numeral on every chord.

11Home, Away and Tension

Chords tend to play one of three roles. Bangerator colors each chord by its role:

Home Away Tension
RoleChordsEffect
HomeI, and to a lesser degree iii and viStable. The music could stop here.
AwayIV, iiMoves away from home and creates motion.
TensionV, vii°Unstable. Strongly suggests that home comes next.

A very common pattern is Home → Away → Tension → Home.

Cadences

A cadence is a pair of chords that ends a musical phrase, a bit like punctuation ends a sentence.

NameChordsEffect
PerfectV → IA clear, final ending.
PlagalIV → IA softer ending (the “amen” at the end of hymns).
Half… → VPauses on tension, so more music is expected.
DeceptiveV → viExpected to resolve home but goes to vi instead.

The What comes next? panel in Bangerator uses these patterns to suggest the next chord.

12Chord progressions

A chord progression is a sequence of chords. In pop and electronic music it’s often four chords, one per bar, repeated as a loop.

The Famous progressions list in the sidebar adds any of these with one click. They’re stored as numbers, so you can change the scale afterwards and hear the same progression with a different mood.

Worth knowing I–V–vi–IV and vi–IV–I–V use the same four chords, only starting at a different point in the loop. Starting on the minor chord (vi) makes the loop sound sadder. Where a loop starts affects how it feels.

13The circle of fifths

The circle of fifths arranges the 12 keys around a circle. Each step clockwise moves up by a fifth (7 half steps, the distance from degree 1 to degree 5).

The useful part: keys next to each other share 6 of their 7 notes, while keys on opposite sides share very few. Neighboring keys and chords sound good together.

Reading the circle in Bangerator

Relative major and minor

Each major key has a relative minor directly inside it on the circle (C major and A minor, for example). They use exactly the same notes, only with a different home note. That’s why A minor starts on degree 6 of C major.

Key signatures

A key signature is the number of sharps or flats a key uses. C major has none. Each step clockwise adds one sharp (G has 1, D has 2…), and each step counter-clockwise adds one flat (F has 1, B♭ has 2…). The center of the circle shows the count for your key.

Why fifths matter

The chord on 5 pulls strongly back to 1. Many progressions move counter-clockwise around the circle, with each chord acting as the “V” of the next: vi → ii → V → I.

14Rhythm: beats, bars and steps

Swing

Without swing, all steps are exactly equal in length. Swing delays every second step slightly, giving a “long-short, long-short” feel that sounds looser and more human. Around 10–30% works well for hip-hop and house.

15Drum patterns

The drum grid is a step sequencer. Each row is a drum sound and each box is a step. A lit box means that drum plays on that step.

Four on the floor (house, techno, disco)

Boom-bap (hip-hop)

Trap

A starting point The kick marks the main beats, usually including beat 1. The snare or clap usually lands on beats 2 and 4 (or only beat 3 in half-time styles like trap). Hi-hats fill in the steady rhythm between them. Get these three working first, then add other sounds.

Accents: Shift+click (or right-click) a step to make it louder. Mixing loud and quiet hi-hats makes a pattern sound less mechanical.

16Basslines

The bass connects the drums and the chords. A simple bassline that almost always works is to play each chord’s root, low, following the rhythm of the kick drum.

In Bangerator, the rows tinted in a chord’s color are the notes of that chord. The most strongly tinted row is the root, which is the safest bass note.

17Writing melodies

  1. Use chord notes on strong beats. The tinted rows are the notes of the current chord. Placing those on beats 1 and 3 makes the melody fit the harmony.
  2. Mostly move by step. Moving to a neighboring degree (3 → 4) sounds smooth. Larger jumps (1 → 6) add energy. After a big jump, stepping back the other way usually sounds natural.
  3. Repeat with variation. Repeat a phrase, then change its ending. Repetition makes a melody memorable.
  4. Leave space. Rests (silence) are part of a melody.
  5. Choose your ending. Ending on 1, 3 or 5 sounds finished. Ending on 2 or 7 sounds like it’s waiting for an answer.

If you have a melody but no chords, press ✨ Chords for my melody and Bangerator will pick chords that contain your melody notes.

Notes outside the scale

Now and then a note outside the scale adds useful color. Shift+click a note in Bangerator to raise it (♯) or lower it (♭) by a half step. These notes are most effective when used sparingly.

18Sound design: waves and envelopes

The four basic waveforms

A synthesizer starts from a simple repeating wave. The shape of the wave determines its basic tone:

WaveSoundCommon uses
SinePure and round, no edgeSub bass, 808s, soft tones
TriangleSoft, slightly brighter than sineGentle leads, plucks
SquareHollow, like old video game musicChiptune, leads, basses
SawBright and buzzyLeads, pads, basses in most electronic music

Smooth waves like the sine contain only one frequency. Waves with sharp corners, like square and saw, also contain many higher frequencies called harmonics, which make them sound brighter.

The envelope (ADSR)

An envelope controls how a note’s volume changes over time, from the moment it starts until it fades out.

LetterNameWhat it controls
AAttackHow quickly the note reaches full volume. Short is punchy (drums, plucks); long fades in gradually (pads, strings).
DDecayHow quickly the volume drops after the initial peak.
SSustainThe volume held while the note continues. At 0% the note fades out even if it’s held (like a piano or pluck).
RReleaseHow long the note takes to fade out after it ends.

The filter

A low-pass filter removes high frequencies. Lowering the cutoff makes the sound darker and more muffled. Resonance boosts the frequencies right at the cutoff, adding a sharper, whistling edge. Filter pluck opens the filter at the start of each note and then closes it, a very common sound for synth basses.

Pitch drop

If a note starts at a higher pitch and quickly slides down, a sine wave becomes the deep “boom” of an 808 bass. Bangerator’s “808 Sub” instrument works this way.

19MIDI

MIDI is a format for musical instructions, not sound. A MIDI file records which notes to play, when, for how long and how hard. Any instrument or software that understands MIDI can play it back with its own sounds.

MIDI numbers notes from 0 to 127. Middle C is 60, each half step adds 1, and each octave adds 12.

20Quick reference

For a sound that’s…Try
Happy, upliftingMajor or Lydian. I–V–vi–IV.
Sad, emotionalMinor. vi–IV–I–V in major, or i–VI–III–VII in minor.
Dark, aggressivePhrygian or Harmonic Minor. i–♭II.
Relaxed, lo-fiDorian, 7th chords, 70–90 BPM, some swing.
FunkyDorian or Mixolydian, with off-beat chord stabs.
DreamyLydian or Whole Tone, slow pads, sus2 chords.
Middle Eastern or SpanishPhrygian Dominant or Double Harmonic.
Safe for beginnersAny pentatonic scale.

Glossary

DegreeA note’s position in the scale, numbered 1–7.
KeyWhich note is degree 1 (home).
ScaleThe set of notes a song uses.
IntervalThe distance between two notes.
TriadA 3-note chord built by taking every other scale degree.
RootThe note a chord is built on.
InversionThe same chord with a different note at the bottom. Bangerator’s “smooth” option picks inversions so that chords move as little as possible.
ArpeggioA chord played one note at a time instead of all together.
ResolutionMoving from tension to stability, for example V → I.
ModeA scale made by starting another scale from a different note.