lilypond-user
[Top][All Lists]
Advanced

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

Default Accidentals


From: Richard Grubb
Subject: Default Accidentals
Date: Thu, 5 Dec 2002 21:25:15 -0600

I am entering a piece of music in the key of D major. But lilypond 1.6.0 is putting a natural sign in front of all my f and c notes. I thought the default behavior was to print the note without any accidental and the musician would infer it was to be played as f sharp and c sharp from the key signature.

Here is the relevant portion of my input.

\include "property-init.ly"

instrument = "Guitar"

\version "1.6.0"

\include "paper16.ly"

\score{
        \notes {
                \time 4/4
                \key d \major
                \clef treble
                \relative c''{
                        f4. e8 d4 e4 | f4 eis4 f4 d4 | e4 e4 e4 e4 | e1 |
                        e4. d8 c4 d4 | e4 dis4 e4 c4 | d4 d4 d4 d4 | d1 |
                        a4. ais8 b4 a4 | a4 ais4 b4 a4 | a4 e'4 e4 e4 | e1 |
                        a4. ais8 b4 a4 | a4 ais4 b4 a4 | a4 f4 f4 f4 | f1 |
                        f4. e8 d4 e4 | f4 e4 f4 d4 | e4 e4 e4 e4 | e1 |
                        e4. d8 c4 d4 | e4 dis4 e4 f4 | d4 r4 a'2 | d4 r4 s4 r4 |
                }
       }

       \paper {
               textheight = 270.0\mm
               linewidth = 180.0\mm
       }
}





reply via email to

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