[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-musicglyph-markup puzzle
From: |
Dan Eble |
Subject: |
Re: make-musicglyph-markup puzzle |
Date: |
Fri, 7 Nov 2014 21:50:05 -0500 |
> On Nov 7, 2014, at 20:04 , Dan Eble <address@hidden> wrote:
>
> I’m having trouble figuring out how to make this function fall back on
> another time signature style (make-simple-numbered-time-signature-markup
> fraction) if the requested glyph is not present.
>
> (define-public (make-glyph-time-signature-markup style fraction)
> (make-musicglyph-markup (string-append
> “timesig.”
> (symbol->string style)
> (number->string (car fraction))
> (number->string (cdr fraction)))))
>
> Using this function as-is, there is a warning that no symbol is found, and no
> time signature of any kind is printed. The code in master prints a numbered
> time signature if no symbol is found. Is it worth trying to preserve the
> current behavior?
I forgot to mention a very important fact: this is for mensural and neomensural
time signatures. The C style is implemented differently and works as it always
has.
—
Dan