bug-lilypond
[Top][All Lists]
Advanced

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

Switcing accidental style doesn't always work


From: Ole Vedel Villumsen
Subject: Switcing accidental style doesn't always work
Date: Mon, 4 Jul 2011 18:20:16 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

In a piano composition I chose #(set-accidental-style 'piano-cautionary), but a
few of the reminders (cautionary accidentals) seemed more confusing than
helpful. I thought I could switch to 'default. I could, it worked; but then I
couldn't switch back to 'piano-cautionary again.

Example:

\version "2.14.1"

\relative c' {
  \time 4/4

  #(set-accidental-style 'piano-cautionary)
  gis'1 g  % gives natural in brackets as expected
  #(set-accidental-style 'default)
  dis d    % no accidental before d; as expected
  #(set-accidental-style 'piano-cautionary)
  ais' a   % expected natural in brackets before a, didn't get
}

The work-around I found was to give all cautionary accidentals explicitly using
the question mark syntax:

\version "2.14.1"

\relative c' {
  \time 4/4

  gis'1 g?
  dis d
  ais' a?
}

The latter snippet gives the behaviour I had expected from the former.




reply via email to

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