{"slug": "liebster-jesu-wir-sind-hier", "name": "LIEBSTER JESU WIR SIND HIER", "meter_label": "7.8.7.8.8.8", "meter": {"pattern": [7, 8, 7, 8, 8, 8], "doubled": false, "refrain": false, "alleluia": false, "irregular": false}, "composer": "johann-rudolph-ahle", "composer_date": "1854", "canonical_key": {"tonic": "g", "mode": "major"}, "preferred_harmonization": "liebster-jesu-wir-sind-hier-oh22", "provenance": {"layer": "tune", "source": "oh-source-1931", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Open Hymnal X:22; all components published pre-1931 (latest year 1858).", "pd_jurisdictions": {"US": true}}, "harmonization": {"slug": "liebster-jesu-wir-sind-hier-oh22", "tune": "liebster-jesu-wir-sind-hier", "music_file": "liebster-jesu-wir-sind-hier-oh22.ly", "canonical_key": {"tonic": "g", "mode": "major"}, "time": "4/4", "pickup": null, "system_breaks": [14, 22, 30], "final_barline": "|.", "amen": false, "verse_variable_melisma": false, "refrain": null, "provenance": {"layer": "harmonization", "source": "oh-source-1931", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Open Hymnal X:22; all components published pre-1931 (latest year 1858).", "pd_jurisdictions": {"US": true}, "encoding_origin": "Open Hymnal Project 2014.06, X:22", "encoding_license": "PD-dedication"}, "music_ly": "%% Blessed Jesus at Thy Word\n%% Imported from Open Hymnal ABC X:22 via tools/abc_import.py\n%% Open Hymnal X:22; all components published pre-1931 (latest year 1858).\n\\version \"2.24.0\"\n\nglobal  = { \\key g \\major \\time 4/4 }\n\nsoprano = {\n  b'4 g'4 a'4 d''4 b'4 g'4 a'2 g'4 g'4 g'4 g'4 a'4 b'4 a'2 g'1 b'4 g'4 a'4 d''4 b'4 g'4 a'2 g'4 g'4 g'4 g'4 a'4 b'4 a'2 g'1 d'4 d'4 e'4 fis'4 g'4 a'4 fis'4 d'4 g'4 g'4 a'4 b'4 c''4 b'4 a'2 g'1\n}\nalto = {\n  d'4 d'4 d'4 fis'4 d'4 e'4 fis'2 d'4 d'4 e'4 d'4 fis'4 g'2 fis'4 g'1 d'4 d'4 d'4 fis'4 d'4 e'4 fis'2 d'4 d'4 e'4 d'4 fis'4 g'2 fis'4 g'1 d'4 d'4 cis'4 d'4 d'4 e'4 d'4 d'4 d'4 b4 d'4 d'4 e'4 d'4 d'2 b1\n}\ntenor = {\n  g4 b4 a4 a4 g4 b4 d'2 g4 b4 c'4 g4 c'4 d'4 d'2 b1 g4 b4 a4 a4 g4 b4 d'2 g4 b4 c'4 g4 c'4 d'4 d'2 b1 b4 a4 g4 a4 b4 a4 a4 fis4 g4 g4 fis4 g4 g4 g2 fis4 g1\n}\nbass = {\n  g4 g4 fis4 d4 g4 e4 d2 b,4 g,4 c4 b,4 a,4 g,4 d2 g,1 g4 g4 fis4 d4 g4 e4 d2 b,4 g,4 c4 b,4 a,4 g,4 d2 g,1 g4 fis4 e4 d4 b,4 cis4 d4 d4 b,4 e4 d4 g,4 c4 g,4 d2 g,1\n}\n"}, "harmonizations": [{"slug": "liebster-jesu-wir-sind-hier-bwv373", "tune": "liebster-jesu-wir-sind-hier", "music_file": "liebster-jesu-wir-sind-hier-bwv373.ly", "harmonizer": "johann-sebastian-bach", "arrangement_type": "harmonization", "canonical_key": {"tonic": "g", "mode": "major"}, "time": "4/4", "pickup": null, "system_breaks": [8, 16, 24, 32, 40], "final_barline": "|.", "amen": false, "verse_variable_melisma": true, "refrain": null, "source_line": "LIEBSTER JESU WIR SIND HIER, Johann Rudolph Ahle; harmonization J. S. Bach (BWV 373). Public domain.", "provenance": {"layer": "harmonization", "source": "bach-chorales-1784", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Tune LIEBSTER JESU WIR SIND HIER (Johann Rudolph Ahle, 1625-1673); four-part harmonization by Johann Sebastian Bach (1685-1750), BWV 373 \u2014 the standalone chorale \"Liebster Jesu, wir sind hier\", No. 131 in the Breitkopf collection 371 vierstimmige Choralgesaenge (1784-87) and in Riemenschneider's numbering (the kern's own note records it as the same setting as No. 328). US public domain by pre-1931 publication. Encoded from the craigsapp/bach-370-chorales kern edition (chor131.krn, referenced against the c. 1875 Doerffel/Breitkopf 4th edition, plate V.A.10) via tools/kern2ly.py; the conversion was re-checked event-for-event by an independent re-parse of the kern in all four voices \u2014 48 / 58 / 62 / 70 notes S/A/T/B, every pitch, octave, duration and tie agreeing, and all 15 written-out bars summing to exactly 4/4 in every voice. The kern encodes the Stollen once with a sectional repeat (*>[A,A,B]); the corpus file writes it out A-A-B. Both sections begin and end on whole bars, so no partial bars meet at the seams and no odd-length seam bar arises (5 + 5 + 5 = 15 full 4/4 bars, a single \\time throughout, no time_changes) \u2014 the barring of the independently encoded music21 witness bwv373.mxl agrees, its 10 as-written bars all full 4/4 with the backward repeat on the right barline of its m5, in all four parts, exactly where the kern puts it (=6:|!). NO TRANSPOSITION: Bach's key is G major (the kern's *k[f#] with *G:, as Breitkopf prints it) and that is already this tune's corpus canonical key, shared with liebster-jesu-wir-sind-hier-oh22 (one canonical key per tune, validator-enforced), so every pitch is Bach's own written pitch at his own written octave. 4/4 (met C), no pickup; fermatas at the six phrase ends (soprano ordinals 8, 16, 24, 32, 40, 48) are omitted per house style. Bach's explicit F NATURALS \u2014 the alto's f' in the third bar of each Stollen and the tenor's f in the line-6 bar (kern \"f\", not \"f#\") \u2014 are kept and print against the one-sharp signature; both are confirmed by the witness. Machine comparison against that independently encoded witness (bwv373.mxl, MuseData/Greentree lineage; its as-written 10 bars matched against this file's first A section and its B section): soprano identical event-for-event (32 notes) and tenor identical event-for-event (41 notes); bass identical (46 notes) except that the kern TIES the d across bars 6-7 where the witness re-strikes it; alto identical except for the same kind of tie at the two g' cadence figures (as-written bars 4 and 9) and one real note difference \u2014 in the B section's cadence bar the kern reads g'4~ g'8 e'8 fis'4 where the witness holds g'4 g'4 fis'4, i.e. the kern carries a passing e'8 the witness lacks. The kern reading (the declared source) is kept throughout and each divergence is itemized in the music file header. Bach's melody is the same tune as the corpus's other reading, read slightly differently: 48 soprano notes to oh22's 46, because he ornaments the opening of each Stollen (oh22's plain b'4 g'4 is Bach's b'4 a'8 g'8, one extra note at each of ordinals 2 and 18) and his final line repeats his line 2 note for note where the oh22 reading rises to c''. Dropping Bach's two ornament upper-neighbour a'8s leaves 46 against 46, agreeing in pitch at 43 of 46 positions and in duration at 44 of 46, the three pitch differences being exactly line 6 positions 3-5; six phrases, syllable fit, cadence pitches, key and meter all agree. The melisma slurs follow Bach's own underlay as witnessed by the texted mxl (full German Clausnitzer text, the two Stollen lyric verses agreeing on the single hold, the Abgesang fully syllabic).", "pd_jurisdictions": {"US": true}, "encoding_origin": "craigsapp/bach-370-chorales kern edition, chor131.krn (BWV 373, Breitkopf/Riemenschneider No. 131), converted with tools/kern2ly.py; underlay and barring witness music21 bach corpus MusicXML bwv373.mxl (both archived in imports/batchC/)", "encoding_license": "The kern edition carries a CC BY-NC-SA 4.0 claim, and the music21 MusicXML witness an open (BSD/LGPL-distributed corpus) one; neither claim is load-bearing here. Both are faithful transcriptions of a public-domain print \u2014 the c. 1875 Doerffel/Breitkopf 4th edition of the 1784-87 371 vierstimmige Choralgesaenge \u2014 of music by Bach (d. 1750), so the underlying notes carry no copyright anywhere in this chain. The corpus record does not rest on either transcription as a protectable work: this .ly is a fresh machine re-encoding produced by tools/kern2ly.py, with the kern file and the MusicXML witness both vendored in imports/batchC/ so the conversion and the collation can be re-run and re-checked from scratch. Same analysis for every Bach kern import in the corpus."}, "music_ly": "%% LIEBSTER JESU WIR SIND HIER (7.8.7.8.8.8) \u2014 four SATB voice streams,\n%% canonical key G 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 harmonization BWV 373 (the standalone chorale \"Liebster Jesu,\n%% wir sind hier\" on Johann Rudolph Ahle's tune, Breitkopf/Riemenschneider\n%% No. 131 \u2014 the kern's own note \"Same as No. 328\"), converted from the\n%% craigsapp/bach-370-chorales kern edition (chor131.krn) with tools/kern2ly.py.\n%% The conversion was re-checked event-for-event in all four voices by an\n%% independent re-parse of the kern (pitch, octave, duration, tie): 48 / 58 / 62\n%% / 70 notes S/A/T/B, every one agreeing, and all 15 written-out bars summing\n%% to exactly 4/4 in every voice.\n%% NO TRANSPOSITION. Bach's key is G major (the kern's *k[f#] with *G:, as\n%% Breitkopf prints it) and that is already the tune's corpus canonical key,\n%% shared with liebster-jesu-wir-sind-hier-oh22 (one canonical key per tune,\n%% validator-enforced). Every pitch below is Bach's own written pitch at his own\n%% written octave. 4/4 (met C), no pickup. The f' in the alto's third bar and\n%% the f in the tenor's line-6 bar are Bach's explicit F NATURALS (kern \"f\", not\n%% \"f#\") \u2014 the flat-seventh colouring of the ii/V approach \u2014 and print with a\n%% natural sign against the one-sharp signature; both are confirmed by the\n%% independent witness below.\n%% The kern encodes the Stollen once with a sectional repeat (*>[A,A,B]); the\n%% converter writes it out A-A-B. Both sections begin and end on whole bars, so\n%% there are no partial bars at the seams and no odd-length seam bar: 5 + 5 + 5\n%% = 15 full 4/4 bars, a single \\time throughout (no time_changes needed).\n%% The source prints fermatas at soprano ordinals 8, 16, 24, 32, 40, 48 \u2014 one\n%% per text line of 7.8.7.8.8.8, phrases of 8+8+8+8+8+8 notes; fermatas are\n%% omitted per house style.\n%% Machine-compared against the independently encoded music21-corpus witness of\n%% the same chorale (bwv373.mxl, MuseData/Greentree lineage; as-written 10 bars\n%% = one A + B, matched against this file's first A and its B): SOPRANO and\n%% TENOR identical event-for-event (32/32 and 41/41 notes); the BASS is\n%% identical (46/46) except that the kern TIES the d across bars 6-7 where the\n%% witness re-strikes it; the ALTO is identical except for the same kind of tie\n%% at the two g' cadence figures (bars 4 and 9 as-written) and one real note\n%% difference \u2014 in the B section's cadence bar the kern reads g'4~ g'8 e'8 fis'4\n%% where the witness holds g'4 g'4 fis'4, i.e. the kern carries a passing e'8\n%% the witness lacks. The kern reading (the declared source, Doerffel/Breitkopf\n%% c. 1875) is kept throughout.\n%% RELATION TO THE OTHER CORPUS SETTING OF THIS TUNE: Bach's melody is the same\n%% tune as liebster-jesu-wir-sind-hier-oh22's, read slightly differently. Bach\n%% has 48 soprano notes to the OH reading's 46: he ornaments the opening of each\n%% Stollen (OH's plain b'4 g'4 is Bach's b'4 a'8 g'8, one extra note at each of\n%% ordinals 2/18), and his final line repeats his line 2 note for note\n%% (g' g' g' g' a' b' a'2 g'1) where the OH reading rises to c''\n%% (g' g' a' b' c'' b' a'2 g'1). Dropping Bach's two ornament upper-neighbour\n%% a'8s leaves 46 against 46, agreeing in pitch at 43 of 46 positions and in\n%% duration at 44 of 46 \u2014 the three pitch differences are exactly line 6\n%% positions 3-5. Same six phrases, same syllable fit, same cadence pitches,\n%% same key, same meter.\n%% MELISMATIC: 48 soprano notes for 46 syllables (7.8.7.8.8.8). The two melisma\n%% slurs (soprano notes 2-3 and 18-19, the a'8 g'8 turn once per Stollen pass)\n%% are Bach's own underlay as carried by the texted bwv373.mxl witness, whose\n%% Stollen carries TWO German lyric verses (\"Lieb-ster Je-su...\" and \"len-ke\n%% Sin-nen...\") that AGREE on the hold: syllable 2 is sung on the a'8 and held\n%% over the g'8, which carries no lyric syllable of its own in either verse.\n%% Held with '_' every stanza at soprano notes 3 and 19 (see the setting); the\n%% B section is fully syllabic in the witness, 16 syllables on 16 notes.\n\\version \"2.24.0\"\n\nglobal  = { \\key g \\major \\time 4/4 }\n\nsoprano = {\n  b'4 a'8( g'8) a'4 d''4 |\n  b'4 g'4 a'2 |\n  g'4 g'4 g'4 g'4 |\n  a'4 b'4 a'2 |\n  g'1 |\n  b'4 a'8( g'8) a'4 d''4 |\n  b'4 g'4 a'2 |\n  g'4 g'4 g'4 g'4 |\n  a'4 b'4 a'2 |\n  g'1 |\n  d'4 d'4 e'4 fis'4 |\n  g'4 a'4 fis'4 d'4 |\n  g'4 g'4 g'4 g'4 |\n  a'4 b'4 a'2 |\n  g'1\n}\n\nalto = {\n  d'4 d'4 d'4 fis'4 |\n  d'4 d'8 e'8 fis'2 |\n  e'4 f'4 e'4 d'4 |\n  e'8 fis'8 g'4~ g'4 fis'4 |\n  d'1 |\n  d'4 d'4 d'4 fis'4 |\n  d'4 d'8 e'8 fis'2 |\n  e'4 f'4 e'4 d'4 |\n  e'8 fis'8 g'4~ g'4 fis'4 |\n  d'1 |\n  b4 a4 b8 cis'8 d'4 |\n  e'4 e'4 d'4 a4 |\n  d'8 b8 c'8 d'8 e'4 e'4 |\n  e'8 fis'8 g'4~ g'8 e'8 fis'4 |\n  d'1\n}\n\ntenor = {\n  g8 a8 b4 a4 a4 |\n  b8 c'8 d'4 d'2 |\n  b4 b4 c'4 g4 |\n  c'4 d'4 e'8 c'8 a8 d'16 c'16 |\n  b1 |\n  g8 a8 b4 a4 a4 |\n  b8 c'8 d'4 d'2 |\n  b4 b4 c'4 g4 |\n  c'4 d'4 e'8 c'8 a8 d'16 c'16 |\n  b1 |\n  g4 a4 g4 a4 |\n  b4 a4 a4 fis4 |\n  g4. f8 e8 fis8 g8 a16 b16 |\n  c'4 d'4 d'4. c'8 |\n  b1\n}\n\nbass = {\n  g,4 g4~ g8 fis8 e8 d8 |\n  g8 a8 b8 g8 d2 |\n  e,8 e4 d8 c,8 c4 b,8 |\n  a,4 g,8 b,8 c8 a,8 d4 |\n  g,1 |\n  g,4 g4~ g8 fis8 e8 d8 |\n  g8 a8 b8 g8 d2 |\n  e,8 e4 d8 c,8 c4 b,8 |\n  a,4 g,8 b,8 c8 a,8 d4 |\n  g,1 |\n  g,8 g4 fis8 e4 d4~ |\n  d4 cis4 d4 d4 |\n  b,8 g,8 a,8 b,8 c8 d8 c8 b,8 |\n  a,4 g,8 b,8 d2 |\n  g,1\n}\n", "preferred": false}, {"slug": "liebster-jesu-wir-sind-hier-oh22", "tune": "liebster-jesu-wir-sind-hier", "music_file": "liebster-jesu-wir-sind-hier-oh22.ly", "canonical_key": {"tonic": "g", "mode": "major"}, "time": "4/4", "pickup": null, "system_breaks": [14, 22, 30], "final_barline": "|.", "amen": false, "verse_variable_melisma": false, "refrain": null, "provenance": {"layer": "harmonization", "source": "oh-source-1931", "source_kind": "open_encoding", "pd_basis": "pub_pre_1931", "pd_evidence": "Open Hymnal X:22; all components published pre-1931 (latest year 1858).", "pd_jurisdictions": {"US": true}, "encoding_origin": "Open Hymnal Project 2014.06, X:22", "encoding_license": "PD-dedication"}, "music_ly": "%% Blessed Jesus at Thy Word\n%% Imported from Open Hymnal ABC X:22 via tools/abc_import.py\n%% Open Hymnal X:22; all components published pre-1931 (latest year 1858).\n\\version \"2.24.0\"\n\nglobal  = { \\key g \\major \\time 4/4 }\n\nsoprano = {\n  b'4 g'4 a'4 d''4 b'4 g'4 a'2 g'4 g'4 g'4 g'4 a'4 b'4 a'2 g'1 b'4 g'4 a'4 d''4 b'4 g'4 a'2 g'4 g'4 g'4 g'4 a'4 b'4 a'2 g'1 d'4 d'4 e'4 fis'4 g'4 a'4 fis'4 d'4 g'4 g'4 a'4 b'4 c''4 b'4 a'2 g'1\n}\nalto = {\n  d'4 d'4 d'4 fis'4 d'4 e'4 fis'2 d'4 d'4 e'4 d'4 fis'4 g'2 fis'4 g'1 d'4 d'4 d'4 fis'4 d'4 e'4 fis'2 d'4 d'4 e'4 d'4 fis'4 g'2 fis'4 g'1 d'4 d'4 cis'4 d'4 d'4 e'4 d'4 d'4 d'4 b4 d'4 d'4 e'4 d'4 d'2 b1\n}\ntenor = {\n  g4 b4 a4 a4 g4 b4 d'2 g4 b4 c'4 g4 c'4 d'4 d'2 b1 g4 b4 a4 a4 g4 b4 d'2 g4 b4 c'4 g4 c'4 d'4 d'2 b1 b4 a4 g4 a4 b4 a4 a4 fis4 g4 g4 fis4 g4 g4 g2 fis4 g1\n}\nbass = {\n  g4 g4 fis4 d4 g4 e4 d2 b,4 g,4 c4 b,4 a,4 g,4 d2 g,1 g4 g4 fis4 d4 g4 e4 d2 b,4 g,4 c4 b,4 a,4 g,4 d2 g,1 g4 fis4 e4 d4 b,4 cis4 d4 d4 b,4 e4 d4 g,4 c4 g,4 d2 g,1\n}\n", "preferred": true}], "license": "The hymn texts and tunes are in the public domain; per-layer provenance is recorded on each record."}