Skip to main content
CipherChronicle

Cipher methods Code

Music notes cipher

Encoding by musical notation: each letter becomes a note (A through G) on a specific octave. The ciphertext reads as a short score, decodable by any musician as a hidden message.

Family :
Code
Difficulty :
Beginner
Era :
Renaissance, formalised in the 19th century (Friedrich Kluge)

Also known as : musical cryptogram · note cipher · sheet-music cipher

Musical-note encoding is a family of codes that turn Latin letters into musical notes on a staff. The result looks like a short score that can be:

  • Played on an instrument like a melody (often dissonant but valid).
  • Printed in a book without drawing attention (decorative notes, sight-reading exercises).
  • Sight-read by any musician with the table — without ever looking like a ciphered message.

It is one of the oldest documented forms of musical steganography, first formalised in the 19th century by the German philologist Friedrich Kluge, but used informally as early as the Renaissance.

Principle

Classic mapping (alphabetic rank × octaves)

With 7 notes (A, B, C, D, E, F, G) and 4 octaves (1 to 4), you get 28 possible slots — enough for the 26 letters of the Latin alphabet (the last two slots stay empty or act as markers).

A1 = A    B1 = E    C1 = I    D1 = M    E1 = Q    F1 = U    G1 = Y
A2 = B    B2 = F    C2 = J    D2 = N    E2 = R    F2 = V    G2 = Z
A3 = C    B3 = G    C3 = K    D3 = O    E3 = S    F3 = W
A4 = D    B4 = H    C4 = L    D4 = P    E4 = T    F4 = X

Each letter becomes a unique (note + octave). The ciphertext is written on a standard 5-line staff.

Rank-only variant (no octave)

A simplified version uses only the 7 notes without an octave and wraps the alphabet around: A=A, B=B, …, G=G, H=A (second pass), I=B, … and so on. Ambiguous, but readable if the plaintext length is known.

Famous musical cryptograms

Musical encryption has a long tradition in classical music:

B.A.C.H.

Johann Sebastian Bach signed several of his works using the B-A-C-H motif (in German notation, B = B♭, A = A, C = C, H = B♮). This four-note sequence appears verbatim in:

  • The Art of Fugue (BWV 1080), at several pivotal moments.
  • Chromatic Fantasy (BWV 903).
  • Several cantatas and fugues.

Bach is not alone: Schumann, Liszt, Brahms, Schoenberg, Webern, Berg, Stravinsky have all written works incorporating the B-A-C-H motif as an encrypted homage.

D-S-C-H (Shostakovich)

Dmitri Shostakovich signed musically with D-E♭-C-B (in German notation: D = D, Es = E♭, C = C, H = B). This signature appears:

  • In the 8th Symphony (1943).
  • In the 8th String Quartet (1960), dedicated “to the victims of fascism and war”.
  • In the Preludes and Fugues op. 87.

Edward Elgar’s Sphinx

Elgar’s Cello Concerto holds an unresolved central theme he called his Enigma. Edward Elgar also authored the Dorabella cipher (1897), an unsolved ciphertext addressed to Dora Penny — sharing with the concerto a deliberate air of mystery.

As a cryptographic device

Strengths

  • Natural steganography: a message encrypted as music doesn’t look like ciphertext — it looks like music.
  • Multimodal readability: can be played (audio), printed (visual), typed on a computer (MIDI).
  • Identifiable authorship: a composer can leave a musical signature inside a work, creating an encrypted ownership mark.

Weaknesses

  • Plain monoalphabetic substitution: falls to frequency analysis as soon as the plaintext exceeds ~50 characters.
  • Instrument dependency: the resulting “music” is often dissonant or non-melodic (random note sequences rarely produce good melodies), which may alert an attentive listener.
  • Limited to 26 + punctuation: for messages with accents, spaces, digits, the table must be extended.

Documented variants

  • Syllabic solfège — each letter becomes a syllable (do-re-mi-fa-sol-la-ti) instead of an A–G note.
  • Cliché notation (Trithemius’s Steganographia, 1499) — uses pre-existing melodies as cover, with “modified” notes encoding the hidden message.
  • Musical Vigenère — each note is shifted by a musical interval (third, fifth) according to a key, like Vigenère on the chromatic scale.