\version "2.18.0" % \include "english.ly" % Use f & s for flat and sharp instead of is & es. \header { title = "The Girl with the blue dress on" % Song Title composer = "Briggs 1855" % Composer arranger = "page 25" enteredby = "Enterer" % Person who created this lilypond file poet = "dGDF#A" % tuning instrument = "Banjo" copyright = "©right;" % ©right; tagline = ##t % Controls Lilypond tagline on last page } \paper { #(set-paper-size "letter") #(include-special-characters) two-sided = ##t inner-margin = 0.5\in % For even total pages = 0.5, otherwise 0.7 outer-margin = 0.7\in % For even total pages = 0.7, otherwise 0.5 top-margin = 0.5\in bottom-margin = 0.5\in ragged-last-bottom = ##t % False = evenly spread over pages; True = compact with trailing white space evenHeaderMarkup = \markup { \fill-line { \on-the-fly #print-page-number-check-first { \fromproperty #'header:title \fromproperty #'page:page-number-string \fromproperty #'header:instrument } } } oddHeaderMarkup = \evenHeaderMarkup } % Macros #(define RH rightHandFinger) % -\RH #1,2,3 - allows right hand notation sl = \glissando % Slide % Global settings global = { \time 2/4 % Time Signature \numericTimeSignature % Keep time signature 4/4 not C. \key g \major % Key \tempo 4 = 120 % Tempo } % *** Chords go here chordlist = \chordmode {} % *** Notes go here melody = { s4 s8 d8 \3 | % 1 \repeat volta 2 { b8 b16 d'16 \5 b8 g8 | %2 a8 b8 g8 b16 d'16 \5| % 3 c'16 fis16 c'16 d'16 \5 e8 fis8 | % 4 a8 g8 r8 d16 d'16 \5 | % 5 b8 b16 d'16 \5 b8 g8 | %6 a8 b8 g8 b16 d'16 \5| % 7 c'16 fis16 c'16 d'16 \5 e8 fis8 | % 8 a8 g8 r8 d8 | % 9 } % B part \repeat volta 2 { g8 b16 d'16 \5 g8 b16 d'16 \5| %10 g8 g8 r8 d8| % 11 g8 b16 d'16 \5 g8 b16 d'16 \5 | % 12 fis8 a8 r8 d8| % 13 g8 b16 d'16 \5 b8 g8| %14 a8 b8 c'8 e'8| % 15 d'16 \1 d'16 \5 d'16 \1 d'16 \5 a8 d'8 \5| % 16 b8 g8 r4 | % 17 } % Song termination bar } \score { \new StaffGroup = "tab with traditional" << \chords { \set chordChanges = ##t % Only print chord when it changes. \chordlist % Chords } \set StaffGroup.instrumentName = "Banjo" \override StaffGroup.SystemStartBracket.collapse-height = #1 % adds bracket even for single bar \override Score.SystemStartBar.collapse-height = #1 % add start bar even for single bar % *** Comment out from here to >> to remove traditional notation. \new Staff = "banjo traditional" << \set Staff.midiInstrument = #"banjo" \set strokeFingerOrientations = #'(down) { \accidentalStyle forget \compressFullBarRests % Multi bars rest compressed to one bar. \stemUp % Stems are all up on traditional notation. \clef "treble_8" % G-clef dropped by one octave \global % global variables \melody % Music } >> %} % *** Comment out from here to >> to remove tablature notation. \new TabStaff = "banjo tab" << \set TabStaff.tablatureFormat = #fret-number-tablature-format-banjo \set TabStaff.stringTunings = \stringTuning < d' g d fis a> %eAEG#B \set strokeFingerOrientations = #'(down) \set TabStaff.minimumFret = #0 % This allows capoing \override Beam.damping = #+inf.0 % makes all beams level { \compressFullBarRests % Multi bars rest compressed to one bar. \tabFullNotation % Tab gets stems and rests \stemDown % Stems are all down on tablature \global % global variables \melody % Music } >> >> \layout { \context { \Score % Remove string numbers (as tablature includes that inforamtion. \override StringNumber.transparent = ##t % set right hand digit names \override StrokeFinger.digit-names = ##("t" "i" "m" "" "") % Adjust the final number below to change spacing between notes. % 32 means smallest note is assumed to be a 32nd note. % \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/32) } } \midi { } % Produce a midi file of the music. Commented out for now. } %{ convert-ly.py (GNU LilyPond) 2.18.2 convert-ly.py: Processing `'... Applying conversion: 2.17.0, 2.17.4, 2.17.5, 2.17.6, 2.17.11, 2.17.14, 2.17.15, 2.17.18, 2.17.19, 2.17.20, 2.17.25, 2.17.27, 2.17.29, 2.17.97, 2.18.0 %}