2013/8/17 Thomas Morley <thomasmorle...@gmail.com>

>
> > 2) property setting music objs. in music-functions.scm
>
> Here I don't understand.
> Could you c/p what you did?


OK.
In LilyPond scm files, there is one named music-functions.scm.
If you open it, at the end of the first quater you'll see :

 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; property setting music objs.

.... bla bla

(define-safe-public (make-voice-props-set n)
  (make-sequential-music
   (append
    (map (lambda (x) (make-grob-property-set x 'direction
                                             (if (odd? n) -1 1)))
         direction-polyphonic-grobs)
    (list
     (make-property-set 'graceSettings
                        ;; TODO: take this from voicedGraceSettings or
similar.
                        '((Voice Stem font-size -3)
                          (Voice Flag font-size -3)
                          (Voice NoteHead font-size -3)
                          (Voice TabNoteHead font-size -4)
                          (Voice Dots font-size -3)
                          (Voice Stem length-fraction 0.8)
                          (Voice Stem no-stem-extend #t)
                          (Voice Beam beam-thickness 0.384)
                          (Voice Beam length-fraction 0.8)
                          (Voice Accidental font-size -4)
                          (Voice AccidentalCautionary font-size -4)
                          (Voice Script font-size -3)
                          (Voice Fingering font-size -8)
                          (Voice StringNumber font-size -8)))

     (make-grob-property-set 'NoteColumn 'horizontal-shift (quotient n
2))))))

As it is written, you have to re-write your grace settings in this file in
order to have the desired effect.
So I was thinking that, maybe, in your code, you also have to write somehow
these double settings.
Hope that helps.



> Btw, I stumbled on it, while rewriting
> http://lsr.dsi.unimi.it/LSR/Item?id=566
> See:
>
> http://lilypond.1069038.n5.nabble.com/flam-snippet-not-working-td149310.html
>
> Once I'm satisfied, I'll add the commented 2.16.2-code to the LSR-snippet.
> If you seriously want to tackle LSR-upgrade, you'll find some other
> snippets with such annotations.
>

Yes I've seen that this afternoon.
Thanks Harm.

Cheers,
Pierre
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to