BeatScript Editor

Public-domain theme library

14 melodies, basses and figures, each composed and first published before 1929 and written from the melody itself, never from a modern arrangement, edition or recording. Each is BeatScript bars in a stated key: paste its let lines into a program, play it with its part, and transpose it with transpose(id, n) or ~ id_* up n. The file is CC0, curated by hand and small on purpose: the melodic twin of the phrasebook. The form templates are built from it.

The library has one CID, the CID of its text: z4EBG9jAimdc2xBfU2nFDASzdbBkH35esv9MxZ6hXbhtfuuJAhH. Its views are the file, /themes.txt, and linked data, /themes.jsonld, each also at /themes/<CID>.txt and /themes/<CID>.jsonld for this CID only.

#Melody

A theme of this role is a tune: the line a person hums.

ThemeFromYearKeyMeterPlay itPairs with
pachelbel_violinJohann Pachelbel, Canon and Gigue in D, the first violin's entry1919d major4/4melody pachelbel_violinpachelbel_ground, ode_to_joy, beethoven_fate
ode_to_joyLudwig van Beethoven, Symphony No. 9 in D minor, Op. 125, fourth movement (the "Ode to Joy" theme)1824d major4/4melody ode_to_joypachelbel_ground, pachelbel_violin, beethoven_fate
beethoven_fateLudwig van Beethoven, Symphony No. 5 in C minor, Op. 67, first movement (the opening motif)1808c minor2/4melody beethoven_fateode_to_joy, pachelbel_violin, mountain_king
mountain_kingEdvard Grieg, Peer Gynt, Op. 23, "In the Hall of the Mountain King"1875b minor4/4melody mountain_kingbeethoven_fate, badinerie, bumblebee
bumblebeeNikolai Rimsky-Korsakov, The Tale of Tsar Saltan, "Flight of the Bumblebee"1900a minor2/4melody bumblebeemountain_king, danse_macabre
badinerieJohann Sebastian Bach, Orchestral Suite No. 2 in B minor, BWV 1067, Badinerie1739b minor2/4melody badineriemountain_king, beethoven_fate
the_entertainerScott Joplin, The Entertainer, a rag time two step, first strain1902c major2/4melody the_entertainerbach_prelude_c
gymnopedie_melodyErik Satie, Trois Gymnopedies, No. 11888d major3/4melody/12 gymnopedie_melodygymnopedie_chords
new_world_largoAntonin Dvorak, Symphony No. 9 in E minor, Op. 95 ("From the New World"), second movement (Largo)1893db major4/4melody new_world_largogymnopedie_melody

pachelbel_violin: 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.

let pachelbel_violin_1 = f#5 ~ ~ ~ e5 ~ ~ ~ d5 ~ ~ ~ c#5 ~ ~ ~
let pachelbel_violin_2 = b4 ~ ~ ~ a4 ~ ~ ~ b4 ~ ~ ~ c#5 ~ ~ ~
let pachelbel_violin = <pachelbel_violin_1 pachelbel_violin_2>

ode_to_joy: 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.

let ode_to_joy_1 = f#4 ~ ~ ~ f#4 ~ ~ ~ g4 ~ ~ ~ a4 ~ ~ ~
let ode_to_joy_2 = a4 ~ ~ ~ g4 ~ ~ ~ f#4 ~ ~ ~ e4 ~ ~ ~
let ode_to_joy_3 = d4 ~ ~ ~ d4 ~ ~ ~ e4 ~ ~ ~ f#4 ~ ~ ~
let ode_to_joy_4 = f#4 ~ ~ ~ ~ ~ e4 ~ e4 ~ ~ ~ ~ ~ ~ ~
let ode_to_joy = <ode_to_joy_1 ode_to_joy_2 ode_to_joy_3 ode_to_joy_4>

beethoven_fate: 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.

let beethoven_fate_1 = ~ ~ g4 ~ g4 ~ g4 ~ eb4 ~ ~ ~ ~ ~ ~ ~
let beethoven_fate_2 = ~ ~ f4 ~ f4 ~ f4 ~ d4 ~ ~ ~ ~ ~ ~ ~
let beethoven_fate = <beethoven_fate_1 beethoven_fate_2>

mountain_king: 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.

let mountain_king_1 = b3 ~ c#4 ~ d4 ~ e4 ~ f#4 ~ d4 ~ f#4 ~ ~ ~
let mountain_king_2 = f4 ~ c#4 ~ f4 ~ ~ ~ e4 ~ c4 ~ e4 ~ ~ ~
let mountain_king_3 = b3 ~ c#4 ~ d4 ~ e4 ~ f#4 ~ d4 ~ f#4 ~ b4 ~
let mountain_king_4 = a4 ~ f#4 ~ d4 ~ f#4 ~ a4 ~ ~ ~ ~ ~ ~ ~
let mountain_king = <mountain_king_1 mountain_king_2 mountain_king_3 mountain_king_4>

bumblebee: The bee's opening chromatic descent, two bars of 2/4 in sixteenths. Composed 1899-1900, first performed 1900.

let bumblebee_1 = e5 d#5 d5 c#5 d5 c#5 c5 b4 c5 b4 bb4 a4 g#4 g4 f#4 f4
let bumblebee = <bumblebee_1>

badinerie: 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.

let badinerie_1 = b4 ~ d5 b4 f#4 ~ b4 f#4 d4 ~ f#4 d4 b3 ~ ~ ~
let badinerie = <badinerie_1>

