lilypond-user
[Top][All Lists]
Advanced

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

Re: problem with crescendo-text


From: Stefan Thomas
Subject: Re: problem with crescendo-text
Date: Mon, 8 Sep 2008 14:34:36 +0200

I found a solution! Not the best one, in my opinion, but at least it works:
\version "2.11.49"
pcresc = #(define-music-function (parser location x) (ly:music?)
     #{
         \context Voice <<        $x {   \setTextCresc \override DynamicTextSpanner #'dash-period = #-1.0 s 1*0\p \<  \setHairpinCresc  } >>
     #})
\version "2.11.49"
{
\pcresc c' d' e' f' g' 1 \f
c' 4\p \< d' e' f' g' 1 \f
}
But I would prefer to write the \pcresc command after (and not before) the note. Is it possible to organize it in this way?
2008/9/8 Stefan Thomas <address@hidden>
Yes, I understand it is not possible in the way I tried.
But the problem is: I have already defined a "\pcresc" command and I would like to change it once for the whole score, if possible.

2008/9/8 James E. Bailey <address@hidden>

On 08.09.2008, at 13:46, Stefan Thomas wrote:

Dear James, Dear Kieren,
thanks for Your help. I tried to create a variable, but it didn't work, unfortunately.
I tried it with:
pcresc = {  \setTextCresc \override DynamicTextSpanner #'dash-period = #-1.0 \p \<  }
Is it possible to do something like this?

no, but you only need to set those once, so if you begin your input by setting text crescendo and removing the line spanner, then it's set until you change it again.



reply via email to

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