# BeatScript public-domain theme library v1: melodies, basses and figures of music first published before 1929, as BeatScript bars. # This file is CC0 1.0 Universal. Every melody in it is in the public domain, composed and first published before 1929, and each bar is # written from the melody itself (the notes the composer wrote, read as a person hums them), never from a modern arrangement, edition, # transcription or recording. Curated by hand, not scraped; small on purpose. The melodic twin of phrasebook-pd.txt. Docs: docs/beatscript/forms.md. # id | role | key | mode | meter | steps | bars | work | composer | year | pairs | note # id what a program names: `let` names are the id (`ode_to_joy`, an alternation of its bars) and its bars (`ode_to_joy_1` ...) # role one of: melody, bass, harmony, arp (the part it is written for) # key the key the bars are written in (a BeatScript key word: `d`, `b`, `db`); transpose with `transpose(id, n)` or `~ id_* up n` # mode one of: major, minor, modal (a pedal or an ostinato that is neither) # meter the time signature as written (`4/4`, `2/4`, `3/4`, `5/4`); steps: the sixteenths a bar of the pattern takes on the grid # (16 for 4/4 and for two bars of 2/4, 12 for 3/4, 20 for 5/4): a part plays it as `melody`, `melody/12`, `bass/20` # bars the bars, ` ; ` apart, each one bar of `steps` terms: notes (`f#4`), chords (`[b3, d4, f#4]`) and rests (`~`); a bar is let-ready # year the year it was composed, or first published where that is the earlier date known (all before 1929); the note says which # pairs themes that share its key or its harmony and morph well with it (`~ a_* morph b_1 0.25`), comma apart version 1 pachelbel_ground | bass | d | major | 4/4 | 16 | d3 ~ ~ ~ a2 ~ ~ ~ b2 ~ ~ ~ f#2 ~ ~ ~ ; g2 ~ ~ ~ d2 ~ ~ ~ g2 ~ ~ ~ a2 ~ ~ ~ | Canon and Gigue in D, the ground bass | Johann Pachelbel | 1919 | pachelbel_violin, ode_to_joy, gymnopedie_chords | The eight-note ground the canon is built over, a quarter note each. Composed about 1680-1706; the date is its first printing (ed. Gustav Beckmann, 1919). pachelbel_violin | melody | d | major | 4/4 | 16 | f#5 ~ ~ ~ e5 ~ ~ ~ d5 ~ ~ ~ c#5 ~ ~ ~ ; b4 ~ ~ ~ a4 ~ ~ ~ b4 ~ ~ ~ c#5 ~ ~ ~ | Canon and Gigue in D, the first violin's entry | Johann Pachelbel | 1919 | pachelbel_ground, ode_to_joy, beethoven_fate | The first violin's opening line, a quarter note over each note of the ground; the second and third violins play it two and four bars later. Composed about 1680-1706, first printed 1919. ode_to_joy | melody | d | major | 4/4 | 16 | f#4 ~ ~ ~ f#4 ~ ~ ~ g4 ~ ~ ~ a4 ~ ~ ~ ; a4 ~ ~ ~ g4 ~ ~ ~ f#4 ~ ~ ~ e4 ~ ~ ~ ; d4 ~ ~ ~ d4 ~ ~ ~ e4 ~ ~ ~ f#4 ~ ~ ~ ; f#4 ~ ~ ~ ~ ~ e4 ~ e4 ~ ~ ~ ~ ~ ~ ~ | Symphony No. 9 in D minor, Op. 125, fourth movement (the "Ode to Joy" theme) | Ludwig van Beethoven | 1824 | pachelbel_ground, pachelbel_violin, beethoven_fate | The theme's first phrase, in the key the symphony first states it (D major), the fourth bar's dotted quarter and eighth as written. First performed 1824, published 1826. beethoven_fate | melody | c | minor | 2/4 | 16 | ~ ~ g4 ~ g4 ~ g4 ~ eb4 ~ ~ ~ ~ ~ ~ ~ ; ~ ~ f4 ~ f4 ~ f4 ~ d4 ~ ~ ~ ~ ~ ~ ~ | Symphony No. 5 in C minor, Op. 67, first movement (the opening motif) | Ludwig van Beethoven | 1808 | ode_to_joy, pachelbel_violin, mountain_king | The four-note motif twice: an eighth rest, three eighths, a long note (the fermatas held to the end of the 16 steps). Two bars of 2/4 a pattern. In B minor (`transpose(beethoven_fate, -1)`) it sits in D major's relative minor. First performed 1808, published 1809. mountain_king | melody | b | minor | 4/4 | 16 | b3 ~ c#4 ~ d4 ~ e4 ~ f#4 ~ d4 ~ f#4 ~ ~ ~ ; f4 ~ c#4 ~ f4 ~ ~ ~ e4 ~ c4 ~ e4 ~ ~ ~ ; b3 ~ c#4 ~ d4 ~ e4 ~ f#4 ~ d4 ~ f#4 ~ b4 ~ ; a4 ~ f#4 ~ d4 ~ f#4 ~ a4 ~ ~ ~ ~ ~ ~ ~ | Peer Gynt, Op. 23, "In the Hall of the Mountain King" | Edvard Grieg | 1875 | beethoven_fate, badinerie, bumblebee | The march theme's first four bars in eighths, an octave above the bassoons that first play it; f4 is the score's E sharp. Composed 1875, first performed 1876. bumblebee | melody | a | minor | 2/4 | 16 | e5 d#5 d5 c#5 d5 c#5 c5 b4 c5 b4 bb4 a4 g#4 g4 f#4 f4 | The Tale of Tsar Saltan, "Flight of the Bumblebee" | Nikolai Rimsky-Korsakov | 1900 | mountain_king, danse_macabre | The bee's opening chromatic descent, two bars of 2/4 in sixteenths. Composed 1899-1900, first performed 1900. bach_prelude_c | arp | c | major | 4/4 | 16 | c4 e4 g4 c5 e5 g4 c5 e5 c4 e4 g4 c5 e5 g4 c5 e5 ; c4 d4 a4 d5 f5 a4 d5 f5 c4 d4 a4 d5 f5 a4 d5 f5 ; b3 d4 g4 d5 f5 g4 d5 f5 b3 d4 g4 d5 f5 g4 d5 f5 ; c4 e4 g4 c5 e5 g4 c5 e5 c4 e4 g4 c5 e5 g4 c5 e5 | The Well-Tempered Clavier, Book I, Prelude No. 1 in C major, BWV 846 | Johann Sebastian Bach | 1722 | the_entertainer | The first four bars as one hand plays them: each bar's chord broken in the same figure, twice. Book I is dated 1722 in Bach's fair copy. badinerie | melody | b | minor | 2/4 | 16 | b4 ~ d5 b4 f#4 ~ b4 f#4 d4 ~ f#4 d4 b3 ~ ~ ~ | Orchestral Suite No. 2 in B minor, BWV 1067, Badinerie | Johann Sebastian Bach | 1739 | mountain_king, beethoven_fate | The opening figure, an eighth and two sixteenths falling down the B minor chord, two bars of 2/4 an octave under the flute. Composed about 1738-39. the_entertainer | melody | c | major | 2/4 | 16 | e4 c5 ~ e4 c5 ~ e4 c5 ~ ~ ~ ~ c5 d5 d#5 e5 ; c5 d5 e5 ~ b4 d5 ~ c5 ~ ~ ~ ~ ~ ~ d4 d#4 | The Entertainer, a rag time two step, first strain | Scott Joplin | 1902 | bach_prelude_c | The first strain's opening, two bars of 2/4 a pattern; the pickup (d4 d#4) ends the second bar, so the pattern loops into its own start. Published 1902. gymnopedie_chords | harmony | d | major | 3/4 | 12 | g2 ~ ~ ~ [b3, d4, f#4] ~ ~ ~ ~ ~ ~ ~ ; d2 ~ ~ ~ [a3, c#4, f#4] ~ ~ ~ ~ ~ ~ ~ | Trois Gymnopedies, No. 1 | Erik Satie | 1888 | gymnopedie_melody, pachelbel_ground | The left hand the piece rocks on: a low note, then the chord held through the bar (G major seventh, then D major seventh). Published 1888. gymnopedie_melody | melody | d | major | 3/4 | 12 | ~ ~ ~ ~ f#5 ~ ~ ~ a5 ~ ~ ~ ; g5 ~ ~ ~ f#5 ~ ~ ~ c#5 ~ ~ ~ ; b4 ~ ~ ~ c#5 ~ ~ ~ d5 ~ ~ ~ ; a4 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | Trois Gymnopedies, No. 1 | Erik Satie | 1888 | gymnopedie_chords | The melody's first phrase over the rocking chords, a quarter note each, the last held. Published 1888. mars_ostinato | bass | g | modal | 5/4 | 20 | g2 g2 g2 ~ g2 ~ g2 ~ g2 ~ ~ ~ g2 ~ ~ ~ g2 ~ g2 ~ | The Planets, Op. 32, "Mars, the Bringer of War" | Gustav Holst | 1914 | beethoven_fate, mountain_king | The five-beat ostinato on G: a triplet, two eighths, two quarters, two eighths. The grid has no triplet in a 5/4 bar, so the triplet is three sixteenths and a rest here. Composed 1914, the suite published 1921. new_world_largo | melody | db | major | 4/4 | 16 | f4 ~ ~ ~ ~ ~ ab4 ~ ab4 ~ ~ ~ ~ ~ ~ ~ ; f4 ~ ~ ~ ~ ~ eb4 ~ db4 ~ ~ ~ ~ ~ ~ ~ ; eb4 ~ ~ ~ f4 ~ ~ ~ ab4 ~ ~ ~ f4 ~ ~ ~ ; eb4 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | Symphony No. 9 in E minor, Op. 95 ("From the New World"), second movement (Largo) | Antonin Dvorak | 1893 | gymnopedie_melody | The English horn's first phrase, scale degrees 3 5 5, 3 2 1, 2 3 5 3, 2; the third bar is written in even quarters. First performed 1893, published 1894. danse_macabre | harmony | g | minor | 3/4 | 12 | [a4, eb5] ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | Danse macabre, Op. 40 | Camille Saint-Saens | 1874 | bumblebee, beethoven_fate | Death's fiddle: the solo violin's A and E-flat (its top string tuned down a semitone), the tritone it plays at midnight, sounded once a bar. The interval only: the solo's own rhythm is not written here. Composed 1874.