lilypond-devel
[Top][All Lists]
Advanced

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

Re: accidentals - double, editorial and invisible


From: Han-Wen Nienhuys
Subject: Re: accidentals - double, editorial and invisible
Date: Mon, 16 Jun 2003 15:43:49 +0200

address@hidden writes:
> Notice that I have not changed the new-accidental-engraver (sigh) so the 
> patch does not compile the docu because it complains about the old 
> properties. If one removes the new-accidental-engraver then it compiles.
> 
> Should really find some better names for accidenal-count and 
> cautionary-count; - currently cautionary-count is the total number of 
> accidentlas; and accidental-count is the number of un-cautionary 
> accidentals. un-cautionary-count is not a word that i like.

I wonder whether using counts is the right solution: it doesn't
reflect typesetting (who ever uses !!!!! ?), nor musical meaning. It
seems like a quick hack. Can't we make up something neater for the
internal presentation?

> > Invisible accidentals? What are those for? 
> 
> I don't remember who, but someone mentioned that in older editions one 
> often didn't always insert all accidentals; if everybody knew that the 
> accidental was to be there then there was no need to explicitly insert 
> it into the music.
> Well, in the attached patch, one can say cis!!! to omit the accidental 
> (all it took was a few %3 in the parser).

 
> > probably something like ges-\editorialSharp.  One could use a scheme
> > function or a special Performer to select which accidentals to use.
> 
> Hmmm, Theese accidentals would not transpose, would they?

depends on how they are implemented/stored.

> ===================================================================
> RCS file: /cvsroot/lilypond/lilypond/lily/accidental.cc,v
> retrieving revision 1.12
> diff -p -u -r1.12 accidental.cc
> --- lily/accidental.cc        7 Dec 2002 12:40:49 -0000       1.12
> +++ lily/accidental.cc        16 Jun 2003 12:36:40 -0000
> @@ -9,7 +9,9 @@
>  
>    'accidentals should go, for a single 'accidental property -- see
>    accidental-placement.cc
> -
> +  ---
> +  ??? What was the idea with this? I saw nothing in accidental-placement.cc
> +  -rz
>  */

The idea is that each Accidental grob prints only one #, natural or
b. Then accidental-placement figures out how to align them. This makes
it possible to use

   natural #

in chords, and optionally place them like

   natural  #
  (natural)   b
   natural  #




-- 

Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 




reply via email to

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