How can Lilypond be used to create music in free time, with bar lines only
where I explicitly put them in using \bar "|"? I've tried using \cadenzaOn but
then Lilypond mismanages accidentals. I need a bar line to stop the effect of
all accidentals (with the possible exception of notes tied from the previous
bar).
I see that similar questions have been asked before, but they did not get
satisfactory replies.
In particular, how can I avoid the following buggy behaviour in the following
example:
* the 2nd bar's 1st note is A# but lacks a #
* the 3rd bar's 2nd note has a needless natural; I'd prefer there to be no
needless accidentals except where I explicitly call for them using !
* the 3rd bar's 3rd note is G# but lacks a #
* the last note has a natural as well as a flat even though it's in a Staff
where extraNatural = ##f.
It would be nice if it could be made to work using \x at every place where I
would like a bar line, for a suitable definition of x. Here is mine, using
\cadenzaOff and \cadenzaOn as well as \bar, but perhaps something different is
needed.
%begin example%%%%%%%%%%
\version "2.13.6"
x = { \cadenzaOff \bar "|" #(set-accidental-style 'default) \cadenzaOn }
\score
{
\new Staff \with { extraNatural = ##f }
{ \cadenzaOn ais'1 \x ais'2 ais' gis' ais' \x a a' gis' ais' \x aes' }
}
%end example%%%%%%%%%%%%
_________________________________________________________________
Add your Gmail and Yahoo! Mail email accounts into Hotmail - it's easy
http://clk.atdmt.com/UKM/go/186394592/direct/01/
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user