the_entertainer: 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.

let the_entertainer_1 = e4 c5 ~ e4 c5 ~ e4 c5 ~ ~ ~ ~ c5 d5 d#5 e5
let the_entertainer_2 = c5 d5 e5 ~ b4 d5 ~ c5 ~ ~ ~ ~ ~ ~ d4 d#4
let the_entertainer = <the_entertainer_1 the_entertainer_2>

gymnopedie_melody: The melody's first phrase over the rocking chords, a quarter note each, the last held. Published 1888.

let gymnopedie_melody_1 = ~ ~ ~ ~ f#5 ~ ~ ~ a5 ~ ~ ~
let gymnopedie_melody_2 = g5 ~ ~ ~ f#5 ~ ~ ~ c#5 ~ ~ ~
let gymnopedie_melody_3 = b4 ~ ~ ~ c#5 ~ ~ ~ d5 ~ ~ ~
let gymnopedie_melody_4 = a4 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
let gymnopedie_melody = <gymnopedie_melody_1 gymnopedie_melody_2 gymnopedie_melody_3 gymnopedie_melody_4>

new_world_largo: 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.

let new_world_largo_1 = f4 ~ ~ ~ ~ ~ ab4 ~ ab4 ~ ~ ~ ~ ~ ~ ~
let new_world_largo_2 = f4 ~ ~ ~ ~ ~ eb4 ~ db4 ~ ~ ~ ~ ~ ~ ~
let new_world_largo_3 = eb4 ~ ~ ~ f4 ~ ~ ~ ab4 ~ ~ ~ f4 ~ ~ ~
let new_world_largo_4 = eb4 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
let new_world_largo = <new_world_largo_1 new_world_largo_2 new_world_largo_3 new_world_largo_4>

#Bass

A theme of this role is a bass line, a ground or an ostinato: the line under the others.

ThemeFromYearKeyMeterPlay itPairs with
pachelbel_groundJohann Pachelbel, Canon and Gigue in D, the ground bass1919d major4/4bass pachelbel_groundpachelbel_violin, ode_to_joy, gymnopedie_chords
mars_ostinatoGustav Holst, The Planets, Op. 32, "Mars, the Bringer of War"1914g modal5/4bass/20 mars_ostinatobeethoven_fate, mountain_king

pachelbel_ground: 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).

let pachelbel_ground_1 = d3 ~ ~ ~ a2 ~ ~ ~ b2 ~ ~ ~ f#2 ~ ~ ~
let pachelbel_ground_2 = g2 ~ ~ ~ d2 ~ ~ ~ g2 ~ ~ ~ a2 ~ ~ ~
let pachelbel_ground = <pachelbel_ground_1 pachelbel_ground_2>

mars_ostinato: 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.

let mars_ostinato_1 = g2 g2 g2 ~ g2 ~ g2 ~ g2 ~ ~ ~ g2 ~ ~ ~ g2 ~ g2 ~
let mars_ostinato = <mars_ostinato_1>

#Harmony

A theme of this role is chords, or an interval held: what the other lines are heard against.

ThemeFromYearKeyMeterPlay itPairs with
gymnopedie_chordsErik Satie, Trois Gymnopedies, No. 11888d major3/4harmony/12 gymnopedie_chordsgymnopedie_melody, pachelbel_ground
danse_macabreCamille Saint-Saens, Danse macabre, Op. 401874g minor3/4harmony/12 danse_macabrebumblebee, beethoven_fate

gymnopedie_chords: 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.

let gymnopedie_chords_1 = g2 ~ ~ ~ [b3, d4, f#4] ~ ~ ~ ~ ~ ~ ~
let gymnopedie_chords_2 = d2 ~ ~ ~ [a3, c#4, f#4] ~ ~ ~ ~ ~ ~ ~
let gymnopedie_chords = <gymnopedie_chords_1 gymnopedie_chords_2>

danse_macabre: 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.

let danse_macabre_1 = [a4, eb5] ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
let danse_macabre = <danse_macabre_1>

#Arp

A theme of this role is a chord broken into a figure: the harmony as a moving line.

ThemeFromYearKeyMeterPlay itPairs with
bach_prelude_cJohann Sebastian Bach, The Well-Tempered Clavier, Book I, Prelude No. 1 in C major, BWV 8461722c major4/4arp bach_prelude_cthe_entertainer

bach_prelude_c: 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.

let bach_prelude_c_1 = c4 e4 g4 c5 e5 g4 c5 e5 c4 e4 g4 c5 e5 g4 c5 e5
let bach_prelude_c_2 = c4 d4 a4 d5 f5 a4 d5 f5 c4 d4 a4 d5 f5 a4 d5 f5
let bach_prelude_c_3 = b3 d4 g4 d5 f5 g4 d5 f5 b3 d4 g4 d5 f5 g4 d5 f5
let bach_prelude_c_4 = c4 e4 g4 c5 e5 g4 c5 e5 c4 e4 g4 c5 e5 g4 c5 e5
let bach_prelude_c = <bach_prelude_c_1 bach_prelude_c_2 bach_prelude_c_3 bach_prelude_c_4>

The modes are major (in a major key), minor (in a minor key), modal (neither: a pedal or an ostinato on one note). The linked data is at /themes.jsonld, in the terms of the BeatScript ontology.