lilypond-user
[Top][All Lists]
Advanced

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

Re: #'hide-tied-accidental-after-break


From: Peter O'Doherty
Subject: Re: #'hide-tied-accidental-after-break
Date: Thu, 05 Jul 2012 10:22:59 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 07/05/2012 09:06 AM, David Kastrup wrote:
Peter O'Doherty <address@hidden> writes:

Hi list,


When using these two lines together

#(set-accidental-style 'dodecaphonic) 
\override Accidental #'hide-tied-accidental-after-break = ##t


\override Accidental... cancels out the dodecaphonic command
everywhere in the score.
If you are using a somewhat recent version of LilyPond, the problem more
likely is that you accidentally did not set the accidental style in the
first place.  Note that #(set-accidental-style 'dodecaphonic) written in
music does nothing: it calculates music expressions that set the
accidental style, then returns them as a Scheme value, and LilyPond
ignores Scheme in music by default (not so as an argument of a music
function, however).

You have to write $(set-accidental-style 'dodecaphonic) instead, or more
simply,

\accidentalStyle "dodecaphonic"

Is there another way to avoid repeated accidentals on new staves but
still keep the accidental style 'dodecaphonic?
I find that
{
  \accidentalStyle "dodecaphonic"
  \override Accidental #'hide-tied-accidental-after-break = ##t
  cis~ cis cis~ cis~ \break cis~ cis cis~ cis
}

works just like I would expect.


Thanks for your help.
The accidental override doesn't work when the tied notes are contained within a << \\ >> construct. Is there a way to deal with these?

Regards,
Peter

-- 
//=============================
-> Peter O'Doherty
-> http://www.peterodoherty.net
-> address@hidden
-> https://joindiaspora.com/people/70716
//=============================

reply via email to

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