[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change print-appearance of chord members to different duration, but
From: |
Nils Hammerfest |
Subject: |
Re: Change print-appearance of chord members to different duration, but not the logic behind. |
Date: |
Tue, 26 Apr 2011 12:27:01 +0200 |
Eventhough I thought I had prevented this it happened :)
That you can rewrite the notehead replacement to any glyph I want does not
change the fact that it is exactly the glyph/notehead I give it. Once the
enviroment changes I have to replace all the noteheads. Imagine this for a
complex piano score where you need this kind of mixed-duration chords.
Yes, I know I can use variables but its still less elegant than using
duration-log.
Nils
On Tue, 26 Apr 2011 06:10:30 -0400
"address@hidden" <address@hidden> wrote:
> On Apr 26, 2011, at 6:04 AM, Nils wrote:
>
> > Thank you for your answer. This is what I'm looking for.
> > { <c' e' \tweak #'duration-log #1 g'> }
> > because it respects notehead-styles.
> >
> > The other method mentioned is limited to one style.
> >
>
> The other one can use any glyph you'd like.
>
> > Do you know how breve and longa can be produced with that? #breve or #0.5
> > does not give an error, but it also does not work.
>
> { <\tweak #'stencil #(lambda (grob) (grob-interpret-markup grob (markup
> #:musicglyph "noteheads.slmensural"))) f' a' c''> }
>
> You can throw whatever you want in there...
>
> { <\tweak #'stencil #(lambda (grob) (grob-interpret-markup grob (markup
> #:musicglyph "clefs.G"))) f' a' c''> }
>
> Cheers,
> MS
>