lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond hangs on a script after adding fingering


From: gajatko
Subject: Re: Lilypond hangs on a script after adding fingering
Date: Sat, 31 Dec 2011 09:39:53 -0800 (PST)

Robin Bannister wrote:
gajatko wrote: > in future I will also need numbers like 9,11,13 etc. Check out LSR 756 http://lsr.dsi.unimi.it/LSR/Item?id=756 and some context http://lists.gnu.org/archive/html/lilypond-user/2011-03/msg00138.html Cheers, Robin
Thank you, it does most of work. Unfortunately, it completely ignores the
\set fingeringOrientations = #'(right)
This a code I am using:
ten =
#(make-music 'FingeringEvent
             'digit 10)

fifty =
#(make-music 'FingeringEvent
             'digit 50)

finger =
#(define-music-function (parser location digit) (integer?)
   (make-music 'FingeringEvent
               'digit digit))

#(define (calc-finger-without-warning grob)
   (let* ((event (event-cause grob))
	  (digit (ly:event-property event 'digit)))
     (number->string digit 10)))

\relative c' {
  % optional override to remove warnings for fingerings larger than 5
  \override Fingering #'text = #calc-finger-without-warning
 \set fingeringOrientations = #'(right)
  c1\ten
  c1\fifty
  c1-\finger #36
  c1-\finger #29
}
Greetings

View this message in context: Re: Lilypond hangs on a script after adding fingering
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.

reply via email to

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