lilypond-user
[Top][All Lists]
Advanced

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

Re: collision problem


From: Tom Cloyd
Subject: Re: collision problem
Date: Mon, 18 Aug 2008 20:30:38 -0700
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Patrick McCarty wrote:
On Mon, Aug 18, 2008 at 1:59 AM, David Bobroff <address@hidden> wrote:
Tom Cloyd wrote:
I'm hoping there's a quick solution to this someone can just tell me. I've
spent hour this weekend pouring over ly documentation, and I simply don't
any more hours.

I'm having a collision problem - between my metronome marking and a string
number indicator.

The code snippets...

[,,,]
  \tempo 8 = 120
[...]
  \relative c''{
      <a\1> b\2 c
  }

The collision is nearly perfect - they obliterate each other!

IS there an easy solution?
What version are you using?  I just ran the following:

\score {
  \relative c''{
  \tempo 8 = 120
      <a\1> b\2 c
  }
}

..on 2.11.55 and did not see any collision.

I can't reproduce this problem either on 2.11.56.  Tom, your example
didn't compile for me because the \tempo indication needed to be
inside the \relative block (like David's example).

I removed this warning from the docs a couple of days ago.  If you
provide a complete example where is collision occurs, I will happily
add the warning back.

Thanks,
Patrick


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

I hope this problem is not simply an artifact of my running ly ver. 2.10.33 - the ver. in the Adept package manager for Kubuntu Linux 8.04.1 Ly won't be updated there until the next ver. of Ubuntu (October?).

I was stopped from installing the latest version because I have to compile it and I need to find my notes on how to do this. (This block to immediate installation, in the Linux world, needs to be removed NOW, if Linux lovers like me want this OS to rise above being a nerd/hobby/boutique OS. Jeez.)

So... here's my ly file which is causing the problem - it produces a lovely collision!

=== begin file ===

% Created on Sat Aug 16 18:03:21 PDT 2008
\version "2.10.0"

%#(set-global-staff-size 28)  % has to be HERE to count

\paper {
#(set-default-paper-size "letter" 'portrait) #(set-global-staff-size 26)
   ragged-last-bottom = ##t % turns off verticle justify
   left-margin = 0.6\in
   line-width = 7\in     % works better than specifying R-margin
   bottom-margin = 0.7\in
top-margin = 0.15\in }

\layout {
   indent = 0.0\cm % remove indent on first staff
}

\header {
   title = "Prelude #2"
   subtitle = "A legato etude for classical guitar"
   composer = "Tom Cloyd (2008.08.13)"
tagline = \markup { \small "score set by Tom Cloyd"} % this is the copyright line }

\score {
   \new Staff{
   \tempo 8 = 120 % <= cannot get this spaced right vertically
\key g \major \override Staff.TimeSignature #'style = #'() % this prints numerical time signatures
   \time 8/8
<< {\relative c'''{ <g\1>8->-4 [_(fis-2) _(e)] d->-3 [_(b)] a->-2 [_(g) e-1] } | } \\ % illustrates adding accents, fingerings, bar grouping, slurs, and slur direction shorthand - wow! % also illustrates sharping a note to force it to be naturally sharped due to key signature.
       { e1 ~ | } % illustrates a tie to next note (tie != slur)
       >>
<< {\relative c'''{ g8->-4 [_(fis-2) _(e)] d->-3 [_(b)] a->-2 [_(g) e-1] } | } \\
       { e1 | }
       >>
<< {\relative c'''{ g8->-4 [_(fis-1) _(e)] d->-3 [_(b)] a->-1 [_(g) e-1] } | } \\
       { c'1-2 ~ | }
>> \break % forces line break, to keep score readable % m. 4 ========================================
       <<
{\relative c'''{ g8->-4 [_(fis-1) _(e)] d->-3 [_(b)] a->-1 [_(g) e-1] } | } \\
       { c'1 ~ | }
       >>
<< {\relative c'''{ g8->-4 [_(fis-2) _(e)] d->-3 [_(b)] a->-2 [_(g) e-1] } | } \\
       { e1 | }
       >>
<< {\relative c'''{ g8->-3 [_(fis-1) _(e)] d->-3 [_(b) a-1] g-> [e-3] } | } \\
       { d'4. c'4-2 r8 b8-2 r8 | }
>> \break % m. 7 ========================================
       <<
{\relative c'{ fis8->-4 [g _(a-1)] b-> [c _(d-4)] e-> [_(fis-1)] } | } \\
       { a4. b4.-2 c'4-3 | }
       >>
<< {\relative c'''{ g8->-2 [_(fis-1) _(e)] d->-3 [_(b) a-2] g-> [e-1] } | } \\
       { e4. b4-1 r8 c'8-3 r8 | }
>> << {\relative c'''{ g8->-3 [_(fis-1) _(e)] d->-3 [_(b) a-1] g-> [e-3] } | } \\
       { d'4. c'4-2 r8 b8-2 r8 | }
>> \break % m 10 ======================================= \time 6/8
       <<
       {\relative     c'{ fis8->-3 [_(g-4) a-1] g-> [_(a-1) b-3] } | } \\
       { a4. c'-2 | }
       >>

       <<
       {\relative     c''{ a8->-1 [_(b-3) c-4] b->-3 [_(c-4) d-2] } | } \\
       { d'4. b4.-1 | }
>> <<
       {\relative     c''{ c8->-2 [_(d-4) e] d->-2 [_(e-4) fis] } | } \\
       { e'4.-3 g'4.-0 | }
>> \break
       % m 13 =======================================
\override Staff.TimeSignature #'style = #'() % this prints numerical time signatures \time 8/8 <<
       \bar "|:"
       {\relative     c'''{
       g8->-2 [_(fis) e] d->-2 [_(b) a-1] g->-4 [_(e-1)] } | } \\
       { b'4.-0 g'4.-4 e4 | }
       >>
<< {\relative c'''{ g8->-3 [_(fis) _(e)] d->-3 [_(b) a-1] g->-4 [_(e-1)] } | } \\
       { c'4.-2 fis'4.-4 c'8-2 r8 \bar ":|" |}
       >>
       \break
% m 15 ======================================= \time 9/8 %\relative c'{ <fis-1\4>8 [_(g-2) a-4] <b-1\3> [_(c-2) d-4] <e-1\2> [_(fis-3) g-4] | } \relative c'{ <fis-1\4>^"IV - - - - - - - - - - - - - - - - - - " [_(g-2) a-4] <b-1\3> [^(c-2) d-4] e-1^"V - - - - - - - - - - -" [^(fis-3) g-4] | }
       % STRING SPECIFICATIONS: \4 \3 \2
<< {\relative c'''{ a8-1 [_(b-3) b_.-1] e4.-4\sfz r8 <b,\harmonic e>4\fermata _"arm. 12" } | } \\
       % DYNAMICS: \sfz
       % HARMONICS: \harmonic
       % ARTICULATION - illustrated by the dotted 'b' above -
       % alternatives: -. _. ^.
% articulation symbols: >.^_ (there are others, n. needed for guitar) % ARBITRARY TEXT: in association with a note - _"arm. 12" { r2. e8 (e4)\fermata | }
       >>
% m XX ======================================= %\override Staff.TimeSignature #'style = #'() % this prints numerical time signatures %\time 8/8 % following is merely a template
       <<
       {\relative     c'{ } | } \\
       { | }
       >>
} }
=== end file ===

t.

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< address@hidden >> (email)
<< TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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