[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/music-functions-init.ly
I tried to achieve it but it's the first time I write such an advanced function.
Can you please review it?
breathe=
#(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 ;)
Cheers,
Valentin
- Suggestion: \breathe should include a \noBeam default option, Valentin Villenave, 2008/03/04
- Re: Suggestion: \breathe should include a \noBeam default option, Mats Bengtsson, 2008/03/05
- Re: Suggestion: \breathe should include a \noBeam default option,
Valentin Villenave <=
- Re: Suggestion: \breathe should include a \noBeam default option, Mats Bengtsson, 2008/03/05
- Re: Suggestion: \breathe should include a \noBeam default option, Valentin Villenave, 2008/03/05
- Re: Suggestion: \breathe should include a \noBeam default option, Arvid Grøtting, 2008/03/06
- Re: Suggestion: \breathe should include a \noBeam default option, Mats Bengtsson, 2008/03/06
- Re: Suggestion: \breathe should include a \noBeam default option, Arvid Grøtting, 2008/03/07
- Re: Suggestion: \breathe should include a \noBeam default option, Valentin Villenave, 2008/03/06