Re: dynamic spanner help

2008-07-10 Thread Patrick McCarty
On Wed, Jul 9, 2008 at 3:10 PM, James E. Bailey [EMAIL PROTECTED] wrote:

 Am 09.07.2008 um 23:34 schrieb Patrick McCarty:

 The Dynamic_engraver was recently split into the
 New_dynamic_engraver and the Dynamic_align_engraver, so if you
 include these engravers instead of Dynamic_engraver, both of your
 examples will work.  Here's the latter one (modified):

 Thanks tons, so, what does the Dynamic_engraver do then?

I don't know.  AFAIK, it is not serving any purpose, since its
functionality has been transferred to the two new engravers.

-Patrick


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


dynamic spanner help

2008-07-09 Thread James E. Bailey
I've not understood this for a while, and I figure I should probably  
ask about it. When I have dynamics in a variable, the text spanner  
shows up and I can't get rid of it.

\version 2.11.51
\layout {
   \context {
  \type Engraver_group
  \name VocalDynamics
  \alias Voice
  \consists Text_engraver
  \consists Dynamic_engraver
  \consists Text_engraver
  \override TextScript #'font-shape = #'italic
   }
   \context {\Staff \accepts VocalDynamics}
}
Voice = \relative { e1 f g e a g f d }
VoiceDynamics = \new VocalDynamics {
   \override DynamicTextSpanner #'dash-period = #-1.0
   \dimTextDim
   s1*3\ s1\!
   \crescTextCresc
   s1*3\ s1\!
   \setHairpinDim
}

\score {
   \new Staff  \VoiceDynamics \Voice
   \layout {}
}

\relative c'' {
   \override DynamicTextSpanner #'dash-period = #-1.0
   \crescTextCresc
   c1\ | d | b | c\!
}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


dynamic spanner help

2008-07-09 Thread James E. Bailey
Also, the \crescTextCresc and \dimTextDim work like there's a \once in  
front of them when they're in the variable.

\version 2.11.51
\layout {
   \context {
  \type Engraver_group
  \name VocalDynamics
  \alias Voice
  \consists Text_engraver
  \consists Dynamic_engraver
  \consists Text_engraver
  \override TextScript #'font-shape = #'italic
   }
   \context {\Staff \accepts VocalDynamics}
}
Voice = \relative { e1 f g e a g f d }
VoiceDynamics = \new VocalDynamics {
   \override DynamicTextSpanner #'dash-period = #-1.0
   \dimTextDim
   s1*3\ s1\!
   \crescTextCresc
   s1*3\ s1\!
   \setHairpinDim
}
AlternateDynamics = \new VocalDynamics {
   \dimTextDim
   s1 s\ s s\!
   s1 s\ s s\!
}

\score {
   \new Staff  \VoiceDynamics \Voice
   \layout {}
}
\score {
   \new Staff  \AlternateDynamics \Voice 
   \layout {}
}

\relative c'' {
   \override DynamicTextSpanner #'dash-period = #-1.0
   \crescTextCresc
   c1\ | d | b | c\!
   c\ d b c\!
}



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: dynamic spanner help

2008-07-09 Thread Patrick McCarty
Hi James,

On Wed, Jul 9, 2008 at 9:35 AM, James E. Bailey [EMAIL PROTECTED] wrote:
 On Wed, Jul 9, 2008 at 8:25 AM, James E. Bailey [EMAIL PROTECTED] wrote:

 I've not understood this for a while, and I figure I should probably ask
 about it. When I have dynamics in a variable, the text spanner shows up and
 I can't get rid of it.

 Also, the \crescTextCresc and \dimTextDim work like there's a \once in front
 of them when they're in the variable.

The Dynamic_engraver was recently split into the
New_dynamic_engraver and the Dynamic_align_engraver, so if you
include these engravers instead of Dynamic_engraver, both of your
examples will work.  Here's the latter one (modified):

\version 2.11.51
\layout {
\context {
   \type Engraver_group
   \name VocalDynamics
   \alias Voice
   \consists Text_engraver
   \consists New_dynamic_engraver
   \consists Dynamic_align_engraver
   \consists Text_engraver
   \override TextScript #'font-shape = #'italic
}
\context {\Staff \accepts VocalDynamics}
}
Voice = \relative { e1 f g e a g f d }
VoiceDynamics = \new VocalDynamics {
\override DynamicTextSpanner #'dash-period = #-1.0
\dimTextDim
s1*3\ s1\!
\crescTextCresc
s1*3\ s1\!
\setHairpinDim
}
AlternateDynamics = \new VocalDynamics {
\dimTextDim
s1 s\ s s\!
s1 s\ s s\!
}

\score {
\new Staff  \VoiceDynamics \Voice
\layout {}
}
\score {
\new Staff  \AlternateDynamics \Voice 
\layout {}
}

\relative c'' {
\override DynamicTextSpanner #'dash-period = #-1.0
\crescTextCresc
c1\ | d | b | c\!
c\ d b c\!
}


HTH,
Patrick


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: dynamic spanner help

2008-07-09 Thread James E. Bailey


Am 09.07.2008 um 23:34 schrieb Patrick McCarty:


Hi James,

On Wed, Jul 9, 2008 at 9:35 AM, James E. Bailey  
[EMAIL PROTECTED] wrote:
On Wed, Jul 9, 2008 at 8:25 AM, James E. Bailey  
[EMAIL PROTECTED] wrote:


I've not understood this for a while, and I figure I should  
probably ask
about it. When I have dynamics in a variable, the text spanner  
shows up and

I can't get rid of it.


Also, the \crescTextCresc and \dimTextDim work like there's a \once  
in front

of them when they're in the variable.


The Dynamic_engraver was recently split into the
New_dynamic_engraver and the Dynamic_align_engraver, so if you
include these engravers instead of Dynamic_engraver, both of your
examples will work.  Here's the latter one (modified):

HTH,
Patrick



Thanks tons, so, what does the Dynamic_engraver do then?


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user