lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cello fingering indications


From: Colin Campbell
Subject: Re: Cello fingering indications
Date: Sun, 30 Oct 2011 20:50:09 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 11-10-27 09:21 PM, Colin Campbell wrote:
My cello teacher is quite insistent that I get accustomed to keeping fingers in place while I'm going between strings, so I'm asking about the best way to code that in LP. The only thing I've found is repeatCommands, as in this:

%<------------------------------------%<
\version "2.15"
celloII = \relative c {
  \key d \major
  \clef bass
    \time 4/4

   %13
  d8-0 \set Score.repeatCommands = #'((volta "3"))
   fis-3 a-0 d-4 \set Score.repeatCommands = #'((volta #f))
   a,-1 \set Score.repeatCommands = #'((volta "1"))  e'-1 a-0 cis-3
    \set Score.repeatCommands = #'((volta #f))
}

\score {
  \celloII
\layout {}
}
%<------------------------------------%<

Surely I'm missing something less brutal than that! My instructor wants to make the held fingering explicit in many, many bars, and as long as he's waving the pencil, I'm unconcerned. When I'm running the exercise through LP to get it larger and cleaner, I'm seriously concerned, and very much open to suggestions!



Further Googling gives http://lsr.dsi.unimi.it/LSR/Snippet?id=616 :
%<-------------------------------------------

stringNumberSpanner =
#(define-music-function (parser location StringNumber) (string?)
  #{
    \override TextSpanner #'style = #'solid
    \override TextSpanner #'font-size = #-5
    \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
    \override TextSpanner #'(bound-details left text) = \markup { \circle 
\number $StringNumber }
  #})


\relative c {
  \clef "treble_8"
  \stringNumberSpanner "5"
  \textSpannerDown
  a8\startTextSpan
  b c d e f\stopTextSpan
  \stringNumberSpanner "4"
  g\startTextSpan a
  bes4 a g2\stopTextSpan
}

%<-------------------------------------------

which is closer in appearance, but I haven't the Scheme fu to modify the stringNumberSpanner function to incorporate the startTextSpan and number of notes. Ideally, one would wind up with something like a8\fSpan {"5" 4} which would extend a line for 4 of the note value of the starting note.

Maybe I'll have a chance to RTFM about Extending, but for the moment, desperately in need of practice as I am, the analog pencil will have to suffice!

Cheers,
Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]