lilypond-user
[Top][All Lists]
Advanced

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

Re: Showing instrument name and correct clef with cue notes


From: Reinhold Kainhofer
Subject: Re: Showing instrument name and correct clef with cue notes
Date: Fri, 15 Feb 2008 21:05:28 +0100
User-agent: KMail/1.9.6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Freitag, 15. Februar 2008 schrieb Simon Bailey:
> i remembered that there was an instrumentCueName property defined at
> some point, and have extended the solution a bit more.

Thanks!  I also found the instrumentCueName in an LSR example, but since that 
example was only for instrumentSwitch (and a grep through the lilypond code 
also found just one occurence in the Instrument_switch_engraver), I thought 
it would only be used on an explicit \instrumentSwitch. Apparently, however, 
the InstrumentSwitch is automatically inserted whenever the instrumentCueName 
changes! Thanks for that hint.

I now really created such a function as you suggest and submitted it to the 
LSR:
http://lsr.dsi.unimi.it/LSR/Item?u=1&id=388

I also changed the \set fontSize = #-3 to a simple \override InstrumentSwitch 
#'font-size =#-3, which applies only to instrument switches and does not need 
resetting.

Chers,
Reinhold

PS: Ideally, there would be a way to set istrumentCueName directly for the 
quoted voice and lilypond would simply detect this and use the cue name 
automatically. However, while calling \addQuote on a Voice object works, the 
instrumentCueName property of that voice is simply ignored by \cueDuring...

PS2: Is there anything that resets a property, that was changed by \set ? Just 
like \revert undoes the last \override.
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHtfCLTqjEwhXvPN0RAo1WAKDR0agk0+/vxZggz03IkLioEKClLQCg1634
oiS69xchmgZT4XBORDuz3Ek=
=oZyE
-----END PGP SIGNATURE-----




reply via email to

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