X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fbagpipe.ly;h=0b53e9ad292860242073999b79afba585090ebdc;hb=873e42b39e5f7713c33625ce7ca7ef5f88314ddd;hp=4390e932d98c1981d99a075c3805721fd74e0fad;hpb=cd7e258c3d6d16243b7984b907b19674ecbacd07;p=lilypond.git diff --git a/ly/bagpipe.ly b/ly/bagpipe.ly old mode 100755 new mode 100644 index 4390e932d9..0b53e9ad29 --- a/ly/bagpipe.ly +++ b/ly/bagpipe.ly @@ -1,15 +1,15 @@ %{ - Bagpipe music settings for Lilypond. + Bagpipe music settings for LilyPond. This file builds on work by Andrew McNabb (http://www.mcnabbs.org/andrew/) - - Substantial changes and additions made by + + Substantial changes and additions made by Sven Axelsson, the Murray Pipes & Drums of Gothenburg (http://www.murrays.nu) - - $Id: bagpipe.ly,v 1.4 2005/08/19 18:18:02 hanwen Exp $ + + $Id: bagpipe.ly,v 1.12 2006/03/16 14:39:46 hanwen Exp $ %} -\version "2.6.0" +\version "2.13.29" % Notes of the scale of the Great Highland Bagpipe. Extra high notes for bombarde. % Flat notes used mainly in some modern music. @@ -38,14 +38,14 @@ pitchnames = \pitchnamesBagpipe hideKeySignature = { % We normally don't want to show the key signature. - \override Staff.KeySignature #'print-function = ##f + \override Staff.KeySignature #'stencil = ##f \set Staff.extraNatural = ##f \key d \major #(set-accidental-style 'forget) } showKeySignature = { % Show the key signature e.g. for BMW compatibility. - \override Staff.KeySignature #'print-function = #'Key_signature_interface::print + \override Staff.KeySignature #'stencil = #ly:key-signature-interface::print \set Staff.extraNatural = ##f \key d \major #(set-accidental-style 'forget) @@ -53,47 +53,36 @@ showKeySignature = { % Layout tweaks. -%{ - -% WTF is this? --hwn \layout { \context { \Voice % All stems go down. - \stemDown + \override Stem #'direction = #DOWN % All slurs and ties are on top. - \slurUp - \tieUp + \override Slur #'direction = #UP + \override Tie #'direction = #UP } } -%} - % Some common timing tweaks. % Sets the autobeamer to span quarter notes only. Use for fast music. % TODO: Needs more tweaking quarterBeaming = { - #(override-auto-beam-setting '(end * * * *) 1 4 'Staff) - #(override-auto-beam-setting '(end * * * *) 1 2 'Staff) - #(override-auto-beam-setting '(end * * * *) 3 4 'Staff) - #(override-auto-beam-setting '(end * * * *) 4 4 'Staff) - #(revert-auto-beam-setting '(end 1 32 2 4 ) 1 8 'Staff) - #(revert-auto-beam-setting '(end 1 32 2 4 ) 3 8 'Staff) - #(revert-auto-beam-setting '(end 1 32 4 4 ) 1 8 'Staff) - #(revert-auto-beam-setting '(end 1 32 4 4 ) 3 8 'Staff) - #(revert-auto-beam-setting '(end 1 32 4 4 ) 5 8 'Staff) - #(revert-auto-beam-setting '(end 1 32 4 4 ) 7 8 'Staff) + \set Staff.beamExceptions = #'() } + halfBeaming = { - #(override-auto-beam-setting '(end * * 2 2) 1 2 'Staff) - #(override-auto-beam-setting '(end * * 2 2) 2 2 'Staff) + \set Staff.beamExceptions = #'((end . (((1 . 8) . (4 4)) + ((1 . 12) . (3 3))))) } + % Reels are in allabreve time with half note beaming. reelTime = { \time 2/2 \halfBeaming } + % 4/4 marches are written with numerical time signature and with quarter beaming. marchTime = { \time 4/4 @@ -275,12 +264,12 @@ pthrwd = { \grace { \small G16[ d32 c] } } darodo = { \grace { \small G32[ d G c G] } } Gdarodo = { \grace { \small d32[ G c G] } } % Non-gracenote piobaireachd markup. -trebling = \markup { +trebling = \markup { \override #'(baseline-skip . 0.3) - \column { - \musicglyph #"scripts.tenuto" - \musicglyph #"scripts.tenuto" - \musicglyph #"scripts.tenuto" + \column { + \musicglyph #"scripts.tenuto" + \musicglyph #"scripts.tenuto" + \musicglyph #"scripts.tenuto" } } % Abbreviated notation common in piobaireachd scores.