bug-lilypond
[Top][All Lists]
Advanced

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

Re: dynamic collision


From: Mats Bengtsson
Subject: Re: dynamic collision
Date: Fri, 06 Feb 2004 10:16:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

It seems Han-Wen was in a hurry, the correct syntax is
#'(-10 . 10) instead of #(-10 . 10)
However, it didn't seem to have any effect, see
http://mail.gnu.org/archive/html/bug-lilypond/2004-02/msg00047.html

  /Mats

Kevin C. Baird wrote:
Hi. Thank you. #'no-spacing-rods helped. I did want to expand a bit with the X-extent widening you suggested 2nd.

Attached is my .ly file and the error output.

On Thu, Feb 05, 2004 at 01:11:28PM +0100, Han-Wen Nienhuys wrote:

address@hidden writes:

Sorry, I plan to learn to read any year :-).

I tried some different property settings in a crowded score,
but none of them worked as I expected, so I leave the question
to others who know better.
As a workaround, you could introduce manual line breaks using
\break in lines that look too crowded.

you could try #'no-spacing-rods on DynamicText to force more space, and
if necessary widen it with

DynamicText \set #'X-extent = #(-10 . 10)
or somesuch.


--

Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen



------------------------------------------------------------------------

lilypond (GNU LilyPond) 2.1.0
Running usr...
Now processing: `lilypond/ly/clar.ly'
Parsing...
/home/kbaird/lilypond/ly/clar.ly:24:49: error: GUILE signaled an error for the expression beginning here:
  \property Voice.DynamicText \set #'X-extent = #
                                                 (-10 . 10)
Wrong type to apply: (-10 . 10)

/home/kbaird/lilypond/ly/clar.ly:24:50: error: syntax error, unexpected '-':
  \property Voice.DynamicText \set #'X-extent = #(
                                                  -10 . 10)



------------------------------------------------------------------------

\version "2.1.0"
\include "english.ly"
\header {
  title = "No Clergy"
  subtitle = "(tupletpc=50, restpc=25, artpc=25, dynpc=25)"
  instrument = "Clarinet"
  composer = "Kevin C. Baird"
  tagline = "Copyright (c) 2004, Kevin C. Baird, Released under the GNU General 
Public License (http://www.gnu.org)"
}

\paper {
  hsize = 8.5 \in
  vsize = 3.0 \in
  linewidth = 7.5 \in
  indent = 0.5 \in
}
\include "paper16.ly"

\score { \notes { \modernAccidentals
  \stemBoth
  \property Voice.DynamicText \set #'no-spacing-rods = ##t
  \property Voice.DynamicText \set #'X-extent = #(-10 . 10)

  \property Voice.autoBeamSettings \override
    #'(begin * * * 4) = #(ly:make-moment 1 4)
  \property Voice.autoBeamSettings \override
    #'(end * * * 4) = #(ly:make-moment 1 4)
  \property Voice.autoBeamSettings \override
    #'(begin * * 3 8) = #(ly:make-moment 3 8)
  \property Voice.autoBeamSettings \override
    #'(end * * 3 8) = #(ly:make-moment 3 8)
  \property Voice.autoBeamSettings \override
    #'(begin * * 9 8) = #(ly:make-moment 1 4)
  \property Voice.autoBeamSettings \override
    #'(end * * 9 8) = #(ly:make-moment 1 4)
  \property Staff.DynamicLineSpanner
    \set #'padding = #2.6
  \property Staff.TupletBracket
    \set #'padding = #2
  \property Staff.midiInstrument = "clarinet"
\property Score.MetronomeMark
    \set #'padding = #5
  \tempo 8=189
    \clef treble



| % MEASURE 1
\time 3/4 \autoBeamOff
\times 4/5 { c16[ f''16 g''16-\tenuto f''16 f'16] }
\autoBeamOn

r4 r8 bf8-\portato-\fff
| % MEASURE 2
\time 3/4 \autoBeamOff
\times 4/5 { c'''8[-\staccato cs''8 cs'''8 d''8] r8 }
\autoBeamOn

af'8 r16 e'16-\marcato
| % MEASURE 3
\time 5/4 bf'1 a''8-\portato-\mf e'16-\staccato bf'16
| % MEASURE 4
\time 7/8 b''2-\ppp c8 ef'4-\f
| % MEASURE 5
\time 5/8 r8 a'8-\tenuto b''8-\marcato-\pp a''8-\marcato b8-\tenuto
| % MEASURE 6
\time 3/4 b'16 bf''8-\tenuto r16 r4 r8 r16 f'16
| % MEASURE 7
\time 4/4 \autoBeamOff
\times 2/3 { af'8[-\portato r8 c8] }
\autoBeamOn

r4 f'8 ef'4 bf16-\pp g'16-\ff
| % MEASURE 8
\time 7/8 r8 d'4-\fff fs''8 cs''4 bf8
| % MEASURE 9
\time 5/8 ef'16-\portato ef'16 ~ ef'4 ~ ef'8 ~ ef'16 a16
| % MEASURE 10
\time 9/8 a''4 r8 ef''8-\mp bf'2-\ppp bf8-\staccatissimo
| % MEASURE 11
\time 4/4 \autoBeamOff
\times 4/5 { c''8[-\fff f'8 af''8-\staccato-\mp g'8 cs8]-\p }
\autoBeamOn

cs''2
| % MEASURE 12
\time 2/4 r8 f''8-\mp c'''8 r8
| % MEASURE 13
\time 5/8 f''16 bf16 ~ bf4 ~ bf8 ~ bf16 c''16-\staccatissimo
| % MEASURE 14
\time 3/4 \autoBeamOff
\times 4/5 { cs''8[-\mf b'8 r8 c'''8 cs''8]-\marcato }
\autoBeamOn

r8 b''8-\portato
| % MEASURE 15
\time 3/4 f''8-\marcato r8 r8 g''8 af'8 a'16 af'16-\staccato
| % MEASURE 16
\time 9/8 \autoBeamOff
\times 4/5 { cs16[-\staccato f'16-\accent r16 cs16 c16] }
\autoBeamOn

a4-\ppp b'4 r4 g'8-\f
| % MEASURE 17
\time 7/8 r2 r8 r8 r16 d''16
| % MEASURE 18
\time 3/4 e''4-\portato g''2-\staccato
| % MEASURE 19
\time 3/8 f'4 r8
| % MEASURE 20
\time 4/4 \autoBeamOff
\times 4/5 { fs'8[-\accent r8 r8 d''8 a'8]-\staccatissimo }
\autoBeamOn

c2
} % end notes
} % end score



------------------------------------------------------------------------

_______________________________________________
Bug-lilypond mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-lilypond

--
=============================================
        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]