%---------------------------------------------------------------- % _ _ _ _ % | | (_) |_ _ _ __ ___ _ __ __| | % | | | | | | | | '_ \ / _ \| '_ \ / _` | % | |___| | | |_| | |_) | (_) | | | | (_| | % |_____|_|_\\__, | .__/ \___/|_| |_|\__,_| % |___/|_| % % This is a Lilypond source code file. For more information % about the Lilypond music typesetting program, visit % % http://lilypond.org % % The code in this source file is released under % a GPLv3 license. For licensing information visit % % http://www.gnu.org/licenses/quick-guide-gplv3 % %---------------------------------------------------------------- \version "2.18.0" \header { tagline = "" % removed } \paper { #(set-paper-size "letter") ragged-last-bottom = ##t ragged-right = ##f } #(ly:set-option 'point-and-click #f) #(set-global-staff-size 30) % define fingering offset FO = #(define-music-function (parser location offsetX offsetY) (number? number?) #{ \once \override Voice.Fingering.extra-offset = #(cons offsetX offsetY ) #}) givenbelow = \markup { \tiny {Given melody.}} givenabove = \markup { \tiny \halign #2 {Given melody.}} global = { \time 4/4 % \numericTimeSignature \key c \major %\set Staff.midiInstrument = "piano" %\override Score.MetronomeMark #'padding = #3.8 %\override Staff.TimeSignature #'stencil = ##f \override Staff.TimeSignature.break-visibility = #end-of-line-invisible \override HorizontalBracket.thickness = #3 %\set fingeringOrientations = #'(down) \override Glissando.thickness = #3 } melody = \relative c'' { \global \voiceOne r4 c d e | f d e f | e ~ e d c | a g c2 | } bass = \relative c' { \global \voiceTwo c2_\givenbelow b4 c d f e d | g c, d e | f b, c2 \bar ".." } %%%%%%%%%%%%%%%%%%%%%%%%%% SCORE BLOCK %%%%%%%%%%%%%%%%%%%%%% \score { \context Staff = "guitar" \with { \consists "Span_arpeggio_engraver" } << \set Staff.midiInstrument = "acoustic grand" \set Staff.connectArpeggios = ##t %\numericTimeSignature \set Staff.instrumentName = \markup \center-column { "or:" } %\set Staff.shortInstrumentName = \markup \center-column { "or: " } \context Voice = "melody" \with { \consists "Horizontal_bracket_engraver" } \melody \context Voice = "markups" \with { \consists "Horizontal_bracket_engraver" } \bass >> \layout { \context { \Score \remove "Bar_number_engraver" } } \midi { \tempo 4 = 110 } }