[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing flag style/stencil should affect metronome mark, shouldn't
From: |
Thomas Morley |
Subject: |
Re: changing flag style/stencil should affect metronome mark, shouldn't it? |
Date: |
Sun, 6 Jan 2013 18:19:49 +0100 |
2013/1/6 Federico Bruni <address@hidden>:
> Il 06/01/2013 16:09, Karol Majewski ha scritto:
>
>> Hi there,
>>
>> I don't see how can change flag style (stencil) in metronome mark.
>>
>>
>> \version "2.17.9"
>> {
>> \override Flag.stencil = #old-straight-flag
>> \set autoBeaming = ##f
>> \tempo 8 = 120
>> c'8 d' e' f' g' a' b' c''
>> }
>>
>> I wish *\override Flag.stencil = #old-straight-flag* worked.
>> Unfortunately,
>> it doesn't.
>
>
> The override has been applied to music, not to the metronome mark.
> IIUC, MetronomeMark is a markup object. In the thirdd snippet here you find
> an example to modify it:
> http://lilypond.org/doc/v2.17/Documentation/notation/displaying-rhythms#metronome-marks
>
> I know that you can modify the notehead style inside a markup, I don't know
> if you can also modify the flag style.
>
> See this example:
>
> \version "2.17.10"
> {
> \set autoBeaming = ##f
> \tempo \markup {
> \concat {
> (
> \smaller \general-align #Y #DOWN
> \override #'(style . mensural) {
> \note #"8" #1
> }
> " = "
> \general-align #Y #DOWN 120
>
> )
> }
> }
> c'8 d' e' f' g' a' b' c''
> \override Flag.stencil = #old-straight-flag
> c' d' e' f' g'
>
> }
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
Hi,
the MetronomeMark is formated by `format-metronome-markup' and
`metronome-markup' from /scm/translation-functions.scm.
`metronome-markup' uses the `note-by-number'-markup-command.
`note-by-number' has a 'style-property', but it determines _only_ the
note-head _not_ the flag-style.
Seems to be a bug.
Example:
If 'style is set 'mensural, `note-by-number' returns ugly output for
short note-durations (same with \note):
\markup {
\override #'(style . mensural)
{
\note-by-number #3 #0 #1
\note #"8" #1
}
}
Btw, the output of
\new Voice {
\override Flag.style = #'mensural
\override Stem.thickness = #1.0
\override NoteHead.style = #'mensural
c'8
}
isn't convincing, too.
The stem and the flag aren't combined well.
(Use high zoom to view it)
Nevertheless, even if the `note-by-number'-command would work well,
there's currently no possibility to convince `metronome-markup' to
look at any note/flag-style-property, afaik.
Fixing this wouldn't be trivial.
For now you could construct your own note via adding a new constructed
flag to a note.
Perhaps with some combining of \note and \translate a \beam.
Sorry to be of not more help,
Harm
- changing flag style/stencil should affect metronome mark, shouldn't it?, Karol Majewski, 2013/01/06
- Re: changing flag style/stencil should affect metronome mark, shouldn't it?, Federico Bruni, 2013/01/06
- Re: changing flag style/stencil should affect metronome mark, shouldn't it?,
Thomas Morley <=
- Re: changing flag style/stencil should affect metronome mark, shouldn't it?, Thomas Morley, 2013/01/06
- Re: changing flag style/stencil should affect metronome mark, shouldn't it?, Colin Hall, 2013/01/09
- Re: changing flag style/stencil should affect metronome mark, shouldn't it?, Thomas Morley, 2013/01/10
- Re: changing flag style/stencil should affect metronome mark, shouldn't it?, Colin Hall, 2013/01/10
- Re: changing flag style/stencil should affect metronome mark, shouldn't it?, Colin Hall, 2013/01/12
Re: changing flag style/stencil should affect metronome mark, shouldn't it?, Colin Hall, 2013/01/09