ABC Notation Tutorial - Beginner's Guide to Sheet Music Creation

Basic Syntax

ABC notation is a text-based format for recording music. It uses simple letters and symbols to represent notes, rhythm, key signatures, and other musical information.

Basic Elements

  • Notes: Use letters A through G to represent notes, with numbers 1-8 for octaves.
  • Rhythm: Use "/" for bar lines and numbers for note duration.
  • Key Signature: Use "K:" followed by the key. Example: "K:C" for C major.
  • Time Signature: Use "M:" followed by the time signature. Example: "M:4/4".

Example

X: 1
T: Simple Melody
M: 4/4
L: 1/8
K: C
CDEF | GABC |

This example shows a simple melody in C major, 4/4 time signature, with two bars. Each bar contains four eighth notes.

Common Symbols
  • "|": Bar line
  • "X:": Reference number
  • "T:": Title
  • "M:": Meter
  • "L:": Default note length
  • "K:": Key
  • "R:": Rhythm type
  • "^": Sharp
  • "_": Flat
  • "~": Tie