FiguredBass Bug??

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

FiguredBass Bug??

Trent Johnston
Hello again,
 
I am having trouble with figured bass extender lines for some reason in bar 3 the second 5 will not produce an extender line.
 
Is this a bug or am I doing something wrong... it works in the second bar but for some strange reason it stops work in the third bar.
 
BTW: Windows XP / Lilypond 2.7.18 and have include an excerpt from the file...
 
I've also tryed in using the Linux version 2.7.22 and it doesn't work either.
 
Any help appreciated.
 
Trent
 
====================================================

\version "2.7.18"
 
\header {
 title = "Sonata III"
 composer = "Thomas Arne"
 %opus = "Op. 3 No. 1"
}
 
\include "english.ly"
 
#(set-global-staff-size 16)
 
\paper {
 bottommargin = 2\cm
 leftmargin = 2\cm
 %raggedbottom = ##f
 %raggedlastbottom = ##f
 linewidth = 7\in
 %annotatespacing = ##t
}
 
staffViolin = \new Staff  {
 \time 3/2
 \set Staff.instrument= \markup { \center-align { "Violino" \line { "Primo." }}}
 \set Staff.midiInstrument="violin"
 \key ef \major
 \clef treble
 \relative c'' {
%bar 1
af2 af'1~
%bar 2
af2 g4 f g ef
%bar 3
f2 f, f'~
%bar 4
f4 g ef d c\trill( bf)
%bar 5
c4\p( bf) af( g) f\trill( ef)
%bar 6
d1 bf'2~\pp
%bar 7
bf2 a1\trill\fermata
%bar 8
bf1.
 
 \bar "|."
 }
 
}
staffViolinII = \new Staff  {
 \set Staff.instrument= \markup { \center-align { "Violino" \line { "Secondo." }}}
 \set Staff.midiInstrument="violin"
 \key ef \major
 \clef treble
 \relative c'' {
%bar 1
c2. c4 f( ef)
%bar 2
d2 ef1~
%bar 3
ef4 f \grace ef8 d4( c) bf\trill( af)
%bar 4
g1.
%bar 5
ef2\p c1
%bar 6
bf1 ef2~\pp
%bar 7
ef2 ef1\trill
%bar 8
d1.
 
 }
 
}
staffCello = \new Staff  {
 \set Staff.instrument= \markup { \center-align { "Basso." }}
 \set Staff.midiInstrument="cello"
 \key ef \major
 \clef bass
 \relative c {
 %\dynamicUp
%bar 1
g'4 af f ef d c
%bar 2
bf1.~
%bar 3
bf1.
%bar 4
ef1.
%bar 5
af,1.~\p
%bar 6
af1 g2
%bar 7
c1.\fermata
%bar 8
bf1.
 }
 
}
 
basfig = \figuremode
 
 {
 \context FiguredBass
 \override VerticalAxisGroup #'minimum-Y-extent = #'(100 . 0)
 {
 \override BassFigureAlignment #'stacking-dir = #UP
%bar 1
<2 4>2 <5>4 <4 6> <5> <6>
%bar 2
<7>2 \set useBassFigureExtenders = ##t <4 6>1
%bar 3
<5 6>2 <5 3>2 s2 \set useBassFigureExtenders = ##f
%bar 4
<9>2 <8> s
%bar 5
<5>2 <6> s
%bar 6
<2 4>1 <6>2
%bar 7
<7>2 <6!> s
%bar 8
s1.
}}
 
\score {
 <<
  \new StaffGroup <<
  \staffViolin
  \staffViolinII
  \basfig \staffCello
  
  >>
 >>
 
 \midi {
 }
 
 \layout  {
  \context { \Score \override InstrumentName #'space-alist = #'((left-edge . (extra-space . 6)))}   
 }
}

_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user

bass.ly (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FiguredBass Bug??

Han-Wen Nienhuys
Trent Johnston wrote:
> Hello again,
>  
> I am having trouble with figured bass extender lines for some reason in
> bar 3 the second 5 will not produce an extender line.
>  
> Is this a bug or am I doing something wrong... it works in the second
> bar but for some strange reason it stops work in the third bar.

The grace note confuses Lily. I've commited a fix in CVS.

--
  Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: FiguredBass Bug??

Trent Johnston
Thanks!!

----- Original Message -----
From: "Han-Wen Nienhuys" <[hidden email]>
To: "Trent Johnston" <[hidden email]>
Cc: <[hidden email]>
Sent: Sunday, December 18, 2005 10:20 AM
Subject: Re: FiguredBass Bug??


> Trent Johnston wrote:
> > Hello again,
> >
> > I am having trouble with figured bass extender lines for some reason in
> > bar 3 the second 5 will not produce an extender line.
> >
> > Is this a bug or am I doing something wrong... it works in the second
> > bar but for some strange reason it stops work in the third bar.
>
> The grace note confuses Lily. I've commited a fix in CVS.
>
> --
>   Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen
>


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user