[Top][All Lists]

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

Re: Force Accidentals

From: Stephen
Subject: Re: Force Accidentals
Date: Mon, 18 Jul 2005 05:55:39 -0500

Erik Sandberg wrote:

On Saturday 16 July 2005 09.10, Mehmet Okonsar wrote:
Here is a short .ly to illustrate what I expect :

One case is still unclear: What about

{ c' cis'' c'}
Should the last c' has a natural?

Imagine if you reversed that:
{cis' c'' cis'}
Should the last cis' get a sharp?

The idea is to treat the natural as an accidental. The purpose is to indicate to the musician that there is no key. Normaly, if we are in the key of C-sharp, c' requires a natural, if we are in the key of C, cis' requires a sharp, so if there is no key, c' requires a natural and cis' requires a sharp. It is a way to emphasis that there is no tone center, there is no tonic and there is no key in Atonal Music.

The answer to your question is the same as the answer to mine. Treat the natural the same as the sharp. Like the sharp, it depends on whether the last note falls within the same measure as the first two.

This does do the job:

 atonicKey =
 #(def-music-function (parser location) ()
    #{ #(ly:export (make-music 'EventChord
                    'origin $location
                    'elements (list (make-music 'KeyChangeEvent
                                     'tonic (ly:make-pitch -1 4 0)
                                     'pitch-alist '((5 . 1)
                                                    (6 . 1)
                                                    (0 . 1)
                                                    (1 . 1)
                                                    (2 . 1)
                                                    (3 . 1)
                                                    (4 . 1))))))
       \set Score . extraNatural = ##f #})

 \context PianoStaff <<
 \override PianoStaff.KeySignature #'print-function = ##f



lilypond-devel mailing list

reply via email to

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