From aae0517124125ac11b3bdde7ae8a73990f8cfe48 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Fri, 15 Feb 2008 13:12:17 -0800 Subject: [PATCH] LSR: update --- ...yles-depending-on-the-step-of-the-scale.ly | 2 +- .../creating-real-parenthesized-dynamics.ly | 30 ++++ ...entals-for-each-note-including-naturals.ly | 2 +- ...l-tuplets-using-only-one--times-command.ly | 24 +++ input/lsr/expressive-marks.snippet-list | 1 + input/lsr/percussion.snippet-list | 1 + ...ng-music-with-different-time-signatures.ly | 141 ++++++++++++++++++ input/lsr/rhythms.snippet-list | 6 +- input/lsr/text.snippet-list | 5 +- 9 files changed, 206 insertions(+), 6 deletions(-) create mode 100644 input/lsr/creating-real-parenthesized-dynamics.ly create mode 100644 input/lsr/entering-several-tuplets-using-only-one--times-command.ly create mode 100644 input/lsr/printing-music-with-different-time-signatures.ly diff --git a/input/lsr/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly b/input/lsr/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly index 70aef6b7b9..4a13c69df9 100644 --- a/input/lsr/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly +++ b/input/lsr/applying-noteheads-styles-depending-on-the-step-of-the-scale.ly @@ -18,7 +18,7 @@ That said, if you're trying to imitate old American song books, you may also want to try LilyPond's predefined note heads styles, through shortcut commands such as \\aikenHeads or \\sacredHarpHeads. -This exemple shows different ways to obtain shape note heads, and +This example shows different ways to obtain shape note heads, and demonstrates the ability to transpose a melody without losing the correspondance between harmonic functions and note heads styles. " } diff --git a/input/lsr/creating-real-parenthesized-dynamics.ly b/input/lsr/creating-real-parenthesized-dynamics.ly new file mode 100644 index 0000000000..87a0b64fd5 --- /dev/null +++ b/input/lsr/creating-real-parenthesized-dynamics.ly @@ -0,0 +1,30 @@ +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% This file is in the public domain. +\version "2.11.38" + +\header { + lsrtags = "expressive-marks, text" + texidoc = " +Although the easiest way to add parenthesis to a dynamic mark is to use +a \\markup block, this method has a downside: the created objects will +behave like text markups, and not like dynamics. + +However, it is possible to create a similar object using the equivalent +Scheme code (as described in \"Markup programmer interface\"), combined +with the make-dynamic-script function. This way, the markup will be +regarded as a dynamic, and therefore will remain compatible with +commands such as \\dynamicUp or \\dynamicDown. + + +" } +% begin verbatim +\paper { ragged-right = ##t } + +parenF = #(make-dynamic-script (markup #:line(#:normal-text #:italic +#:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text #:italic +#:fontsize 2 ")" ))) + +\score +{ + { c''\parenF c'' c'' \dynamicUp c''\parenF } +} diff --git a/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly b/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly index 2b054fdaa3..70d106df8b 100644 --- a/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly +++ b/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly @@ -6,7 +6,7 @@ lsrtags = "pitches" texidoc = " In early XXth century works, starting with Schönberg, Berg and Webern -(the \"second\" Viennese school), every pitch in the twelve- note scale +(the \"second\" Viennese school), every pitch in the twelve-tone scale has to be regarded as equal, without any hierarchy such as the classical (tonal) degrees. Therefore, these composers print one accidental for each note, even at natural pitches, to emphasize their diff --git a/input/lsr/entering-several-tuplets-using-only-one--times-command.ly b/input/lsr/entering-several-tuplets-using-only-one--times-command.ly new file mode 100644 index 0000000000..d22e4b7492 --- /dev/null +++ b/input/lsr/entering-several-tuplets-using-only-one--times-command.ly @@ -0,0 +1,24 @@ +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% This file is in the public domain. +\version "2.11.38" + +\header { + lsrtags = "rhythms" + texidoc = " +This example shows how to specify how long each of the tuplets +contained within the bracket after @code{\\times} should last. Many +consecutive tuplets can then be contained within a single @code{\\times +@{ ... @}}, thus saving typing. + +In the example, two triplets are shown, while @code{\\times} was +entered only once. + + +For more information about @code{make-moment}, see \"Time +administration\". +" } +% begin verbatim +\relative { + \set tupletSpannerDuration = #(ly:make-moment 1 4) + \times 2/3 { c8 c c c c c } +} diff --git a/input/lsr/expressive-marks.snippet-list b/input/lsr/expressive-marks.snippet-list index 7ed0da7c35..14cfe8f7ef 100644 --- a/input/lsr/expressive-marks.snippet-list +++ b/input/lsr/expressive-marks.snippet-list @@ -4,6 +4,7 @@ adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly caesura-railtracks-with-fermata.ly breathing-sign.ly +creating-real-parenthesized-dynamics.ly center-text-below-hairpin-dynamics.ly contemporary-glissando.ly adding-parentheses-around-an-expressive-mark.ly diff --git a/input/lsr/percussion.snippet-list b/input/lsr/percussion.snippet-list index 6e43033c71..ee38205550 100644 --- a/input/lsr/percussion.snippet-list +++ b/input/lsr/percussion.snippet-list @@ -1,3 +1,4 @@ jazz-combo-template.ly adding-drum-parts.ly heavily-customized-polymetric-time-signatures.ly +printing-music-with-different-time-signatures.ly diff --git a/input/lsr/printing-music-with-different-time-signatures.ly b/input/lsr/printing-music-with-different-time-signatures.ly new file mode 100644 index 0000000000..b62b3081bb --- /dev/null +++ b/input/lsr/printing-music-with-different-time-signatures.ly @@ -0,0 +1,141 @@ +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% This file is in the public domain. +\version "2.11.38" + +\header { + lsrtags = "rhythms, percussion" + texidoc = " +In the following snippet, two parts have a completely different time +signature, and yet keep synchronized. + +This can be achieved with the \\compressMusic command, as demonstrated +here. + +The barlines can't be printed at the Score level anymore, so you have +to remove the Barline_engraver and put it in the Staff context. +" } +% begin verbatim +% Thanks to Adam James Wilson for this snippet + +\paper { + indent = #0 + ragged-right = ##t +} + +global = { \time 3/4 { s2. * 3 } \bar "" \break { s2. * 3 }} + +\layout { + \context { \Score + \remove "Timing_translator" + \remove "Time_signature_engraver" + \remove "Default_bar_line_engraver" + \override SpacingSpanner #'uniform-stretching = ##t + \override SpacingSpanner #'strict-note-spacing = ##t + proportionalNotationDuration = #(ly:make-moment 1 64) + } + \context { \Staff + \consists "Timing_translator" + \consists "Default_bar_line_engraver" + \consists "Time_signature_engraver" + } + \context { \Voice + \remove Forbid_line_break_engraver + tupletFullLength = ##t + } +} + + +Bassklarinette = \new Staff << + \global + { + \bar "|" + \clef treble + \time 3/8 + d''4. + + \bar "|" + \time 3/4 + r8 des''2( c''8) + + \bar "|" + \time 7/8 + r4. ees''2 ~ + + \bar "|" + \time 2/4 + \tupletUp + \times 2/3 {ees''4 r4 d''4 ~} + + \bar "|" + \time 3/8 + \tupletUp + \times 3/4 {d''4 r4} + + \bar "|" + \time 2/4 + e''2 + + \bar "|" + \time 3/8 + es''4. +\bar "|" +\time 3/4 +r8 d''2 r8 +\bar "|" + } + >> +Perkussion = \new StaffGroup << + \new Staff << + \global + { + \bar "|" + \clef percussion + \time 3/4 + r4 c'2 ~ + + \bar "|" + c'2. + + \bar "|" + R2. + + \bar "|" + r2 g'4 ~ + + \bar "|" + g'2. ~ + + \bar "|" + g'2. + } + >> + \new Staff << + \global + { + \bar "|" + \clef percussion + \time 3/4 + R2. + + \bar "|" + g'2. ~ + + \bar "|" + g'2. + + \bar "|" + r4 g'2 ~ + + \bar "|" + g'2 r4 + + \bar "|" + g'2. + } + >> + >> + +\score { << \Bassklarinette \Perkussion >> + +} + diff --git a/input/lsr/rhythms.snippet-list b/input/lsr/rhythms.snippet-list index 2a1edde5b9..63959b45bc 100644 --- a/input/lsr/rhythms.snippet-list +++ b/input/lsr/rhythms.snippet-list @@ -2,6 +2,7 @@ altering-the-number-of-stems-in-a-beam.ly adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly conducting-signs,-measure-grouping-signs.ly heavily-customized-polymetric-time-signatures.ly +skips-in-lyric-mode.ly rhythmic-slashes.ly skips-in-lyric-mode-2.ly manually-controlling-beam-positions.ly @@ -10,10 +11,11 @@ changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly making-an-object-invisible-with-the-transparent-property.ly automatic-beam-subdivisions.ly +rest-styles.ly forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly controlling-tuplet-bracket-visibility.ly beam-across-line-breaks.ly -skips-in-lyric-mode.ly +printing-music-with-different-time-signatures.ly adding-drum-parts.ly -rest-styles.ly +entering-several-tuplets-using-only-one--times-command.ly compound-time-signatures.ly diff --git a/input/lsr/text.snippet-list b/input/lsr/text.snippet-list index 7a103584fc..b7e9f28d22 100644 --- a/input/lsr/text.snippet-list +++ b/input/lsr/text.snippet-list @@ -1,14 +1,15 @@ combining-dynamics-with-markup-texts.ly creating-text-spanners.ly -vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly +creating-real-parenthesized-dynamics.ly markup-lines.ly center-text-below-hairpin-dynamics.ly ottava-text.ly demonstrating-all-headers.ly +utf-8.ly changing-the-default-text-font-family.ly combining-two-parts-on-the-same-staff.ly aligning-and-centering-instrument-names.ly -utf-8.ly +vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly outputting-the-version-number.ly blanking-staff-lines-using-the--whiteout-command.ly formatting-lyrics-syllables.ly -- 2.39.2