{"slug": "wie-schon-leuchtet", "name": "WIE SCH\u00d6N LEUCHTET DER MORGENSTERN", "alt_name": "FRANKFURT", "meter_label": "8.8.7.8.8.7.4.8.4.8", "meter": {"pattern": [8, 8, 7, 8, 8, 7, 4, 8, 4, 8], "doubled": false, "refrain": false, "alleluia": false, "irregular": false}, "composer": "phillip-nicolai", "composer_date": "1599", "canonical_key": {"tonic": "es", "mode": "major"}, "preferred_harmonization": "wie-schon-leuchtet-cyberhymnal", "provenance": {"layer": "tune", "source": "cyberhymnal", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "WIE SCH\u00d6N LEUCHTET DER MORGENSTERN (also FRANKFURT), a bar-form chorale tune by Philipp Nicolai, first published in Freudenspiegel des ewigen Lebens (Frankfurt, 1599). A public-domain four-part setting encoded from The Cyber Hymnal SATB MIDI via tools/mid2ly.py and verified against the Cyber Hymnal engraving (E-flat major, 4/4, half-note pickup; 70 syllabic soprano notes). All components pre-1931.", "pd_jurisdictions": {"US": true}, "encoding_origin": "The Cyber Hymnal, \"Wie sch\u00f6n leuchtet der Morgenstern\" (Philipp Nicolai, 1599); SATB MIDI + engraving, converted with tools/mid2ly.py", "encoding_license": "PD-dedication"}, "harmonization": {"slug": "wie-schon-leuchtet-cyberhymnal", "tune": "wie-schon-leuchtet", "music_file": "wie-schon-leuchtet-cyberhymnal.ly", "harmonizer": null, "arrangement_type": "harmonization", "canonical_key": {"tonic": "es", "mode": "major"}, "time": "4/4", "pickup": "2", "system_breaks": [16, 31, 46, 58], "final_barline": "|.", "amen": false, "verse_variable_melisma": false, "refrain": null, "source_line": "WIE SCH\u00d6N LEUCHTET DER MORGENSTERN (FRANKFURT), Philipp Nicolai, 1599. Public domain.", "provenance": {"layer": "harmonization", "source": "cyberhymnal", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Tune WIE SCH\u00d6N LEUCHTET DER MORGENSTERN (Philipp Nicolai, 1599); a public-domain four-part setting encoded from The Cyber Hymnal SATB MIDI via tools/mid2ly.py and verified against the Cyber Hymnal engraving (E-flat major, 4/4, half-note pickup). Fully syllabic (70 notes = 70 syllables), one quarter-rest phrase-breath. All components pre-1931.", "pd_jurisdictions": {"US": true}, "encoding_origin": "The Cyber Hymnal, \"Wie sch\u00f6n leuchtet der Morgenstern\" (Philipp Nicolai, 1599); SATB MIDI + engraving, converted with tools/mid2ly.py", "encoding_license": "PD-dedication"}, "music_ly": "% WIE SCH\u00d6N LEUCHTET DER MORGENSTERN (8.8.7.8.8.7.4.8.4.8) \u2014 four SATB voice\n% streams, canonical key E-flat major. Corpus harmonization source for the\n% 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 (\"Wie sch\u00f6n leuchtet der Morgenstern\",\n% Philipp Nicolai 1599) with tools/mid2ly.py and verified against the Cyber Hymnal\n% engraving (E-flat major, 4/4, printed time signature, half-note pickup). METERED,\n% fully SYLLABIC: 70 soprano notes = 70 syllables (0 melismas). One quarter-rest\n% phrase-breath after note 8. The bar-form (AAB) abgesang has half-notes that begin\n% on beat 4 and tie across the barline \u2014 ordinary metered syncopation, auto-tied.\n\\version \"2.24.0\"\n\nglobal  = { \\key es \\major \\time 4/4 \\partial 2 }\nsoprano = {\n  es'2 bes'2 g'2 es'2 bes'2 c''4 c''4 bes'2 r4 bes'4 c''4 d''4 es''4 d''4 c''2 c''2 bes'2 bes'4 c''2 bes'2 as'4 g'4 f'2 es'2 es'2 bes'2 g'2 es'2 bes'2 c''4 c''4 bes'2 bes'4 c''4 d''4 es''4 d''4 c''2 c''2 bes'2. bes'4 c''2 bes'2 as'4 g'4 f'2 es'1 bes'2 g'2 bes'2 g'2 g'4 g'4 f'4 f'4 g'4 g'4 f'4 f'4 g'4 g'4 f'2 es'1 es''2 bes'2 c''2 bes'2 as'4 g'4 f'2 es'1\n}\nalto = {\n  bes2 bes2 bes2 c'2 f'2 g'4 f'4 d'2 r4 es'4 es'4 f'4 g'4 f'4 f'2 f'2 d'2 es'4 es'2 es'2 c'4 bes4 bes2 bes2 bes2 bes2 bes2 c'2 f'2 g'4 f'4 d'2 es'4 es'4 f'4 g'4 f'4 f'2 f'2 d'2. es'4 es'2 es'2 c'4 bes4 bes2 bes1 d'2 es'2 f'2 es'2 bes4 es'4 es'4 d'4 bes4 es'4 es'4 d'4 es'4 es'4 d'2 es'1 es'2 es'2 es'2 d'2 es'4 es'4 es'4 d'4 bes1\n}\ntenor = {\n  g2 f2 g2 g2 bes2 bes4 a4 bes2 r4 g4 g4 bes4 bes4 bes4 bes2 a2 bes2 g4 as2 bes2 es4 es4 es4 d4 g2 g2 f2 g2 g2 bes2 bes4 a4 bes2 g4 g4 bes4 bes4 bes4 bes2 a2 bes2. g4 as2 bes2 es4 es4 es4 d4 g1 bes2 bes2 bes2 bes2 es4 bes4 bes4 f4 es4 bes4 bes4 bes4 bes4 bes4 bes2 g1 g2 bes2 as2 f2 c'4 bes4 bes2 g1\n}\nbass = {\n  es2 d2 es2 c2 d2 es4 f4 bes,2 r4 es4 c4 bes,4 es4 bes,4 f2 f2 bes,2 es4 as,2 g,2 as,4 es,4 bes,2 es,2 es2 d2 es2 c2 d2 es4 f4 bes,2 es4 c4 bes,4 es4 bes,4 f2 f2 bes,2. es4 as,2 g,2 as,4 es,4 bes,2 es,1 g2 es2 d2 es2 es4 es,4 bes,4 bes,4 es4 es,4 bes,4 bes,4 es4 g,4 bes,2 es,1 c2 g,2 as,2 bes,2 c4 es4 bes,2 es,1\n}\n"}, "harmonizations": [{"slug": "wie-schon-leuchtet-bwv436", "tune": "wie-schon-leuchtet", "music_file": "wie-schon-leuchtet-bwv436.ly", "harmonizer": "johann-sebastian-bach", "arrangement_type": "harmonization", "canonical_key": {"tonic": "es", "mode": "major"}, "time": "4/4", "pickup": "4", "system_breaks": [16, 31, 46, 58], "final_barline": "|.", "amen": false, "verse_variable_melisma": false, "refrain": null, "source_line": "WIE SCH\u00d6N LEUCHTET DER MORGENSTERN, Philipp Nicolai, 1599; harm. J. S. Bach (BWV 436). Public domain.", "provenance": {"layer": "harmonization", "source": "bach-chorales-1784", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Four-part harmonization by Johann Sebastian Bach (1685-1750), BWV 436 \u2014 the standalone chorale Wie schoen leuchtet der Morgenstern, No. 278 in the Breitkopf collection 371 vierstimmige Choralgesaenge (1784-87). US public domain by pre-1931 publication. Encoded from the craigsapp/bach-370-chorales kern edition (chor278.krn, referenced against the c. 1875 Doerffel/Breitkopf 4th edition) via tools/kern2ly.py; the conversion was verified event-for-event against the kern source in all four voices (pitch, duration and tie of every event \u2014 the single tenor tie, the explicit naturals, the E#/F## chromatic bass approach to the final cadence). The kern encodes E major (*k[f#c#g#d#] with *E:, as Breitkopf prints it); the corpus file respells it one chromatic semitone down in E-flat major \u2014 the corpus tune's canonical key, shared with the existing cyberhymnal harmonization per the duplicated-fact key rule \u2014 an augmented-unison transposition (letter names and octaves unchanged), and the printed file was re-verified event-for-event against the kern at the -1 semitone offset. 4/4, quarter pickup. The kern encodes the Stollen once with a repeat (*>[A,A,B]); the corpus file writes it out A-A-B, shortening the notated first-ending cadence halves to quarters in all four voices to admit the repeat's quarter pickup, exactly as the independently engraved music21 bach/bwv436.mxl witness bars it (its first-ending measure is three beats, soprano fis2 e4, completed by the repeat's pickup); at the second ending the kern's halves stand (house style keeps the held cadence rather than the witness's quarter + rest), so every bar is 4/4 and no mid-hymn time change is needed. Fermatas at the source's phrase ends (soprano ordinals 8, 16, 23, 31, 39, 46, 48, 50, 62, 70) are omitted per house style. Tune identity against the corpus wie-schon-leuchtet harmonization (CyberHymnal, also E-flat): count-identical 70:70 soprano, 62 of 70 pitches identical, 0 insertions, 0 deletions; the 8 substitutions (ordinals 17/40, the 51-59 repeated-note passage where Bach sits a step higher, and 64) are Bach's melodic placement within the same phrase structure. Fully syllabic: 70 soprano notes for the 70 syllables of 8.8.7.8.8.7.4.8.4.8, confirmed by the witness's own German underlay (two lyric verses in the Stollen, one in the Abgesang, one syllable per kern notehead throughout; its sole melisma is an untexted passing eighth absent from the kern).", "pd_jurisdictions": {"US": true}, "encoding_origin": "craigsapp/bach-370-chorales kern edition, chor278.krn (BWV 436, Breitkopf No. 278), converted with tools/kern2ly.py", "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": "%% WIE SCH\u00d6N LEUCHTET DER MORGENSTERN (8.8.7.8.8.7.4.8.4.8) \u2014 four SATB voice\n%% streams, canonical key E-flat major. Corpus harmonization source for the\n%% 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 standalone chorale harmonization BWV 436 (No. 278 in the\n%% Breitkopf collection, 1784-87), converted from the craigsapp/bach-370-chorales\n%% kern edition (chor278.krn) with tools/kern2ly.py and verified event-for-event\n%% against the kern source in all four voices (the single tenor tie at bar 11,\n%% the explicit naturals, the chromatic E#/F## bass approach to the final\n%% cadence). The kern encodes E major (*k[f#c#g#d#] with *E:, as Breitkopf\n%% prints it); this file respells it one chromatic semitone down in E-FLAT\n%% MAJOR \u2014 the corpus tune's canonical key, shared with the existing\n%% cyberhymnal harmonization per the duplicated-fact key rule \u2014 an\n%% augmented-unison transposition (letter names and octaves unchanged:\n%% E->Eb, F#->F, A#->A, E#->E, F##->F#), verified event-for-event against the\n%% kern at the -1 semitone offset. 4/4, quarter pickup. The kern encodes the\n%% Stollen once with a repeat (*>[A,A,B]); written out here A-A-B per corpus\n%% convention. At the first Stollen ending the notated cadence halves\n%% (printed soprano es'2, alto bes2, tenor g2, bass es2) shorten to quarters\n%% to admit the repeat's quarter pickup \u2014 exactly the barring of the\n%% independently engraved music21 bach/bwv436.mxl witness, whose first-ending\n%% measure is three beats completed by the repeat's pickup; at the second\n%% ending the kern's halves stand (house style keeps the held cadence rather\n%% than the witness's quarter + rest). Every bar is therefore 4/4 and no\n%% mid-hymn time change is needed. The source prints fermatas at soprano\n%% ordinals 8, 16, 23, 31, 39, 46, 48, 50, 62, 70 (Bach's phrase ends: lines\n%% of 8+8+7 sung twice, then the 4-syllable line 7 split 2+2 with a fermata\n%% on each half, none at line 8's end, one each at lines 9 and 10); fermatas\n%% are omitted per house style. SYLLABIC: 70 soprano notes = 70 syllables of\n%% 8.8.7.8.8.7.4.8.4.8 (0 melismas). The mxl witness's own German underlay\n%% (two lyric verses in the Stollen, one in the Abgesang) is\n%% one-syllable-per-note at every kern notehead; its sole melisma is an extra\n%% untexted passing eighth (under \"leuch-\") that the kern does not carry.\n\\version \"2.24.0\"\n\nglobal  = { \\key es \\major \\time 4/4 \\partial 4 }\n\nsoprano = {\n  es'4 |\n  bes'4 g'4 es'4 bes'4 |\n  c''4 c''4 bes'4 bes'4 |\n  c''4 d''4 es''4 d''4 |\n  c''4 c''4 bes'4 g'4 |\n  c''4 bes'4 as'4 g'4 |\n  f'2 es'4 es'4 |\n  bes'4 g'4 es'4 bes'4 |\n  c''4 c''4 bes'4 bes'4 |\n  c''4 d''4 es''4 d''4 |\n  c''4 c''4 bes'4 g'4 |\n  c''4 bes'4 as'4 g'4 |\n  f'2 es'2 |\n  bes'2 g'2 |\n  bes'2 g'2 |\n  as'4 g'4 f'4 g'4 |\n  as'4 g'4 f'4 g'4 |\n  as'4 g'4 f'2 |\n  es'2 es''4 d''4 |\n  c''4 bes'4 as'4 g'4 |\n  f'2 es'4\n}\n\nalto = {\n  bes4 |\n  bes4 bes4 c'4 d'4 |\n  g'4 f'4 f'4 g'4 |\n  as'4 as'4 g'4 f'4 |\n  f'8 g'8 f'8 es'8 d'4 es'4 |\n  es'4 d'4 es'8 f'8 g'8 es'8 |\n  es'4 d'4 bes4 bes4 |\n  bes4 bes4 c'4 d'4 |\n  g'4 f'4 f'4 g'4 |\n  as'4 as'4 g'4 f'4 |\n  f'8 g'8 f'8 es'8 d'4 es'4 |\n  es'4 d'4 es'8 f'8 g'8 es'8 |\n  es'4 d'4 bes2 |\n  f'2 es'2 |\n  f'2 es'2 |\n  f'4 es'4 d'4 es'4 |\n  f'4 es'4 d'4 es'4 |\n  f'4 es'8 d'8 c'4 d'4 |\n  bes2 g'4 fis'4 |\n  g'4 g'8 f'8 es'4 es'4 |\n  es'4 d'4 bes4\n}\n\ntenor = {\n  g4 |\n  f4 es8 f8 g8 a8 bes4 |\n  bes4 a4 d'4 es'4 |\n  es'4 f'4 bes4 bes4 |\n  bes4 a4 bes4 bes4 |\n  as8 g8 f4 c'4 bes4 |\n  bes4. as8 g4 g4 |\n  f4 es8 f8 g8 a8 bes4 |\n  bes4 a4 d'4 es'4 |\n  es'4 f'4 bes4 bes4 |\n  bes4 a4 bes4 bes4 |\n  as8 g8 f4 c'4 bes4 |\n  bes4. as8 g2 |\n  bes2 bes2 |\n  d'2 c'2 |\n  c'4 bes4 bes4 bes4 |\n  bes4 bes4 bes4 bes4 |\n  c'8 d'8 es'4~ es'8 c'8 bes8 as8 |\n  g2 c'8 bes8 a4 |\n  g4 d'4 c'4 bes4 |\n  c'4 bes8 as8 g4\n}\n\nbass = {\n  es4 |\n  d4 es4 c4 g4 |\n  es4 f4 bes,4 es4 |\n  as4 g8 f8 g8 a8 bes4 |\n  f4 f,4 bes,4 es4 |\n  as,4 bes,4 c8 d8 es4 |\n  bes,2 es4 es4 |\n  d4 es4 c4 g4 |\n  es4 f4 bes,4 es4 |\n  as4 g8 f8 g8 a8 bes4 |\n  f4 f,4 bes,4 es4 |\n  as,4 bes,4 c8 d8 es4 |\n  bes,2 es2 |\n  d2 es2 |\n  bes,2 c2 |\n  f4 g4 as8 g8 f8 es8 |\n  d4 es4 bes,8 bes8 as8 g8 |\n  f4 c8 bes,8 as,4 bes,4 |\n  es2 c4 d4 |\n  e8 fis8 g4 c8 d8 es4 |\n  a,4 bes,4 es,4\n}\n", "preferred": false}, {"slug": "wie-schon-leuchtet-cyberhymnal", "tune": "wie-schon-leuchtet", "music_file": "wie-schon-leuchtet-cyberhymnal.ly", "harmonizer": null, "arrangement_type": "harmonization", "canonical_key": {"tonic": "es", "mode": "major"}, "time": "4/4", "pickup": "2", "system_breaks": [16, 31, 46, 58], "final_barline": "|.", "amen": false, "verse_variable_melisma": false, "refrain": null, "source_line": "WIE SCH\u00d6N LEUCHTET DER MORGENSTERN (FRANKFURT), Philipp Nicolai, 1599. Public domain.", "provenance": {"layer": "harmonization", "source": "cyberhymnal", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Tune WIE SCH\u00d6N LEUCHTET DER MORGENSTERN (Philipp Nicolai, 1599); a public-domain four-part setting encoded from The Cyber Hymnal SATB MIDI via tools/mid2ly.py and verified against the Cyber Hymnal engraving (E-flat major, 4/4, half-note pickup). Fully syllabic (70 notes = 70 syllables), one quarter-rest phrase-breath. All components pre-1931.", "pd_jurisdictions": {"US": true}, "encoding_origin": "The Cyber Hymnal, \"Wie sch\u00f6n leuchtet der Morgenstern\" (Philipp Nicolai, 1599); SATB MIDI + engraving, converted with tools/mid2ly.py", "encoding_license": "PD-dedication"}, "music_ly": "% WIE SCH\u00d6N LEUCHTET DER MORGENSTERN (8.8.7.8.8.7.4.8.4.8) \u2014 four SATB voice\n% streams, canonical key E-flat major. Corpus harmonization source for the\n% 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 (\"Wie sch\u00f6n leuchtet der Morgenstern\",\n% Philipp Nicolai 1599) with tools/mid2ly.py and verified against the Cyber Hymnal\n% engraving (E-flat major, 4/4, printed time signature, half-note pickup). METERED,\n% fully SYLLABIC: 70 soprano notes = 70 syllables (0 melismas). One quarter-rest\n% phrase-breath after note 8. The bar-form (AAB) abgesang has half-notes that begin\n% on beat 4 and tie across the barline \u2014 ordinary metered syncopation, auto-tied.\n\\version \"2.24.0\"\n\nglobal  = { \\key es \\major \\time 4/4 \\partial 2 }\nsoprano = {\n  es'2 bes'2 g'2 es'2 bes'2 c''4 c''4 bes'2 r4 bes'4 c''4 d''4 es''4 d''4 c''2 c''2 bes'2 bes'4 c''2 bes'2 as'4 g'4 f'2 es'2 es'2 bes'2 g'2 es'2 bes'2 c''4 c''4 bes'2 bes'4 c''4 d''4 es''4 d''4 c''2 c''2 bes'2. bes'4 c''2 bes'2 as'4 g'4 f'2 es'1 bes'2 g'2 bes'2 g'2 g'4 g'4 f'4 f'4 g'4 g'4 f'4 f'4 g'4 g'4 f'2 es'1 es''2 bes'2 c''2 bes'2 as'4 g'4 f'2 es'1\n}\nalto = {\n  bes2 bes2 bes2 c'2 f'2 g'4 f'4 d'2 r4 es'4 es'4 f'4 g'4 f'4 f'2 f'2 d'2 es'4 es'2 es'2 c'4 bes4 bes2 bes2 bes2 bes2 bes2 c'2 f'2 g'4 f'4 d'2 es'4 es'4 f'4 g'4 f'4 f'2 f'2 d'2. es'4 es'2 es'2 c'4 bes4 bes2 bes1 d'2 es'2 f'2 es'2 bes4 es'4 es'4 d'4 bes4 es'4 es'4 d'4 es'4 es'4 d'2 es'1 es'2 es'2 es'2 d'2 es'4 es'4 es'4 d'4 bes1\n}\ntenor = {\n  g2 f2 g2 g2 bes2 bes4 a4 bes2 r4 g4 g4 bes4 bes4 bes4 bes2 a2 bes2 g4 as2 bes2 es4 es4 es4 d4 g2 g2 f2 g2 g2 bes2 bes4 a4 bes2 g4 g4 bes4 bes4 bes4 bes2 a2 bes2. g4 as2 bes2 es4 es4 es4 d4 g1 bes2 bes2 bes2 bes2 es4 bes4 bes4 f4 es4 bes4 bes4 bes4 bes4 bes4 bes2 g1 g2 bes2 as2 f2 c'4 bes4 bes2 g1\n}\nbass = {\n  es2 d2 es2 c2 d2 es4 f4 bes,2 r4 es4 c4 bes,4 es4 bes,4 f2 f2 bes,2 es4 as,2 g,2 as,4 es,4 bes,2 es,2 es2 d2 es2 c2 d2 es4 f4 bes,2 es4 c4 bes,4 es4 bes,4 f2 f2 bes,2. es4 as,2 g,2 as,4 es,4 bes,2 es,1 g2 es2 d2 es2 es4 es,4 bes,4 bes,4 es4 es,4 bes,4 bes,4 es4 g,4 bes,2 es,1 c2 g,2 as,2 bes,2 c4 es4 bes,2 es,1\n}\n", "preferred": true}], "license": "The hymn texts and tunes are in the public domain; per-layer provenance is recorded on each record."}