Jump to content

Pitches headword: Difference between revisions

From LilyPond wiki
No edit summary
Avoid excessive verbosity; use a `\Dynamics` context
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Pitches headword
Pitches headword.


<lilypond version="2.24" full>
<lilypond version="2.24">
% L. v. Beethoven
% L. v. Beethoven
% Piano sonata 21 - Dem Grafen von Waldstein Gewidmet
% Piano sonata 21 op. 53 - "à Monsieur Comte de Waldstein"
% chorale at measures 34 - 40+
% first movement, measures 34 - 41


\include "english.ly"
\include "english.ly"


\new PianoStaff <<
\new PianoStaff <<
  \new Staff = "right hand" <<
    \new Voice = "right hand voice 1" {
      \set Score.currentBarNumber = 34
      \voiceOne gs''2(^\markup \italic "dolce e molto ligato" fs''4 e'' |
      ds''2 cs'') |
      ds''2( e''4 fs'' |
      <gs'' e''>2 <fs'' ds''>) \clef bass |


  % RH Staff
      \oneVoice <gs' e' b>2( <fs' ds' a>4 <e' cs' gs> |
  \new Staff <<
      <ds' bs fs>2 <cs' a e>) |
      \voiceOne b2\tweak height-limit 7
                  \tweak positions #'(6 . 2) ( cs'4 ds' \clef treble |
      <e' gs>4) r4 r2 |
    }


    % RH Voice 1
     \new Voice = "right hand voice 2" {
     \new Voice {
       \voiceTwo <e'' b'>2 <ds'' a'>4 <cs'' gs'> |
      \set Score.currentBarNumber = 34
       <bs' fs'>2 e' |
      \voiceOne
       <b'! a'>2 b'4 <e'' cs''> |
      gs''2 ( ^ \markup \italic { dolce e molto ligato }
       b'2.( a'4) \clef bass | \break
      fs''4
 
       e''4
       s1 |
      |
       s1 |
      ds''2
       <gs e>4( <a fs>2.) |
      cs''2 )
       s4 r4 r2 |
      |
      ds''2 (
      e''4
      fs''4
      |
      <gs'' e''>2
       <fs'' ds''>2 )
      |
      \oneVoice
      \clef bass
       <gs' e' b>2 (
      <fs' ds' a>4
      <e' cs' gs>4
      |
       <ds' bs fs>2
      <cs' a e>2 )
      |
      \voiceOne
      b2 %(
       cs'4
      ds'4
       |
      \clef treble
       <e' gs>4 %)
       r4 r2
     }
     }
  >>


    % RH Voice 2
  \new Dynamics {
    \new Voice {
    s1*2\p |
      \voiceTwo
    s1\tweak style #'none \cresc |
      \override Staff.DynamicLineSpanner.staff-padding = 3
    s1\sf\> |
      <e'' b'>2 \p
      <ds'' a'>4
      <cs'' gs'>4
      |
      <bs' fs'>2
      e'2
      |
      <b'! a'>2 -\tweak style #'none \cresc
      b'4
      <e'' cs''>4
      |
      b'2. ( \sf \>
      a'4 )
      \clef bass
      | \break
      s1 \p
      |
      s1
      |
      <gs e>4 (
      <a fs>2. )
      |
      s4
      r4 r2
    }


   >>
    s1*4\p |
   }


  % LH Staff
   \new Staff = "left hand" {
   \new Staff {
     \override Staff.SustainPedalLineSpanner.staff-padding = 6
     \override Staff.SustainPedalLineSpanner.staff-padding = 6
     <gs' e'>2 ( \sustainOn
     <gs' e'>2(\sustainOn <fs' ds' b>4\sustainOff <e' cs'> |
    <fs' ds' b>4 \sustainOff
     <ds' bs gs>2 <cs' a>)\sustainOn \clef bass |
    <e' cs'>4
     <ds' b! a fs>2_(\sustainOff
    |
      <e' b gs>4 <fs' cs' a>\sustainOn \clef treble |
     <ds' bs gs>2
     << { \voiceOne <gs' e'>2 <fs' ds'>) }
    <cs' a>2 ) \sustainOn
      \new Voice { \voiceTwo b1\sustainOff } >> \clef bass |
    |
 
    \clef bass
     \oneVoice <gs e>2( <fs ds b,>4 <e cs> |
    \slurDown
     <ds bs, gs,>2 <cs a,>)\sustainOn |
     <ds' b! a fs>2 ( \sustainOff
     <b,! b,,!>1(\sustainOff |
    <e' b gs>4
     <e e,>4) r4 r2 |
    <fs' cs' a>4 \sustainOn
    |
    \clef treble
    \voiceOne
     <<
      {
        <gs' e'>2
        <fs' ds'>2 )
      }
      \new Voice {
        \voiceTwo
        b1 \sustainOff
      }
    >>
    \oneVoice
    |
    %\break
     \clef bass
    <gs e>2 (
    <fs ds b,>4
    <e cs>4
    |
     <ds bs, gs,>2
    <cs a,>2 ) \sustainOn
    |
     <b,! b,,!>1 ( \sustainOff
    |
     <e e,>4 )
    r4 r2
   }
   }
>>
>>
\paper { tagline = ##f }
</lilypond>
</lilypond>


[[Category:Headword]]
[[Category:Headword]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 05:59, 18 December 2025

Pitches headword.

\version "2.24"

% L. v. Beethoven
% Piano sonata 21 op. 53 - "à Monsieur Comte de Waldstein"
% first movement, measures 34 - 41

\include "english.ly"

\new PianoStaff <<
  \new Staff = "right hand" <<
    \new Voice = "right hand voice 1" {
      \set Score.currentBarNumber = 34
      \voiceOne gs''2(^\markup \italic "dolce e molto ligato" fs''4 e'' |
      ds''2 cs'') |
      ds''2( e''4 fs'' |
      <gs'' e''>2 <fs'' ds''>) \clef bass |

      \oneVoice <gs' e' b>2( <fs' ds' a>4 <e' cs' gs> |
      <ds' bs fs>2 <cs' a e>) |
      \voiceOne b2\tweak height-limit 7
                  \tweak positions #'(6 . 2) ( cs'4 ds' \clef treble |
      <e' gs>4) r4 r2 |
    }

    \new Voice = "right hand voice 2" {
      \voiceTwo <e'' b'>2 <ds'' a'>4 <cs'' gs'> |
      <bs' fs'>2 e' |
      <b'! a'>2 b'4 <e'' cs''> |
      b'2.( a'4) \clef bass | \break

      s1 |
      s1 |
      <gs e>4( <a fs>2.) |
      s4 r4 r2 |
    }
  >>

  \new Dynamics {
    s1*2\p |
    s1\tweak style #'none \cresc |
    s1\sf\> |

    s1*4\p |
  }

  \new Staff = "left hand" {
    \override Staff.SustainPedalLineSpanner.staff-padding = 6
    <gs' e'>2(\sustainOn <fs' ds' b>4\sustainOff <e' cs'> |
    <ds' bs gs>2 <cs' a>)\sustainOn \clef bass |
    <ds' b! a fs>2_(\sustainOff
      <e' b gs>4 <fs' cs' a>\sustainOn \clef treble |
    << { \voiceOne <gs' e'>2 <fs' ds'>) }
       \new Voice { \voiceTwo b1\sustainOff } >> \clef bass |

    \oneVoice <gs e>2( <fs ds b,>4 <e cs> |
    <ds bs, gs,>2 <cs a,>)\sustainOn |
    <b,! b,,!>1(\sustainOff |
    <e e,>4) r4 r2 |
  }
>>