lilypond-user
[Top][All Lists]
Advanced

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

Re: decresce and enddecresce


From: Mats Bengtsson
Subject: Re: decresce and enddecresce
Date: Tue, 21 Oct 2003 16:38:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Did you search for "crescendo" in the index of the
reference manual?
In that case, you would have ended up at
http://lilypond.org/doc/v2.0/Documentation/user/out-www/lilypond/Dynamics.html

However, there are also predefined commands
\cresc, \endcresc, \dim, \enddim
but then the text of the diminuendo will be
"dim." and not "decresc.".

You could easily define your own macros, though.
The default ones (found in
/usr/share/lilypond/*/ly/spanner-init.ly) are
dim = \notes {
  #(ly:export (make-event-chord (list decr)))

  \property Voice.decrescendoText = \markup { \italic "dim." }
  \property Voice.decrescendoSpanner = #'dashed-line
}

enddim = \notes {
  #(ly:export (make-event-chord (list rced)))
   \property Voice.decrescendoText \unset
 \property Voice.decrescendoSpanner \unset
}

Unfortunately, it seems that these macros are
completely undocumented.

  /Mats

neuro wrote:
> Another small question, on Lilypond 2.0.1 ...
> 
> I know about the
> g4 \cresce g g \endcresce e2
> . But how is the coresponding decrescendo things?
> Lilypond doesn't know
> g4 \decresce g g \enddecresce e2
> 
> I don't want the hairpins here.  I want the text "decresc. - - - " ; and it
> automatically goes the right length of , say, 3 measures.
> 
> 
> Thank you very much
> 
> 
> neuro
> address@hidden
> address@hidden
> http://neuro.ohbi.net
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Lilypond-user mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/lilypond-user

-- 
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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