[Top][All Lists]

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

Re: Suggestion: \breathe should include a \noBeam default option

From: Valentin Villenave
Subject: Re: Suggestion: \breathe should include a \noBeam default option
Date: Wed, 5 Mar 2008 13:12:15 +0100

2008/3/5, Mats Bengtsson <address@hidden>:

> Changing the default behaviour to always include the equivalent of \noBeam
>  is very easy, just add a line to the definition of \breathe in
>  ly/

I tried to achieve it but it's the first time I write such an advanced function.
Can you please review it?

#(define-music-function (parser location) ()
            (make-music 'SequentialMusic
              'origin location
              'elements   (list (make-music 'EventChord
              'elements   (list
                (make-music 'BeamForbidEvent)))
        (make-music  'EventChord
          'elements (list
       (make-music 'BreathingEvent))))))

        c'8 \breathe d'

>  Making it customizable with a context property setting is slightly more
>  advanced
>  but can still be done in Scheme.

I have to confess I have no idea how to create the property (nor how
to name it :)

> Since this will lead to an incompatible change of the default layout, I
>  would
>  propose to let convert-ly write out a warning about this change, if \breathe
>  is used in the file.

Yes... However, I'm happy to see that you regard it as a potentially
good idea ;)


reply via email to

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