\version "2.18.2" #(set-global-staff-size 20) % un-comment the next line to remove Lilypond tagline: % \header { tagline="" } \paper { print-all-headers = ##t % allow per-score headers % un-comment the next line for A5: % #(set-default-paper-size "a5" ) % un-comment the next line for no page numbers: % print-page-number = ##f % un-comment the next 3 lines for a binding edge: % two-sided = ##t % inner-margin = 20\mm % outer-margin = 10\mm % un-comment the next line for a more space-saving header layout: % scoreTitleMarkup = \markup { \center-column { \fill-line { \magnify #1.5 { \bold { \fromproperty #'header:dedication } } \magnify #1.5 { \bold { \fromproperty #'header:title } } \fromproperty #'header:composer } \fill-line { \fromproperty #'header:instrument \fromproperty #'header:subtitle \smaller{\fromproperty #'header:subsubtitle } } } } } \score { << \override Score.BarNumber #'break-visibility = #end-of-line-invisible \set Score.barNumberVisibility = #(every-nth-bar-number-visible 5) % === BEGIN JIANPU STAFF === \new RhythmicStaff \with { % Get rid of the stave but not the barlines. % This changes between Lilypond versions. \remove Staff_symbol_engraver \consists "Accidental_engraver" % worked pre-2.18, but 2.18 results in missing barlines (adding Barline_engraver won't help). \override StaffSymbol #'line-count = #0 % tested in 2.15.40, 2.16.2, 2.18.0 and 2.18.2 \override BarLine #'bar-extent = #'(-2 . 2) % LilyPond 2.18: please make barlines as high as the time signature even though we're on a RhythmicStaff (2.16 and 2.15 don't need this although its presence doesn't hurt; Issue 3685 seems to indicate they'll fix it post-2.18) } { \new Voice="jianpu" { \override Staff.TimeSignature #'style = #'numbered \override Staff.Stem #'transparent = ##t \override Beam #'transparent = ##f % (needed for LilyPond 2.18 or the above switch will also hide beams) \override Stem #'direction = #DOWN \override Stem #'length-fraction = #0 \override Beam #'beam-thickness = #0.1 \override Beam #'length-fraction = #0.5 \override Voice.Rest #'style = #'neomensural % this size tends to line up better (we'll override the appearance) \override Accidental #'font-size = #-4 \override Tie #'staff-position = #2.5 \override TupletBracket #'bracket-visibility = ##t \tupletUp \time 4/4 \partial 4 #(define (note-two grob grob-origin context) (if (grob::has-interface grob 'note-head-interface) (begin (ly:grob-set-property! grob 'stencil (grob-interpret-markup grob (make-lower-markup 0.5 (make-bold-markup "2"))))))) \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8[ #(define (note-three grob grob-origin context) (if (grob::has-interface grob 'note-head-interface) (begin (ly:grob-set-property! grob 'stencil (grob-interpret-markup grob (make-lower-markup 0.5 (make-bold-markup "3"))))))) \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8] #(define (note-one grob grob-origin context) (if (grob::has-interface grob 'note-head-interface) (begin (ly:grob-set-property! grob 'stencil (grob-interpret-markup grob (make-lower-markup 0.5 (make-bold-markup "1"))))))) | \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8] \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8] #(define (note-five grob grob-origin context) (if (grob::has-interface grob 'note-head-interface) (begin (ly:grob-set-property! grob 'stencil (grob-interpret-markup grob (make-lower-markup 0.5 (make-bold-markup "5"))))))) | \applyOutput #'Voice #note-five g'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8 #(define (note-six grob grob-origin context) (if (grob::has-interface grob 'note-head-interface) (begin (ly:grob-set-property! grob 'stencil (grob-interpret-markup grob (make-lower-markup 0.5 (make-bold-markup "6"))))))) \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8] \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a8-\tweak #'X-offset #0.6 _. \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8] | \applyOutput #'Voice #note-two d'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8] \applyOutput #'Voice #note-six a4[-\tweak #'Y-offset #-1.2 -\tweak #'X-offset #0.6 _. \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a8-\tweak #'X-offset #0.6 _. \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8] | \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8[ \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8] \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8[ \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8] \applyOutput #'Voice #note-two d'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8] | \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8] \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8] | \applyOutput #'Voice #note-five g'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8] \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a8-\tweak #'X-offset #0.6 _. \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8] | \applyOutput #'Voice #note-two d'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8] \applyOutput #'Voice #note-six a4[-\tweak #'Y-offset #-1.2 -\tweak #'X-offset #0.6 _. \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g8-\tweak #'X-offset #0.6 _. \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a8]-\tweak #'X-offset #0.6 _. \once \override Tie #'transparent = ##t \once \override Tie #'staff-position = #0 | \applyOutput #'Voice #note-one c'4[ ~ #(define (note-dashone grob grob-origin context) (if (grob::has-interface grob 'note-head-interface) (begin (ly:grob-set-property! grob 'stencil (grob-interpret-markup grob (make-lower-markup 0.5 (make-bold-markup "–"))))))) \applyOutput #'Voice #note-dashone c'4 ~ \applyOutput #'Voice #note-one c'4 \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8] | \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8[ \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8] \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8[ \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8] \applyOutput #'Voice #note-five g'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8 #(define (note-seven grob grob-origin context) (if (grob::has-interface grob 'note-head-interface) (begin (ly:grob-set-property! grob 'stencil (grob-interpret-markup grob (make-lower-markup 0.5 (make-bold-markup "7"))))))) \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-seven b'8] | \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c''8[^. \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8] \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8[ \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8] \applyOutput #'Voice #note-three e'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8] | \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8] \applyOutput #'Voice #note-five g'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8] | \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a8-\tweak #'X-offset #0.6 _. \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8] \applyOutput #'Voice #note-two d'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8] | \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8[ \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8] \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8[ \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8] \applyOutput #'Voice #note-five g'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-seven b'8] | \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c''8[^. \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8] \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8[ \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-five g'8] \applyOutput #'Voice #note-three e'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8] | \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a'8] \applyOutput #'Voice #note-five g'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-three e'8 \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-two d'8] | \applyOutput #'Voice #note-one c'4[ \set stemLeftBeamCount = #0 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-six a8-\tweak #'X-offset #0.6 _. \set stemLeftBeamCount = #1 \set stemRightBeamCount = #1 \applyOutput #'Voice #note-one c'8] \once \override Tie #'transparent = ##t \once \override Tie #'staff-position = #0 \applyOutput #'Voice #note-one c'4[ ~ \applyOutput #'Voice #note-dashone c'4] ~ \once \override Tie #'transparent = ##t \once \override Tie #'staff-position = #0 | \applyOutput #'Voice #note-one c'4[ ~ \applyOutput #'Voice #note-dashone c'4 ~ \applyOutput #'Voice #note-one c'4] \bar "|." } } % === END JIANPU STAFF === \new Lyrics = "IX" { \lyricsto "jianpu" { \override LyricText #'self-alignment-X = #LEFT 這 些 年 一 個 人 風 也 過 雨 也 走 有 過 淚 有 過 錯 還 記 得 堅 持 什 麼 真 愛 過 才 會 懂 會 寂 寞 會 回 首 終 有 夢 終 有 你 在 心 中 朋 友 一 生 一 起 走 那 些 日 子 不 再 有 一 句 話 一 輩 子 一 生 情 一 杯 酒 朋 友 不 曾 孤 單 過 一 聲 朋 友 你 會 懂 還 有 傷 還 有 痛 還 要 走 還 有 我 } } %>> %\layout{} } %\score { %\unfoldRepeats %<< % === BEGIN MIDI STAFF === \new Staff { \new Voice="midi" { \time 4/4 \partial 4 d'8 e'8 | c'4 d'8 e'8 c'4 d'8 e'8 | g'4 g'8 a'8 c'4 a8 c'8 | d'4 d'8 c'8 a4 a8 c'8 | d'8 e'8 d'8 c'8 d'4 e'8 d'8 | c'4 d'8 e'8 c'4 d'8 e'8 | g'4 g'8 a'8 c'4 a8 c'8 | d'4 d'8 c'8 a4 g8 a8 | c'2. e'8 g'8 | g'8 g'8 g'8 a'8 g'4 a'8 b'8 | c''8 a'8 a'8 g'8 e'4 e'8 d'8 | c'4 c'8 a'8 g'4 e'8 d'8 | c'4 a8 c'8 d'4 e'8 g'8 | g'8 g'8 g'8 a'8 g'4 a'8 b'8 | c''8 a'8 a'8 g'8 e'4 e'8 d'8 | c'4 c'8 a'8 g'4 e'8 d'8 | c'4 a8 c'8 c'2 ~ | c'2. } } % === END MIDI STAFF === >> \layout{} \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 84 4)}} }