-----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, [email protected], 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-----
flag.pdf
Description: Adobe PDF document
\version "2.13.3"
\pointAndClickOff
smallFlageolet =
#(let ((m (make-music 'ArticulationEvent
'articulation-type "flageolet")))
(ly:music-set-property! m 'tweaks
(acons 'font-size -2
(ly:music-property m 'tweaks)))
m)
#(ly:set-option 'debug-skylines)
% \displayMusic
\relative c'{
% single flageolets work:
<e d'>_\smallFlageolet
<e d'>^\smallFlageolet
% flageolet above and below does not work:
<e d'>_\smallFlageolet^\smallFlageolet
% If I move the flageolett away from the stem, how can i make it fall down towards the staff?
\once\override Script #'toward-stem-shift = #-0.6
<e d'>^\smallFlageolet
\once\override Script #'toward-stem-shift = #-0.6
<c g' g'>^\smallFlageolet
}_______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
