{"slug": "herzliebster-jesu", "name": "HERZLIEBSTER JESU", "meter_label": "11.11.11.5", "meter": {"pattern": [11, 11, 11, 5], "doubled": false, "refrain": false, "alleluia": false, "irregular": false}, "composer": "johann-cruger", "composer_date": "1640", "canonical_key": {"tonic": "g", "mode": "minor"}, "preferred_harmonization": "herzliebster-jesu-cyberhymnal", "provenance": {"layer": "tune", "source": "cyberhymnal", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "HERZLIEBSTER JESU, the Passion chorale by Johann Cr\u00fcger, first published in Newes vollk\u00f6mliches Gesangbuch Augsburgischer Confession (Berlin, 1640) for Johann Heermann's \"Herzliebster Jesu\"; Bach built part of his St. Matthew Passion on it. A public-domain four-part setting encoded from The Cyber Hymnal SATB MIDI via tools/mid2ly.py and verified note-for-note against the Cyber Hymnal engraving (G minor, 4/4; fully syllabic 11.11.11.5, 38 soprano notes for 38 syllables; the tenor's raised leading tone F-sharp is printed at the phrase-two and final cadences, with a courtesy natural where the bass returns to F). All components pre-1931.", "pd_jurisdictions": {"US": true}, "encoding_origin": "The Cyber Hymnal, \"Herzliebster Jesu\" (Johann Cr\u00fcger, 1640); SATB MIDI + engraving, converted with tools/mid2ly.py", "encoding_license": "PD-dedication"}, "harmonization": {"slug": "herzliebster-jesu-cyberhymnal", "tune": "herzliebster-jesu", "music_file": "herzliebster-jesu-cyberhymnal.ly", "harmonizer": null, "arrangement_type": "harmonization", "canonical_key": {"tonic": "g", "mode": "minor"}, "time": "4/4", "pickup": null, "system_breaks": [11, 22, 33], "final_barline": "|.", "amen": false, "verse_variable_melisma": false, "refrain": null, "source_line": "HERZLIEBSTER JESU, Johann Cr\u00fcger, 1640. Public domain.", "provenance": {"layer": "harmonization", "source": "cyberhymnal", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Tune HERZLIEBSTER JESU (Johann Cr\u00fcger, Berlin 1640); a public-domain four-part setting encoded from The Cyber Hymnal SATB MIDI via tools/mid2ly.py and verified note-for-note against the Cyber Hymnal engraving (G minor, 4/4). All components pre-1931.", "pd_jurisdictions": {"US": true}, "encoding_origin": "The Cyber Hymnal, \"Herzliebster Jesu\" (Johann Cr\u00fcger, 1640); SATB MIDI + engraving, converted with tools/mid2ly.py", "encoding_license": "PD-dedication"}, "music_ly": "%% HERZLIEBSTER JESU (11.11.11.5) \u2014 four SATB voice streams, canonical key G minor.\n%% Corpus harmonization source for the HymnBookGenerator close-score engine.\n%% RULES (CI-enforced): exactly the variables soprano/alto/tenor/bass/global;\n%% absolute octaves; each voice rhythmically complete; NO chords <>, NO <<>>,\n%% NO \\secondShift/\\unisonWholeShift/tightSpacing, NO \\break, NO \\bar, NO lyrics.\n%%\n%% Encoded from The Cyber Hymnal SATB MIDI (\"Herzliebster Jesu\", Johann Cr\u00fcger,\n%% Berlin 1640) with tools/mid2ly.py and verified note-for-note against the Cyber\n%% Hymnal engraving. Fully syllabic 11.11.11.5 (38 soprano notes = 38 syllables);\n%% the four phrases cadence on soprano notes 11, 22, 33 and the final half note.\n%% The tenor F-sharps (bars 4-5 and the final bar) are the raised leading tone\n%% printed in the source; the bass F-natural in bar 5 carries the courtesy natural.\n\\version \"2.24.0\"\n\nglobal  = { \\key g \\minor \\time 4/4 }\n\nsoprano = {\n  g'2 g'4 g'4 | f'2 d'2 | g'4 a'4 bes'4 bes'4 | c''2 a'2 | a'2 bes'4 c''4 | d''2 bes'2 | es''4 es''4 d''4 d''4 | c''2 bes'2 | bes'2 a'4 g'4 | f'2 d'2 | f'4 f'4 g'4 f'4 | es'2 d'2 | d''2 c''4 bes'4 | a'2 g'2\n}\nalto = {\n  d'2 es'4 es'4 | c'2 d'2 | d'4 d'4 g'4 f'4 | es'2 d'2 | d'2 d'4 f'4 | f'2 g'2 | g'4 g'4 f'4 f'4 | f'2 d'2 | g'2 f'4 es'4 | d'2 bes2 | d'4 c'4 d'4 d'4 | c'2 bes2 | d'2 es'4 d'4 | d'4. c'8 bes2\n}\ntenor = {\n  bes2 bes4 c'4 | a2 f2 | bes4 a4 g4 bes4 | g2 fis2 | fis2 g4 a4 | bes2 g2 | c'4 g8 a8 bes4 bes4 | bes4 a4 bes2 | d'2 d'4 bes4 | bes2 f2 | f4 a4 bes4 bes4 | g2 g2 | f4 bes4 g4 g4 | g4 fis4 g2\n}\nbass = {\n  g2 es4 c4 | f2 bes,2 | g4 f4 es4 d4 | c2 d2 | d2 g4 f4 | bes,2 es2 | c4 c4 d4. es8 | f2 bes,2 | g,2 d4 es4 | bes,2 bes,2 | bes,4 a,4 g,4 bes,4 | c2 g,2 | bes,2 c4 g,4 | d2 g,2\n}\n"}, "harmonizations": [{"slug": "herzliebster-jesu-bwv2443", "tune": "herzliebster-jesu", "music_file": "herzliebster-jesu-bwv2443.ly", "harmonizer": "johann-sebastian-bach", "arrangement_type": "harmonization", "canonical_key": {"tonic": "g", "mode": "minor"}, "time": "4/4", "pickup": "4", "system_breaks": [13, 26, 38], "final_barline": "|.", "amen": false, "verse_variable_melisma": true, "refrain": null, "source_line": "HERZLIEBSTER JESU, Johann Cr\u00fcger, 1640; harm. J. S. Bach (BWV 244/3, St Matthew Passion). Public domain.", "provenance": {"layer": "harmonization", "source": "bach-chorales-1784", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Tune HERZLIEBSTER JESU (Johann Cr\u00fcger, Berlin 1640); four-part harmonization by Johann Sebastian Bach (1685-1750), BWV 244/3 \u2014 the opening chorale of the St Matthew Passion (1727), \"Herzliebster Jesu, was hast du verbrochen\" \u2014 No. 78 in the Breitkopf collection 371 vierstimmige Choralgesaenge (1784-87) and in Riemenschneider's numbering. US public domain by pre-1931 publication. Encoded from the craigsapp/bach-370-chorales kern edition (imports/batchC/chor078.krn, referenced against the c. 1875 Doerffel/Breitkopf 4th edition) via tools/kern2ly.py; the conversion was verified note-for-note against the kern source in all four voices (the editorial naturals in bars 4 and 8, the tenor sixteenths in bar 9). Bach's key is B minor (the kern's *k[f#c#] signature with *b:); the corpus file is written a major third down in G minor, the tune's corpus canonical key (every note machine-verified -4 semitones from the kern with diatonic spelling; the kern's B minor stands unaltered in imports/batchC/). 4/4, quarter pickup, through-composed (no sectional repeat); fermatas at the four phrase ends (soprano ordinals 13, 26, 38, 43) are omitted per house style. Machine comparison against the independently engraved music21 corpus edition (imports/batchC/bwv244.3.mxl, full German underlay): alto and bass pitch-identical event-for-event; the soprano differs only in bar 10, where the mxl writes an anticipation (d''8 cis''8 cis''2) for the kern's quarter plus half; the tenor differs at one note, the bar-6 fermata chord (mxl a, kern d') \u2014 the kern reading (the declared source) is kept. Tune identity against the corpus Crueger setting (herzliebster-jesu-cyberhymnal, G minor): at a fixed -4 semitone offset 37 of 38 corpus soprano notes align (1 substitution in phrase 1 plus 5 Bach passing/anticipation notes; 0 corpus-only notes) \u2014 the same tune in Bach's filled-in melodic form. The melisma slurs follow Bach's own underlay as read from the mxl witness's lyric spine: its 38 German syllables leave melisma continuations at soprano notes 5, 12, 18, 23 and 32 of the kern's 43-note reading.", "pd_jurisdictions": {"US": true}, "encoding_origin": "craigsapp/bach-370-chorales kern edition, chor078.krn (BWV 244/3, Breitkopf/Riemenschneider No. 78), converted with tools/kern2ly.py; underlay from the music21 corpus bwv244.3.mxl lyric spine", "encoding_license": "CC BY-NC-SA 4.0 is claimed on the kern edition, which is itself a faithful transcription of the public-domain 1784-87 Breitkopf text. The corpus record does not rest on that edition: the music is by Bach (d. 1750) and this .ly is a fresh re-encoding via tools/kern2ly.py, with the kern file vendored alongside so the conversion can be re-checked. Same analysis for every Bach kern import in the corpus."}, "music_ly": "%% HERZLIEBSTER JESU (11.11.11.5) \u2014 four SATB voice streams, canonical key G minor.\n%% Corpus harmonization source for the HymnBookGenerator close-score engine.\n%% RULES (CI-enforced): exactly the variables soprano/alto/tenor/bass/global;\n%% absolute octaves; each voice rhythmically complete; NO chords <>, NO <<>>,\n%% NO \\secondShift/\\unisonWholeShift/tightSpacing, NO \\break, NO \\bar, NO lyrics.\n%%\n%% J. S. Bach's harmonization BWV 244/3 (Breitkopf/Riemenschneider No. 78) \u2014\n%% the opening chorale of the St Matthew Passion, \"Herzliebster Jesu, was hast\n%% du verbrochen\" \u2014 converted from the craigsapp/bach-370-chorales kern edition\n%% (imports/batchC/chor078.krn) with tools/kern2ly.py and verified note-for-note\n%% against the kern source in all four voices (the editorial naturals in bars\n%% 4 and 8, the tenor sixteenths in bar 9). Bach's key is B minor (the kern's\n%% *k[f#c#] signature with *b:); written here a major third down in G minor,\n%% the tune's corpus canonical key (every note verified -4 semitones from the\n%% kern, diatonic spelling), so both harmonizations of HERZLIEBSTER JESU share\n%% one canonical key as the duplicated-fact invariant requires. 4/4, quarter\n%% pickup, through-composed (no sectional repeat, no ties).\n%% The source prints fermatas at soprano ordinals 13, 26, 38, 43\n%% (phrases 13+13+12+5 notes, one per text line of 11.11.11.5); fermatas are\n%% omitted per house style. Machine comparison against the independently\n%% engraved music21 corpus edition (imports/batchC/bwv244.3.mxl): alto and\n%% bass pitch-identical event-for-event; the soprano differs only in bar 10,\n%% where the mxl writes an anticipation (d''8 cis''8 cis''2) for the kern's\n%% dd4 cc#2; the tenor differs at one note, the bar-6 fermata chord (mxl a,\n%% kern d') \u2014 the kern reading (the declared source) is kept. MELISMATIC:\n%% 43 soprano notes for 38 syllables; the melisma map follows Bach's own\n%% German underlay in the texted mxl witness: two-note slurs at soprano notes\n%% 4-5 (Je-su), 11-12 (bro-chen), 17-18 (solch), 22-23 (hat), 31-32\n%% (Schuld, in -> \"Schul-din\"). The setting holds the continuations with '_'\n%% at soprano notes 5, 12, 18, 23, 32 every stanza.\n\\version \"2.24.0\"\n\nglobal  = { \\key g \\minor \\time 4/4 \\partial 4 }\n\nsoprano = {\n  g'4 |\n  g'4 g'4 fis'8( e'8) d'4 |\n  g'4 a'4 bes'4 bes'4 |\n  c''4( bes'4) a'4 a'4 |\n  bes'4 c''4 d''8( c''8) bes'4 |\n  ees''4 ees''4 d''8( c''8) d''4 |\n  c''2 bes'4 bes'4 |\n  a'4 g'4 f'4 d'8( ees'8) |\n  f'4 f'4 g'4 f'4 |\n  ees'2 d'4 d''4 |\n  c''4 bes'4 a'2 |\n  g'2.\n}\n\nalto = {\n  d'4 |\n  ees'4 bes8 c'8 d'4 a4 |\n  d'4 d'4 d'4 d'4 |\n  d'2 d'4 d'4 |\n  d'4 f'4 f'4 g'8 f'8 |\n  ees'4 f'4 f'4 bes'8 a'8 |\n  g'4 f'8 ees'8 d'4 d'4 |\n  c'4 bes4 c'4 bes8 c'8 |\n  d'4 d'4 ees'4 d'4 |\n  d'8 b8 c'4 c'4 bes4 |\n  ees'4 d'4 d'4. c'8 |\n  b2.\n}\n\ntenor = {\n  bes4 |\n  c'4 g4 a8 g8 fis4 |\n  g4 fis4 g8 a8 bes4 |\n  a4 g4 fis4 fis4 |\n  g4 a4 bes8 a8 g8 a8 |\n  bes4 c'4 c'4 bes4 |\n  bes4 a4 bes4 g8 f8 |\n  ees4 ees8 d8 c8 f8 f4 |\n  bes4 bes4 bes4 aes4 |\n  g4. fis16 g16 a4 g4 |\n  g8 fis8 g4 g4 fis4 |\n  d2.\n}\n\nbass = {\n  g4 |\n  c8 d8 ees4 d4 d8 c8 |\n  bes,4 d4 g,4 g4 |\n  fis4 g4 d4 d4 |\n  g4 f4 bes,4 ees8 f8 |\n  g4 a4 bes8 a8 g8 f8 |\n  ees4 f4 bes,4 g,4 |\n  c8 d8 ees4 a,4 bes,4 |\n  bes8 aes8 g8 f8 ees8 d8 c8 b,8 |\n  c2 fis,4 g,4 |\n  a,4 bes,8 c8 d4 d,4 |\n  g,2.\n}\n", "preferred": false}, {"slug": "herzliebster-jesu-cyberhymnal", "tune": "herzliebster-jesu", "music_file": "herzliebster-jesu-cyberhymnal.ly", "harmonizer": null, "arrangement_type": "harmonization", "canonical_key": {"tonic": "g", "mode": "minor"}, "time": "4/4", "pickup": null, "system_breaks": [11, 22, 33], "final_barline": "|.", "amen": false, "verse_variable_melisma": false, "refrain": null, "source_line": "HERZLIEBSTER JESU, Johann Cr\u00fcger, 1640. Public domain.", "provenance": {"layer": "harmonization", "source": "cyberhymnal", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Tune HERZLIEBSTER JESU (Johann Cr\u00fcger, Berlin 1640); a public-domain four-part setting encoded from The Cyber Hymnal SATB MIDI via tools/mid2ly.py and verified note-for-note against the Cyber Hymnal engraving (G minor, 4/4). All components pre-1931.", "pd_jurisdictions": {"US": true}, "encoding_origin": "The Cyber Hymnal, \"Herzliebster Jesu\" (Johann Cr\u00fcger, 1640); SATB MIDI + engraving, converted with tools/mid2ly.py", "encoding_license": "PD-dedication"}, "music_ly": "%% HERZLIEBSTER JESU (11.11.11.5) \u2014 four SATB voice streams, canonical key G minor.\n%% Corpus harmonization source for the HymnBookGenerator close-score engine.\n%% RULES (CI-enforced): exactly the variables soprano/alto/tenor/bass/global;\n%% absolute octaves; each voice rhythmically complete; NO chords <>, NO <<>>,\n%% NO \\secondShift/\\unisonWholeShift/tightSpacing, NO \\break, NO \\bar, NO lyrics.\n%%\n%% Encoded from The Cyber Hymnal SATB MIDI (\"Herzliebster Jesu\", Johann Cr\u00fcger,\n%% Berlin 1640) with tools/mid2ly.py and verified note-for-note against the Cyber\n%% Hymnal engraving. Fully syllabic 11.11.11.5 (38 soprano notes = 38 syllables);\n%% the four phrases cadence on soprano notes 11, 22, 33 and the final half note.\n%% The tenor F-sharps (bars 4-5 and the final bar) are the raised leading tone\n%% printed in the source; the bass F-natural in bar 5 carries the courtesy natural.\n\\version \"2.24.0\"\n\nglobal  = { \\key g \\minor \\time 4/4 }\n\nsoprano = {\n  g'2 g'4 g'4 | f'2 d'2 | g'4 a'4 bes'4 bes'4 | c''2 a'2 | a'2 bes'4 c''4 | d''2 bes'2 | es''4 es''4 d''4 d''4 | c''2 bes'2 | bes'2 a'4 g'4 | f'2 d'2 | f'4 f'4 g'4 f'4 | es'2 d'2 | d''2 c''4 bes'4 | a'2 g'2\n}\nalto = {\n  d'2 es'4 es'4 | c'2 d'2 | d'4 d'4 g'4 f'4 | es'2 d'2 | d'2 d'4 f'4 | f'2 g'2 | g'4 g'4 f'4 f'4 | f'2 d'2 | g'2 f'4 es'4 | d'2 bes2 | d'4 c'4 d'4 d'4 | c'2 bes2 | d'2 es'4 d'4 | d'4. c'8 bes2\n}\ntenor = {\n  bes2 bes4 c'4 | a2 f2 | bes4 a4 g4 bes4 | g2 fis2 | fis2 g4 a4 | bes2 g2 | c'4 g8 a8 bes4 bes4 | bes4 a4 bes2 | d'2 d'4 bes4 | bes2 f2 | f4 a4 bes4 bes4 | g2 g2 | f4 bes4 g4 g4 | g4 fis4 g2\n}\nbass = {\n  g2 es4 c4 | f2 bes,2 | g4 f4 es4 d4 | c2 d2 | d2 g4 f4 | bes,2 es2 | c4 c4 d4. es8 | f2 bes,2 | g,2 d4 es4 | bes,2 bes,2 | bes,4 a,4 g,4 bes,4 | c2 g,2 | bes,2 c4 g,4 | d2 g,2\n}\n", "preferred": true}], "license": "The hymn texts and tunes are in the public domain; per-layer provenance is recorded on each record."}