bug-lilypond
[Top][All Lists]
Advanced

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

dodecaphonic-no-repeat and missing accidentals


From: Gilberto Agostinho
Subject: dodecaphonic-no-repeat and missing accidentals
Date: Tue, 13 Sep 2016 08:35:52 -0700 (MST)

Hello all,

The accidental style dodecaphonic-no-repeat should output accidentals
similarly to the dodecaphonic style (i.e. accidentals to every single note)
except when dealing immediate repetitions (e.g. only the first note in
{cis'4 cis' cis' cis'} would get an accidental). But when one starts using
it together with chords, some accidental problems can happen:

\version "2.19.37"

\markup {"Everything as expected"}
{
  \accidentalStyle dodecaphonic-no-repeat
  des'2 des'
  <des' fis' gis'> q
}

\markup {"The des' in the second beat of each bar is missing its
accidental"}
{
  \accidentalStyle dodecaphonic-no-repeat
  des'2 <des' fis' gis'>
  q des'
}

\markup {"This can lead to a very messy situation"}
{
  \accidentalStyle dodecaphonic-no-repeat
  <des' fis' gis' b>4
  <des' f' aes' b>
  <des' fis' aes' d''>
  <bes e' aes' d''>
}

Producing:

<http://lilypond.1069038.n5.nabble.com/file/n194485/46.png> 

As the example above shows, when a second note or chord is not identical to
a first chord but contains one or more identical pitches, these do not get
accidentals. I don't think this behaviour is correct, as it leads to a very
confusing output. IMO, the best approach is the following: if a note is
identical to a previous note or if a chord is identical to a previous chord,
then their accidentals are omitted, else print all accidentals. So this
behaviour would output something like the image below, in which notes and
chords with omitted accidentals are marked with an asterisk:

<http://lilypond.1069038.n5.nabble.com/file/n194485/26.png> 

Regards,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/dodecaphonic-no-repeat-and-missing-accidentals-tp194485.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

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