lilypond-user
[Top][All Lists]
Advanced

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

Re: Hairpin movement??


From: Steve Shorter
Subject: Re: Hairpin movement??
Date: Thu, 15 Apr 2004 17:11:16 -0400
User-agent: Mutt/1.4i

On Thu, Apr 15, 2004 at 06:48:34PM +0200, Mats Bengtsson wrote:
> Your example works fine with version 2.2 (after running
> convert-ly --from=2.0.0). However, if I were you, I would
> use the padding property of the DynamicLineSpanner object
> instead.

        Hmmmm... when I run convert-ly it outputs


\version "2.2.0"
one =   \context Voice=one \notes \relative c'' {
        \voiceOne
        \clef treble
        \time 3/4
        \stemUp
        d2.
}

two =   \context Voice=two \notes \relative c' {
        \voiceTwo
        \clef treble
        \time 3/4
        \stemDown
        \property Hairpin  #'extra-offset = #'(0 . -3.5)
        d2\< d4\!
}

\score {
        \notes \context Staff = GrandStaff <<
                        \key d\major
                        \one
                        \two
        >>
}

        
        And when I run lilypond --verbose -p test.ly it outputs the
following errors. This is lilypond 2.2 on debian woody.



/home/steve/LinuxSuite/t.ly:15:10: error: unknown escaped string: `\property':
        \property
                  Hairpin  #'extra-offset = #'(0 . -3.5)

/home/steve/LinuxSuite/t.ly:15:17: error: Have to be in Lyric mode for lyrics:
        \property Hairpi
                        n  #'extra-offset = #'(0 . -3.5)

/home/steve/LinuxSuite/t.ly:15:34: error: Have to be in Lyric mode for lyrics:
        \property Hairpin  #'extra-offset
                                          = #'(0 . -3.5)

/home/steve/LinuxSuite/t.ly:15:34: error: parse error, unexpected SCM_T:
        \property Hairpin  #'extra-offset
                                          = #'(0 . -3.5)
> 
>    /Mats
> 
> Steve Shorter wrote:
> >Howdy!
> >
> >     I'm trying to move a hairpin verticaly using 'extra-offset'.
> >I looked at the mail archives and concluded that the simple example
> >below should work, but it doesn't. 
> >
> >     Any ideas why? What is the best way to move a hairpin?
> >
> >
> >one =        \context Voice=one \notes \relative c'' {
> >     \voiceOne
> >     \clef treble
> >     \time 3/4
> >     \stemUp
> >     d2.
> >}
> >
> >two =        \context Voice=two \notes \relative c' {
> >     \voiceTwo
> >     \clef treble
> >     \time 3/4
> >     \stemDown
> >     \property Voice.Hairpin \override #'extra-offset = #'(0 . -3.5)
> >     d2\< d4\!
> >}
> >
> >\score {
> >     \notes \context Staff = treble <<
> >                     \key d\major
> >                     \one
> >                     \two
> >     >>
> >}
> >
> >
> >
> >
> >_______________________________________________
> >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]