2011/1/19 Graham King <lilyp...@tremagi.org.uk>
> Thanks Jan, it works.  Much simpler than I expected - I had assumed that
> melismaBusyProperties had some state that needed to be restored.

Yes, it has - and fortunately that's what \unset does for us! :)
Also, i've just found something that may be useful for you:
\set ignoreMelismata = ##t
works like \set melismaBusyProperties = #'(), but it can be used in
lyrics context (therefore you can ignore melismata in one stanza and
don't ignore it in another one).
You can find more information in Notation Reference, chapter 2
(specialist notation) -> vocal music -> stanzas -> Stanzas with
different rhythms.

cheers,
Janek

> On Wed, 2011-01-19 at 14:00 +0100, Jan Warchoł wrote:
> > 2011/1/19 Graham King <lilyp...@tremagi.org.uk>:
> > > Thanks Ted, that works.
> > >
> > > The one remaining problem is restoring the default behaviour of melimas
> > > afterwards:
> > >
> > > The "\once" trick doesn't work.  I've also tried saving and restoring
> > > the default value of melismaBusyProperties in a temporary variable but,
> > > being ignorant of Scheme syntax, I just get a type error.  Likewise, I'm
> > > out of my depth stumbling around with \override and \revert.
> >
> > \unset is the correct answer (for all \set commands if i'm not mistaken):
> >
> > \version "2.13.45"
> > <<
> >   \relative a' {
> >     \set melismaBusyProperties = #'()
> >     a1 ~ a1 ~ a1 ~ a1
> >     \unset melismaBusyProperties
> >     b1 ~ b1 ~ b1 ~ b1
> >     c1
> >   }
> >   \addlyrics {
> >     An -- ge -- lor -- um
> >     Bla -- lah!
> >   }
> > >>
> >
> > cheers,
> > Janek
> --
> Graham King <lilyp...@tremagi.org.uk>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to