lilypond-user
[Top][All Lists]
Advanced

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

Re: dotted or dashed phrasing slurs


From: Mats Bengtsson
Subject: Re: dotted or dashed phrasing slurs
Date: Sun, 09 Mar 2008 21:01:52 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

If you use version 2.11, please note that this is one thing that has
changed, so please use the corresponding definitions
from ly/property-init.ly as a starting point. If I remember
correctly, convert-ly will issue a warning but will not solve the
problem automatically, when you upgrade your file.

  /Mats

Quoting Reinhold Kainhofer <address@hidden>:

Am Samstag, 8. März 2008 schrieb Reinhold Kainhofer:
Am Samstag, 8. März 2008 schrieb Peter Kaplan:
> I am interested in making phrasing slurs that are (graphically, not
> rhythmically) dotted or dashed, in order to differentiate them visually
> from ordinary legato slurs (to be represented with solid slurs).  Is
> there a way to do this straightforwardly in lilypond?

http://lsr.dsi.unimi.it/LSR/Item?id=133

Oh, right, if you want to have these settings apply to real phrasing slurs
generated by \( and \), then you can't use \slurDashed, but have to apply the
appropriate settings on the PhrasingSlur object. if you look at the file
ly/property-init.ly, there is the definition for \slurDashed:

slurDashed = {
 \override Slur #'dash-period = #0.75
 \override Slur #'dash-fraction = #0.4
}

This sets the appropriate settings for slurs. For phrasing slurs, you would
simply have to define your own command, setting dash-period for PhrasingSlur:

phrasingSlurDashed = {
 \override PhrasingSlur #'dash-period = #0.75
 \override PhrasingSlur #'dash-fraction = #0.4
}
phrasingSlurDotted = {
 \override PhrasingSlur  #'dash-period = #0.75
 \override PhrasingSlur #'dash-fraction = #0.1
}
phrasingSlurSolid = {
 \revert PhrasingSlur #'dash-period
 \revert PhrasingSlur #'dash-fraction
}

Sample file (the lsr example, adapted to phrasing slurs) is attached.

cheers,
Reinhold

PS: I wonder if we shouldn't add these definitions to ly/property-init.ly for
the sake of consistency...

--
------------------------------------------------------------------
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/








reply via email to

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