(
On 12/8/2017 2:09 PM, Chris Jones wrote:
I would need some help removing the autmatically generated natural signs
that I see in lilypond's output.
|   melody = \relative c {
|     \global
|       \partial 16 d'16                         \bar "||"
|       \set melismaBusyProperties = #'()
|       \autoBeamOff
|       \set Staff.extraNatural = ##f
|       g4.. g16 f8. g16 a8. g16                        |   % b01

... expecting to see output with no accidentals.
See below.

Obvious workaround is coding "fis8l." instead of "f8." to get rid of
that extra natural sign:
Yes. This is correct. It's one of the great things about LilyPond in my 
opinion. (how it works semantically, etc)
|       g4.. g16 fis8. g16 a8. g16                      |   % b01

... and remember to do the same for every "F" in my .ly file.

I have read the section entitled "Warning: key signatures and pitches"
in the lilypond learning manual at least a dozen times and I still don't
see why I would need to do that.

Wouldn't this become rather painful/tedious if the gentleman who wrote
this particular song had had the bright idea of transposing it to
a fancier key like... G# major for instance?

If that were the case I would have to add an "is" to just about every
single note in the score!


(from documentation)
"...

To determine whether to print an *accidental*, LilyPond examines the pitches and the key signature. The key signature only affects the */printed/***accidentals, not the note’s pitch!
--> This is a feature that often causes confusion to newcomers, so let 
us explain it in more detail.
LilyPond makes a clear distinction between musical content and layout. 
The alteration (flat, natural sign or sharp) of a note is part of the 
pitch, and is therefore musical content. Whether an accidental (a 
*/printed/***flat, natural or sharp sign) is printed in front of the 
corresponding note*is a question of layout*. Layout is something that 
follows rules, so accidentals are printed automatically according to 
those rules. The pitches in your music are works of art, so they will 
not be added automatically, and you must enter what you want to hear."

Hope this helps :)

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to