X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fheavily-customized-polymetric-time-signatures.ly;h=172e71a07b4f45c7ea6aafc2048b016fa0847fdf;hb=0387f04497978e37b335a8b99eec905499d6ad0f;hp=0d3f272704cca7386199840a835f20d444b8f133;hpb=e5751bd57f29c80d7c1ce3a323d6e5a3925cebcb;p=lilypond.git diff --git a/input/lsr/heavily-customized-polymetric-time-signatures.ly b/input/lsr/heavily-customized-polymetric-time-signatures.ly index 0d3f272704..172e71a07b 100644 --- a/input/lsr/heavily-customized-polymetric-time-signatures.ly +++ b/input/lsr/heavily-customized-polymetric-time-signatures.ly @@ -1,40 +1,59 @@ -%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% Do not edit this file; it is auto-generated from input/new %% This file is in the public domain. -%% Tags: rhythms, percussion -\version "2.11.35" - -\header { texidoc = " -Though the set-time-signature thing was not the most essential here, it -has been included to show the beat of this piece (which is a template -of a real balkan song!). -" } -% begin verbatim -#(define (compound-time one two three four five six seven eight nine ten num) - (markup #:override '(baseline-skip . 0) #:number - (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num)) #:vcenter "+" (#:column (three num)) #:vcenter "+" (#:column (four num)) #:vcenter "+" (#:column (five num)) #:vcenter "+" (#:column (six num)) #:vcenter "+" (#:column (seven num)) #:vcenter "+" (#:column (eight num)) #:vcenter "+" (#:column (nine num)) #:vcenter "+" (#:column (ten num)))))) - - -melody = -{ \relative c'' { - \set Staff.instrumentName = "Bb Sop." - \key g \major \time 25/8 - \override Staff.TimeSignature #'stencil = #ly:text-interface::print - \override Staff.TimeSignature #'text = #(compound-time "3" "2" "2" "3" "2" "2" "2" "3" "2" "2" "8" ) - c8[ c c] d4 c8[ c] b[ c b] a4 g fis8[ e d c] b'[ c d] e4-^ fis8[ g] | \break - c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4 | - c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 | \break - c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 | - c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 | \break } +\version "2.11.64" + +\header { + lsrtags = "rhythms, percussion" + + texidoc = " +Though the polymetric time signature shown was not the most essential +item here, it has been included to show the beat of this piece (which +is the template of a real Balkan song!). + +" + doctitle = "Heavily customized polymetric time signatures" +} % begin verbatim + + +#(define plus (markup #:vcenter "+")) +#(define ((custom-time-signature one two three four five six + seven eight nine ten eleven num) grob) + (grob-interpret-markup grob + (markup #:override '(baseline-skip . 0) #:number + (#:line ( + (#:column (one num)) plus + (#:column (two num)) plus + (#:column (three num)) plus + (#:column (four num)) plus + (#:column (five num)) plus + (#:column (six num)) plus + (#:column (seven num)) plus + (#:column (eight num)) plus + (#:column (nine num)) plus + (#:column (ten num)) plus + (#:column (eleven num)))) + ))) + +melody = \relative c'' { + \set Staff.instrumentName = #"Bb Sop." + \key g \major + #(set-time-signature 25 8 '(3 2 2 3 2 2 2 2 3 2 2)) + \override Staff.TimeSignature #'stencil = + #(custom-time-signature "3" "2" "2" "3" "2" "2" + "2" "2" "3" "2" "2" "8") + c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break + c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4 + c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break + c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 + c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break } -drum = { - \new DrumStaff \drummode - { - \bar "|:" bd4. ^\markup { "Drums" } sn4 bd \bar ":" sn4. bd4 sn \bar ":" - bd sn bd4. sn4 bd \bar ":|" - } + +drum = \new DrumStaff \drummode { + \bar "|:" bd4.^\markup { "Drums" } sn4 bd \bar ":" sn4. + bd4 sn \bar ":" bd sn bd4. sn4 bd \bar ":|" } { - \melody - \drum + \melody + \drum }