lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proposal for change to arabic.ly


From: Brian Guo
Subject: Proposal for change to arabic.ly
Date: Fri, 27 Mar 2015 19:28:40 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

In the manual, for the section on Arabic music, I read that

"The symbol for semi-flat does not match the symbol which is used in Arabic 
notation... The appearance of the semi-flat symbol in the key signature 
cannot be altered by using this [the \dwn command] method."

However, I have found a way without using the \dwn command, which changes 
all the semiflat symbols to the "flat with slash" symbol, while retaining 
the correct pitches (unlike \dwn) and changing the key signature symbol as 
well.

Therefore, I would like to propose the following change (add the following 
code to the beginning of the file):

arabicGlyphs = #`((1 . "accidentals.doublesharp")
       (3/4 . "accidentals.sharp.slashslash.stemstemstem")
       (1/2 . "accidentals.sharp")
       (1/4 . "accidentals.sharp.slashslash.stem")
       (0 . "accidentals.natural")
       (-1/4 . "accidentals.flat.slash")
       (-1/2 . "accidentals.flat")
       (-3/4 . "accidentals.flatflat.slash") %unattested but this symbol is 
used for compatibility
       (-1 . "accidentals.flatflat"))

\layout {
  \context {
    \Score
    \override KeySignature.glyph-name-alist = \arabicGlyphs
    \override Accidental.glyph-name-alist = \arabicGlyphs
    \override AccidentalCautionary.glyph-name-alist = \arabicGlyphs
    \override TrillPitchAccidental.glyph-name-alist = \arabicGlyphs
    \override AmbitusAccidental.glyph-name-alist = \arabicGlyphs
  }
}

An overview of how it looks can be seen here:
http://s722.photobucket.com/user/Brian_Xuan-
Tong_Guo/media/flat_zpscmkfwvz6.png.html?sort=3&o=0
(The top staff shows how it currently looks, while the bottom staff shows 
how it will look if this proposal is accepted. The first note of each pair 
shows an artificially-created semiflat by synthesizing a normal flat with a 
\dwn stroke, while the second note shows how a normal semiflat would look.)

Thanks for your consideration.

Regards,
Brian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]