lilypond-devel
[Top][All Lists]
Advanced

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

Flageolett articulation above and below a chord (i.e. double articulatio


From: Reinhold Kainhofer
Subject: Flageolett articulation above and below a chord (i.e. double articulations are discarded)
Date: Mon, 31 Aug 2009 21:51:11 +0200
User-agent: KMail/1.11.4 (Linux/2.6.28-15-generic; KDE/4.2.4; i686; ; )

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

I'm currently typesetting several excepts from Dvorak's Cello concert, and in 
one place (end of the second movement), there are two two-note chords with a 
flageolett above and below the chord (one \flageolet for each of the two notes).

Unfortunately, I'm unable to produce this in lilypond at all. Only the first 
articulation of each type is assigned. All further ones are ignored. Sample 
file is attached

In Script_engraver::listen_articulation (lily/script-engraver.cc) there is the 
code:

Script_engraver::listen_articulation (Stream_event *ev)
{
  /* Discard double articulations for part-combining.  */
  int script_count = scripts_.size ();
  for (int i = 0; i < script_count; i++)
    if (ly_is_equal (scripts_[i].event_
                     ->get_property ("articulation-type"),
                     ev->get_property ("articulation-type")))
      return;


Do we really need this check? Or can we find another workaround for 
partCombine? 



Another question: if I use 
  \once\override Script #'toward-stem-shift = #-0.6
to move the flageolett away from the stem, the y-position is still the same as 
if it would collide with the stem. I would rather like it to "fall down" 
towards the staff. How can this be achieved?

Apparently, I don't understand how the vertical placement is calculated...

This is also included in the attached file.

Thanks a lot,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKnCm0TqjEwhXvPN0RAiNWAJ9fQkq6k37M+pZCNq65Gfk4uKuXrgCg0LSA
B4DXUqx3hZgRQ1z6c6sIyW8=
=3YEG
-----END PGP SIGNATURE-----

Attachment: flag.pdf
Description: Adobe PDF document

Attachment: flag.ly
Description: Text Data


reply via email to

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