From 7372d74c3671b433a30efbf7eea34e31cde41377 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Mon, 2 Jul 2007 23:31:45 -0700 Subject: [PATCH] LSR: update. --- input/lsr/ancient/ancient-accidentals.ly | 24 ++++++ .../engravers-one-by-one.ly | 0 .../removing-time-signature-and-bar-lines.ly | 0 ...to-different-voices-inside-a-same-staff.ly | 32 ++++++++ .../adding-drum-parts.ly | 0 input/lsr/{other => nonmusic}/all-headers.ly | 0 .../combining-two-parts-on-the-same-staff.ly | 74 +++++++++++++++++++ .../forced-and-cautionary-accidentals.ly | 26 +++++++ input/lsr/pitch/preventing-stem-extension.ly | 30 ++++++++ input/lsr/pitch/rest-styles.ly | 39 ++++++++++ 10 files changed, 225 insertions(+) create mode 100644 input/lsr/ancient/ancient-accidentals.ly rename input/lsr/{other => engravers}/engravers-one-by-one.ly (100%) rename input/lsr/{other => engravers}/removing-time-signature-and-bar-lines.ly (100%) create mode 100644 input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly rename input/lsr/{other => instrument}/adding-drum-parts.ly (100%) rename input/lsr/{other => nonmusic}/all-headers.ly (100%) create mode 100644 input/lsr/pitch/combining-two-parts-on-the-same-staff.ly create mode 100644 input/lsr/pitch/forced-and-cautionary-accidentals.ly create mode 100644 input/lsr/pitch/preventing-stem-extension.ly create mode 100644 input/lsr/pitch/rest-styles.ly diff --git a/input/lsr/ancient/ancient-accidentals.ly b/input/lsr/ancient/ancient-accidentals.ly new file mode 100644 index 0000000000..6e6cd7a26d --- /dev/null +++ b/input/lsr/ancient/ancient-accidentals.ly @@ -0,0 +1,24 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Accidentals are available in different ancient styles, which all are +collected here. + + +" } + +\relative c'' { + \time 5/4 + \override Staff.Accidental #'glyph-name-alist = #alteration-default-glyph-name-alist + cisis^\markup { \typewriter default } cis c ces ceses + \override Staff.Accidental #'glyph-name-alist = #alteration-hufnagel-glyph-name-alist + cisis^\markup { \typewriter hufnagel } cis c ces ceses + \override Staff.Accidental #'glyph-name-alist = #alteration-medicaea-glyph-name-alist + cisis^\markup { \typewriter medicaea } cis c ces ceses + \override Staff.Accidental #'glyph-name-alist = #alteration-vaticana-glyph-name-alist + cisis^\markup { \typewriter vaticana } cis c ces ceses + \override Staff.Accidental #'glyph-name-alist = #alteration-mensural-glyph-name-alist + cisis^\markup { \typewriter mensural } cis c ces ceses +} + diff --git a/input/lsr/other/engravers-one-by-one.ly b/input/lsr/engravers/engravers-one-by-one.ly similarity index 100% rename from input/lsr/other/engravers-one-by-one.ly rename to input/lsr/engravers/engravers-one-by-one.ly diff --git a/input/lsr/other/removing-time-signature-and-bar-lines.ly b/input/lsr/engravers/removing-time-signature-and-bar-lines.ly similarity index 100% rename from input/lsr/other/removing-time-signature-and-bar-lines.ly rename to input/lsr/engravers/removing-time-signature-and-bar-lines.ly diff --git a/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly b/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly new file mode 100644 index 0000000000..0ad69b7e51 --- /dev/null +++ b/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly @@ -0,0 +1,32 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +If you've read the manual, you already know that an arpeggio can be +drawn across to staves in PianoStaff context, if you set the +connectArpeggios property. + +However, printing an arpeggio between two simultaneous chords inside a +same staff (with more than one voice), is a bit more tricky. As the +Span_arpeggio_engraver, which is in charge when arpeggios have to be +connected, is not included by default in the Staff context, you have to +add it by yourself using the \consists command. +" } + +\layout { + \context { + \Staff + \consists Span_arpeggio_engraver + } +} + +\new Staff + { + \set Staff.connectArpeggios = ##t + << + {4\arpeggio 4 2 } + \\ + {2\arpeggio 2 } + >> + +} diff --git a/input/lsr/other/adding-drum-parts.ly b/input/lsr/instrument/adding-drum-parts.ly similarity index 100% rename from input/lsr/other/adding-drum-parts.ly rename to input/lsr/instrument/adding-drum-parts.ly diff --git a/input/lsr/other/all-headers.ly b/input/lsr/nonmusic/all-headers.ly similarity index 100% rename from input/lsr/other/all-headers.ly rename to input/lsr/nonmusic/all-headers.ly diff --git a/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly b/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly new file mode 100644 index 0000000000..3569f3f5a5 --- /dev/null +++ b/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly @@ -0,0 +1,74 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +The part combiner tool ( \partcombine command ) allows you to combine +different parts on a same Staff. You can choose whether you want or +don't want to add texts such as \"solo\" or \"a2\", by defining the +printPartCombineTexts property. + +For vocal scores (hymns), there is no need to add solo/a2 texts, so +they should be switched off. However, you'd better not use it if there +are any solos, as they won't be indicated. In such cases, you may +simply wan't to use standard LilyPond polyphony. + +This snippet presents the three ways two parts can be printed on a same +staff : standard polyphony, \partcombine whitout texts, and +\partcombine with texts. + + +" } + +musicUp = { \time 4/4 + \relative c'' { + a4 c4.(g8) a4 | + g4 e' g,( a8 b) | + c b a2. + } +} + +musicDown = { + \relative c'' { + g4 e4.(d8) c4 | + r2 g'4( f8 e) | + d2 a + } +} +\score{ + \new Staff { + \set Staff.instrumentName = "Standard polyphony " + << \musicUp \\ \musicDown >> + } + \layout{ + indent = 6.0\cm + } +} + +\score{ + \context Staff { + \set Staff.instrumentName = "PartCombine without texts " + \partcombine \musicUp \musicDown + } + \layout{ + indent = 6.0\cm + \context { + \Voice + printPartCombineTexts = ##f + } + } +} + +\score{ + \context Staff { + \set Staff.instrumentName = "PartCombine with texts " + \partcombine \musicUp \musicDown + } + \layout{ + indent = 6.0\cm + \context { + \Voice + printPartCombineTexts = ##t + } + } +} + diff --git a/input/lsr/pitch/forced-and-cautionary-accidentals.ly b/input/lsr/pitch/forced-and-cautionary-accidentals.ly new file mode 100644 index 0000000000..1a29e94ae3 --- /dev/null +++ b/input/lsr/pitch/forced-and-cautionary-accidentals.ly @@ -0,0 +1,26 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " + Normally accidentals are printed automatically, but you may also print +them manually. A reminder accidental can be forced by adding an +exclamation mark ! after the pitch. A cautionary accidental (i.e., an +accidental within parentheses) can be obtained by adding the question +mark `?' after the pitch. + + + +Cautionary accidentals may be made smaller, or placed inside +parentheses +" } + +{ +cis' cis' cis'! cis'? + + c''4 + cis''?4 + \once \override Staff.AccidentalCautionary #'font-size = #-2 + cis''?4 + \once \override Staff.AccidentalCautionary #'parenthesized = ##t + cis''?4 +} diff --git a/input/lsr/pitch/preventing-stem-extension.ly b/input/lsr/pitch/preventing-stem-extension.ly new file mode 100644 index 0000000000..731a76e0de --- /dev/null +++ b/input/lsr/pitch/preventing-stem-extension.ly @@ -0,0 +1,30 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Extending stems to the center line may be prevented using +@code{no-stem-extend}. + + +" } + +\score { + \context Voice \relative c { + \context Staff << + \new Voice { + f2 f8 g a b + \override Stem #'no-stem-extend = ##t + f2 f8 g a b + } + \new Voice { + c''2 c8 b a g + \override Stem #'no-stem-extend = ##t + c2 c8 b a g + } + >> + + } + +} + + diff --git a/input/lsr/pitch/rest-styles.ly b/input/lsr/pitch/rest-styles.ly new file mode 100644 index 0000000000..c14c92710f --- /dev/null +++ b/input/lsr/pitch/rest-styles.ly @@ -0,0 +1,39 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Rests may be used in various styles. + + + +" } + +\layout { + indent = 0.0 + raggedright = ##t +} + +\context Staff \relative c { + \set Score.timing = ##f + \override Staff.Rest #'style = #'mensural + r\maxima^\markup \typewriter { mensural } + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + \bar "" + + \override Staff.Rest #'style = #'neomensural + r\maxima^\markup \typewriter { neomensural } + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + \bar "" + + \override Staff.Rest #'style = #'classical + r\maxima^\markup \typewriter { classical } + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + \bar "" + + \override Staff.Rest #'style = #'default + r\maxima^\markup \typewriter { default } + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + +} + + -- 2.39.5