\version "2.16.0" % \include "english.ly" % Use f & s for flat and sharp instead of is & es. \header { title = "Ratlesnake Jig" % Song Title composer = "Converse 1860" % Composer arranger = "Yellow Book" enteredby = "Enterer" % Person who created this lilypond file poet = "eAEG#B" % 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 4/4 % Time Signature \numericTimeSignature % Keep time signature 4/4 not C. \key a \major % Key \tempo 4 = 100 % Tempo } % *** Chords go here chordlist = \chordmode {} % *** Notes go here melody = { s2 s4 s8 e \3 | % 1 a8. \2 a16 \2 b8. a16 \2 cis'8. a16 \2 d'8. (b16) | % 2 e'8. \5 e'16 \5 d'8. (b16) a8. \2 b16 e4 \3 | % 3 a8. \2 a16 \2 b8. a16 \2 cis'8. a16 \2 d'8. (b16) | % 4 e'8. \5 e'16 \5 d'8. (b16) a4 \2 a, \4 \bar "||" % 5 e'8. \5 e'16 \5 d'8. (b16) a8. \2 cis'16 e4 \3 | % 6 e8. \3 b16 gis8. \2 b16 a8. \2 cis'16 e4 \3 | % 7 e'8. \5 e'16 \5 d'8. (b16) a8. \2 cis'16 e4 \3 | % 8 e8. \3 b16 gis8. \2 b16 a4 \2 a, \4 \bar "|." % 9 % 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 < e' a, e gis b> %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. }