lilypond-devel
[Top][All Lists]
Advanced

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

Re: lilypond hangs


From: Werner LEMBERG
Subject: Re: lilypond hangs
Date: Wed, 04 Jan 2012 15:37:27 +0100 (CET)

> after applying your patch (http://codereview.appspot.com/5511044), it
> still loops, this time in `get_line_forces'.

Well, it doesn't loop.

Look at the attached two files:

The first file has 74 bars of a single voice, and `time' shows me the
following for processing it:

  real    0m52.985s
  user    0m52.707s
  sys     0m0.188s

The other one is the same as the first file but has only 37 bars

  real    0m4.447s
  user    0m4.332s
  sys     0m0.104s

It seems that we have some very bad exponential behaviour in
processing somewhere...

Conclusion: I was too impatient.  I should have waited a few days
until lilypond will have completed the chaconne.  My suggestion is to
send a copy of the current lilypond executable to the ASLSP project:

  http://www.john-cage.halberstadt.de/


    Werner
\version "2.15.20"

\paper {
    paper-width= 19000\cm
    paper-height = 10\cm
    line-width = 18000\cm
    ragged-right = ##t
    ragged-bottom = ##f
    ragged-last-bottom = ##f
}

#(set-global-staff-size 19)

% The score definition

melodyOne =  \relative a' {
        a4. a8 | % 1 
        e'4 e4. e8 | % 2
        f4 d4. c8 | % 3
        bes4 a g16 [( f e f ) ] | % 4
        g16 [ ( e )  f ( d ) ] a'4. a8 | % 5 
        e'4 e4. e8 | % 6
        f4 d4. d8 | % 7
        bes'4 a8. [ g32 f ] g8. [ e16 ] | % 8
        f8. s16 s2 | % 9 - Var 02
        e8 r8 e8 r8 s4 | % 10
        f8 r8 d8. [ f16]  e8. [ d16] | % 11
        d8 r8 cis8 r8 r8. a'16 | % 12
        f8 s8  s2 | % 13 - Var 03
        e8 r8 e8 r8 s4 | % 14
        e8 r8  d8. [ f16 ] e8. [ cis16 ] | % 15
        d8. [ e16 ] d4 ( cis8.)  [ d16 ] | % 16
        d8. [ e16 ] f8. [ g32 a ] bes8. [ f16 ] | % 17 
        e8. [ bes'16 ] a8. [ g16 ] a8. [ fis16 ]  | % 18
        g8. [ f16 ] e8. [ d32 cis ] d8. [ e16 ] | % 19
        f8. [ g16 ] e8. [ f16 ] g8. [ e16 ] | % 20 
        f8. [ d32 e ] f8. [ g32 a  ] bes8. [ f16 ] | % 21 
        e8. [ bes'16 ] a8. [ g16 ] a8. [ fis16 ] | % 22
        g8. [ f16 ] e8. [ d32 cis ] d8. [ e16 ] | % 23
        f8. [ g16 ] d8. [ cis32 b ] cis8. [ g16 ] | % 24
        f8 [ f' e d cis d ] | % 25 - Var 06
        g,8 [ a16 ( bes ) ] cis,8 [ bes' a g ] | % 26
        f8 [ g16 ( a ) ] bes,8 [ d g d'16 ( cis ) ] | % 27
        d8 [ f,8 ] e16 [ f g bes ] a [ g f e ] | % 28
        f16 [ ( a d f ) ] f [ ( e g f ] e [ d cis d ) ] | % 29 
        g,16 [ bes fis g ] cis, [( e g )  bes ] a [ g e' g, ] | % 30
        f16 [ cis d a ] bes [ ( d g ) a ] bes [ es cis d ] | % 31
        gis,16 [(  b d ) f ] e [ g cis, d ] a, [ ( e' d' ) cis ] | % 32
        d8 [ f bes a gis d, ] | % 33 
        cis8 [ e' a g fis c, ] | % 34
        b8 [ d' g f e bes, ] | % 35
        a16 [ f'' e d ] cis8 [ a8 e'8 g,8 ] | % 36
        f16  [ d f a ] d [ ( f bes ) a ] gis [ b gis e ] | % 37 
    }


melody = << \melodyOne >>

% The score definition
\score {
        \context Staff << 
        \set Staff.instrumentName = "Violine"
        { \clef treble \key d \minor \time 3/4  \partial 2 \melody  }
    >>
        \layout { }
}
\version "2.15.20"

\paper {
    paper-width= 19000\cm
    paper-height = 10\cm
    line-width = 18000\cm
    ragged-right = ##t
    ragged-bottom = ##f
    ragged-last-bottom = ##f
}

#(set-global-staff-size 19)

% The score definition

melodyOne =  \relative a' {
        a4. a8 | % 1 
        e'4 e4. e8 | % 2
        f4 d4. c8 | % 3
        bes4 a g16 [( f e f ) ] | % 4
        g16 [ ( e )  f ( d ) ] a'4. a8 | % 5 
        e'4 e4. e8 | % 6
        f4 d4. d8 | % 7
        bes'4 a8. [ g32 f ] g8. [ e16 ] | % 8
        f8. s16 s2 | % 9 - Var 02
        e8 r8 e8 r8 s4 | % 10
        f8 r8 d8. [ f16]  e8. [ d16] | % 11
        d8 r8 cis8 r8 r8. a'16 | % 12
        f8 s8  s2 | % 13 - Var 03
        e8 r8 e8 r8 s4 | % 14
        e8 r8  d8. [ f16 ] e8. [ cis16 ] | % 15
        d8. [ e16 ] d4 ( cis8.)  [ d16 ] | % 16
        d8. [ e16 ] f8. [ g32 a ] bes8. [ f16 ] | % 17 
        e8. [ bes'16 ] a8. [ g16 ] a8. [ fis16 ]  | % 18
        g8. [ f16 ] e8. [ d32 cis ] d8. [ e16 ] | % 19
        f8. [ g16 ] e8. [ f16 ] g8. [ e16 ] | % 20 
        f8. [ d32 e ] f8. [ g32 a  ] bes8. [ f16 ] | % 21 
        e8. [ bes'16 ] a8. [ g16 ] a8. [ fis16 ] | % 22
        g8. [ f16 ] e8. [ d32 cis ] d8. [ e16 ] | % 23
        f8. [ g16 ] d8. [ cis32 b ] cis8. [ g16 ] | % 24
        f8 [ f' e d cis d ] | % 25 - Var 06
        g,8 [ a16 ( bes ) ] cis,8 [ bes' a g ] | % 26
        f8 [ g16 ( a ) ] bes,8 [ d g d'16 ( cis ) ] | % 27
        d8 [ f,8 ] e16 [ f g bes ] a [ g f e ] | % 28
        f16 [ ( a d f ) ] f [ ( e g f ] e [ d cis d ) ] | % 29 
        g,16 [ bes fis g ] cis, [( e g )  bes ] a [ g e' g, ] | % 30
        f16 [ cis d a ] bes [ ( d g ) a ] bes [ es cis d ] | % 31
        gis,16 [(  b d ) f ] e [ g cis, d ] a, [ ( e' d' ) cis ] | % 32
        d8 [ f bes a gis d, ] | % 33 
        cis8 [ e' a g fis c, ] | % 34
        b8 [ d' g f e bes, ] | % 35
        a16 [ f'' e d ] cis8 [ a8 e'8 g,8 ] | % 36
        f16  [ d f a ] d [ ( f bes ) a ] gis [ b gis e ] | % 37 
        cis16 [ ( e a ) g ] fis [ a fis c ] a [ fis d c ] | % 38
        b16 [ ( d g ) fis ] g [ es' ( d cis ) ] bes' [( a gis ) a ] | % 39
        f16 [ e d c ] bes [ ( a gis ) a ] cis, [ g' f e ] | % 40
        f16 [ d e f ] g [ a b cis ] d [ f, e d ] | % 41 
        a16 [ ( e' d' ) cis ] d, [(  fis a ) c ] c [ bes c a ] | % 42
        bes16 [ g f es ] d [ c bes a ] g [ ( g' es' ) d ] | % 43
        cis16 [ e a, g ] f [ d' e, d ] a [ ( e' d' ) cis ] | % 44
        g'16 [ (e f cis ) ] d [( c bes a ] g [ f e d ] ) | % 45 
        cis16 [ bes' a g ] fis [ d a' d, ] c [ bes c a ] | % 46
        bes16 [ ( g a bes ] c [ d e fis ] g [ a bes a ] ) | % 47
        gis16 [ a e f ] g [ cis,( d ) gis, ] ( a ) [ f' e cis ] | % 48
        d16 [ d' ( a g ] f [ e d c ] bes ) [ d' g, f ] | % 49 
        e16 [ c' ( g f ] e [ d c bes ] a ) [ c' f, es ] | % 50
        d16 [ bes' ( f es ] d [ c bes a ] g ) [ bes' e, d] | % 51
        cis16 [ a cis e ] a [ e a cis ] e [ g, a e ] | % 52
        f16 [ d f a ] d [ a d f ] bes, [ g' ( a bes ) ] | % 53 
        e,16 [ c, e g ] c [ g c e ] a, [ f' ( g a ) ] | % 54
        d,16 [ bes, d f ] bes [ f bes d ] g, [ e' ( f g ) ] | % 55
        cis,16 [ a cis e ] a [ e a cis ] e [ g, ( f e ) ] | % 56
        f8 s4 f8 g8 s8 | % 57 
        e8 s4 e8 f8 s8 | % 58
        d8 s4 d8 e8 s8 | % 59
        s4. a8 a16 [ ( g ) a (e) ] | % 60
        f8 s8 d8 s8 s4 | % 61 
        e8 s8 c8 s8 s4 | % 62
        d8 s8 bes8 s8 g,16 [ e' b' g' ]   | % 63
        a,,16 [ e' cis' g' ] a,, [ f' d' f ] a,, [ g' cis e ] | % 64
        d16 [ a32 ( g f16 e ) ] d [ c bes a ] bes [ d'32 ( c bes a g f ) ] | % 
65  
        e16 [ g32 (f e16 d ) ] c [ bes a g ] a [ c'32 ( bes a g f es )] | % 66
        d16 [ f32 (es d16 c ) ] bes [ d32 ( c bes16 a )] g [ bes'32 (a g f e d 
) ] | % 67
        cis32 [( b a b cis d e f )] g [ (a bes a g f e d )] cis16 [ (e'32 d cis 
b a g )] | % 68
        f16 [ d32 ( e f16 ) a ] f [ d f a ] bes32 [ (c d e f g a bes ] | % 69 - 
Var 17
        e,16 ) [ c,32 ( d e16 ) g ] e [ c e g ] a32 [ ( bes c d e f g a ] | % 70
        d,16 ) [ bes,32 ( c d16 ) f ] d [ bes d f ] g32 [ ( a bes c d e f g ) ] 
| % 71
        cis,32 [ bes' ( a g f e d c ) ] bes [ ( a g f e d cis b ) ] a [ ( b cis 
d e f g e ) ] | % 72
        f32 [ ( d e f g a b cis )] d [ ( b cis d e f g a ) ] bes16 [ d,, c 
\trill bes ] | % 73 
        c32 [ d e fis g a bes c ] d [ a bes c d e fis g ] a16 [ c,, bes^\markup 
{ (tr) } a ] | % 74
    }


melody = << \melodyOne >>

% The score definition
\score {
        \context Staff << 
        \set Staff.instrumentName = "Violine"
        { \clef treble \key d \minor \time 3/4  \partial 2 \melody  }
    >>
        \layout { }
}

reply via email to

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