That's a nice-looking piece and would certainly show off more of Lilypond's capabilities than the Beethoven passage I'm working on. If y'all would rather use David's piece that'd be fine with me. I've finished 2 bars of the Beethoven (there would only be 2 more) so I could bail out now or keep going. Either way is fine with me. I'll attach what I've done of the Beethoven so you can compare.

Jon

David Séverin wrote:


I have a violin solo piece I wrote last summer [european, I am living in Brasil 
now]
and has been played twice in concert in France last year.

I am trying to type set with lilypond and if you think it's a valuable exemple
for the doc, I am very please to offer what ever 'meseaures' you would need, 
should
it be the all piece [I plan to put it on internet under common right or so ...]

I have attached the yet to be completed version I have:

        - 'times', rests and bars are still shown here for debuging purposes, 
but
        in the final version they will be hidden

If you think it's good enough and fit the doc objective, please let me know, 
I'll
forward the .ly file [and hurry the type setting of the last 2 pages]

Actually I was planning to finalize it and ask for lily experts [willing to] to 
do
some code review to help me produce better results with higher code quality.

Cheers,
David

--
Jonathan Kulp
http://www.jonathankulp.com
%******************************************************
% Inspirational header for Unfretted Strings section  %
% of Lilypond Documentation.  This passage is taken   %
% from Beethoven's String Quartet in E-flat major,    % 
% Op. 127, 2nd movement, measures 47-5?.  %
% ****************************************************%

%\version "2.11.61"

#(set-global-staff-size 15)
\paper{
 ragged-end=##t
 line-width=17\cm
 indent=0\cm
}

\layout {
 \context { \Score
   \remove "Bar_number_engraver"
   \override PaperColumn #'keep-inside-line = ##t
   \override NonMusicalPaperColumn #'keep-inside-line = ##t
 }
}

%*************** MACROS ******************%

piucresc = \markup { \italic { \fontsize #+2.0 "più  cresc." }}
pococresc = \markup { \italic { \fontsize #+2.0 "poco cresc." }}


vlnOne = \relative c' {
  \key aes \major
  \time 4/4
  \set Staff.midiInstrument = "violin"

  g16 g'8_\pococresc g32( aes bes16-.) bes8 bes32( c  % 47
\stemUp
  des16-.) es,-. es'-. es32( f  % 47
\stemNeutral
  g16-.) bes8( c32 des |        % 47

  es8-.) r r aes,16( es32 des c16) es8( f32 ges   % 48
  ges16-.)_\piucresc ges ~ ges32( aes bes c)    | % 48
    

}

vlnTwo = \relative c'' {
  \key aes \major
  \time 4/4
  \set Staff.midiInstrument = "violin"

  es16_\pococresc es,8 es32( f g16-.) g8 g32( aes  % 47
  bes16-.) g'8 g32( aes bes16-.) g8( aes32 bes  |  % 47

  c8-.) aes16([ es32 des] c8-.) aes' ~  % 48
  aes16 c8( des32 es) es16-._\piucresc es, ~ es32( f ges ges-.) | % 48


}

vlnTwoDyn = {

}

vla = \relative c' {
  \key aes \major
  \time 4/4
  \clef "alto"
  \set Staff.midiInstrument = "viola"
  <bes es>16_\pococresc g bes g des' es, des' es,   % 47
  <es des'>8 r r des''16( c32 bes                 | % 47
%\override Beam #'auto-knee-gap = #6 
\stemDown
  aes16) \stemUp c,,8 c32( es aes16-.)  % 48
\stemNeutral
  c8[ c32( des] es8-.)                  % 48
  aes16([ f32 des)] c16(_\piucresc aes32 c,) es'16( c32 aes)  | % 48


}

vlaDyn = {

}

vc = \relative c {
  \key aes \major
  \time 4/4
  \clef "bass"
  \set Staff.midiInstrument = "cello"
  
  es16_\pococresc des' es, des' es, des' es, des'   % 47
  es,16 r es'16( des32 bes es,16-.) r r8          | % 47

  r16 aes8 aes32( bes c16-.) es8[ es32( f]      % 48
  ges8-.) r16 aes,16 ~                          % 48
  aes32(_\piucresc es  c aes) aes16( ges32 es) | % 48

}
vcDyn = {

}


%%%%%%%%%%%%%%%% Score Block %%%%%%%%%%%%%%%%%%%%%%

\score {

  << % creates new grand staff
    \new StaffGroup = "strings" <<
    
      \context Staff = "violinOne" \vlnOne <<
        \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-2 . 2)
      >>
      \context Staff = "violinTwo" <<
        \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
        \context Voice = "violin 2" { \vlnTwo }
        \context Voice = "violin 2 dynamics" { \vlnTwoDyn }
      >>
      \new Staff = "viola" <<
        \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
        \context Voice = "viola" { \vla }
        \context Voice = "viola dynamics" { \vlaDyn }
      >>
      \new Staff = "cello" <<
        \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
        \context Voice = "cello" { \vc }
        \context Voice = "cello dynamics" { \vcDyn }
      >>
    >> % end of "strings" staffgroup

  >> % end of grand staff

  \layout {
    \context { \Staff
    %  \override VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 4)
    }
    \context {
      \Score
      \override TimeSignature #'stencil = ##f
      \override BarNumber #'padding = #3
      \override RehearsalMark #'padding = #2
        skipBars = ##t
    } % context \Score \overrides end
  } % layout end

  \midi { 
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 120 4)
    }
  }

} % score end

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to