[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 3286: add single-C time signature style (issue 164830043 by ni
From: |
Dan Eble |
Subject: |
Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com) |
Date: |
Mon, 3 Nov 2014 08:11:02 -0500 |
On Nov 3, 2014, at 02:25 , Keith OHara <address@hidden> wrote:
>
>> 1. if there is a glyph of the right name, use it
>> 2. otherwise, fall back on numbered style
>>
>> would be a good idea? I was considering that.
>
> That kind logic is already at the end of
> Time_signature::special_time_signature() now, but I don't see any way to use
> it for anything except 2/2 and 4/4.
The logic used for neomensural, mensural, and any other style that is not
explicitly named in time-signature.cc results in a warning if the glyph is not
found.
For the “C” style, that logic is preempted so that it will not warn, but it
doesn’t try looking for other glyphs besides C22 and C44. (I believe we’re
talking about the same thing.) I was thinking of changing the “C” case work
more like the last-try case except without warning if there is no glyph.
> I was arguing that as the use-cases get more specific, where you would want
> to pick a particular glyph, figuring out what options to set is harder than
> the direct approach:
>
> {\override Staff.TimeSignature.stencil = #ly:text-interface::print
> \override Staff.TimeSignature.text =
> \markup {\musicglyph #"timesig.C22" \musicglyph #"timesig.C22" }
> \time 4/2 b1 b1 }
Yes, I see your point. You and the experience of converting C++ to Scheme have
convinced me that there is no good reason to add the double-C time signatures.
However, remembering that time signatures can sometimes be created without an
event (see below), I think it is valuable to let the user define a new style,
so I will make sure that that works.
\version "2.18"
<<
\new Staff {
\override Staff.TimeSignature.stencil = #ly:text-interface::print
\override Staff.TimeSignature.text =
\markup {\musicglyph #"timesig.C22" \musicglyph #"timesig.C22" }
\time 4/2 b1 b1
}
\new Staff {
b1 b1
}
>>
Thanks,
—
Dan
- Re: Issue 3286: add single-C time signature style (issue 164830043 by address@hidden), Dan Eble, 2014/11/01
- Re: Issue 3286: add single-C time signature style (issue 164830043 by address@hidden), Noeck, 2014/11/01
- Re: Issue 3286: add single-C time signature style (issue 164830043 by address@hidden), Dan Eble, 2014/11/01
- Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com), Keith OHara, 2014/11/02
- Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com), Dan Eble, 2014/11/02
- Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com), Keith OHara, 2014/11/03
- Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com), Noeck, 2014/11/03
- Re: Issue 3286: add single-C time signature style (issue 164830043by nine.fierce.ballads <at> gmail.com), Trevor Daniels, 2014/11/03
- Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com), Dan Eble, 2014/11/03
- Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com), Benkő Pál, 2014/11/04
- Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com),
Dan Eble <=
- Re: Issue 3286: add single-C time signature style (issue 164830043 by nine.fierce.ballads <at> gmail.com), Keith OHara, 2014/11/04