Dirk Zeckzer | 1 Apr 2002 19:31
Picon

Grace notes, accidentals and docu problems ...

Hi,

I collected some bugs/features, missing features in lilypond 1.5.x
Latest version tested: 1.5.47

Grace notes:
1. Grace notes work quite well since 1.5 but I'm missing a feature.
   Example 1 can not be compiled using lilypond.
2. If grace notes are appended first all notes in all voices connected to the
   same beat as the main note are set before the grace notes start. I have
   seen an example in literature where the grace notes start as soon as
   possible after the main note.

   lilypond:
   voice 1:      O             <grace notes>
   voice 2:      o' o' o' o'

   example:
   voice 1:      O <grace notes>
   voice 2:      o' o' o' o'

   where O is a half note and o' are eight's.

Overlapping accidentals:
3. Flats may overlap, e.g. if you have violin key and a <b es'>-chord the two
   accidentals overlap (see example 2).

Documentation:
4. If the documentation is not split, you get
     ./Documentation/user/out-www/lilypond.html which is ok
(Continue reading)

Han-Wen Nienhuys | 1 Apr 2002 21:15
Picon

Grace notes, accidentals and docu problems ...

dirkzeckzer <at> web.de writes:
> Hi,
> 
> I collected some bugs/features, missing features in lilypond 1.5.x
> Latest version tested: 1.5.47
> 
> Grace notes:
> 1. Grace notes work quite well since 1.5 but I'm missing a feature.
>    Example 1 can not be compiled using lilypond.

try this patch,

--- rhythmic-column-engraver.cc.~1.45.~	Sun Mar 24 21:46:54 2002
+++ rhythmic-column-engraver.cc		Mon Apr  1 21:12:19 2002
 <at>  <at>  -132,15 +132,17  <at>  <at> 
 Rhythmic_column_engraver::acknowledge_grob (Grob_info i)
 {
   Item * item =  dynamic_cast <Item *> (i.grob_l_);
-  if (item && Stem::has_interface (item))
+  if (!item || item->get_parent (X_AXIS))
+    return ;
+  if (Stem::has_interface (item))
     {
       stem_l_ = item;
     }
-  else if (item && Rhythmic_head::has_interface (item))
+  else if (Rhythmic_head::has_interface (item))
     {
       rhead_l_arr_.push (item);
     }
(Continue reading)

Dirk Zeckzer | 1 Apr 2002 22:07
Picon

Re: Grace notes, accidentals and docu problems ...

Hi.

1. The patch plus the context work-around works alright, although the beams of
   the grace notes and the other beam cross each other.

2. The idea of using space notes in a second voice does not work. I get at most
   something like

   voice 1:    O  g    g    g
   voice 2:    o'   o'   o'   o'

   for <c2 {s8 \grace{ ... } s8 \grace{ ... } s8 \grace { ... } s8 }>
       c,8 c,8 c,8 c,8

   that is both grace notes and the notes of the second voice alternate.

Try:

\header{
filename  = "bugs-3.ly"
title     = "Bugs 3"
} 

\version "1.5.0"

voiceA = \notes{
	\time 6/8 
	\clef violin
	\key c \major
	<c''2 ( { s8 \grace { [c''16 c''16] } s8 \grace { [c''16 ) c''16]} s8 \grace 
(Continue reading)

Han-Wen Nienhuys | 1 Apr 2002 23:10
Picon

Re: Grace notes, accidentals and docu problems ...

dirkzeckzer <at> web.de writes:
> 2. The idea of using space notes in a second voice does not work. I get at most
>    something like
> 
>    voice 1:    O  g    g    g
>    voice 2:    o'   o'   o'   o'
> 
>    for <c2 {s8 \grace{ ... } s8 \grace{ ... } s8 \grace { ... } s8 }>
>        c,8 c,8 c,8 c,8
> 
>    that is both grace notes and the notes of the second voice alternate.

Oh, I see .. You want to have the top and bottom notes be completely
independent. It's not possible currently. If you want to hack C++, you can
look into "loose columns" as a solution. If not, you can try faking
it, using \times and manually setting size properties.

--

-- 

Han-Wen Nienhuys   |   hanwen <at> cs.uu.nl    | http://www.cs.uu.nl/~hanwen/
Rune Zedeler | 2 Apr 2002 13:56
Picon
Picon
Favicon

1.5.50 does not run

[rz <at> cartman:...lilypond/input]$ lilypond -fps example-1.ly
GNU LilyPond 1.5.50
Now processing: `example-1.ly'
Parsing...Backtrace:
0* all-visible

ERROR: In expression all-visible:
ERROR: Unbound variable: all-visible

- same with ly2dvi...

-Rune
Erik Sandberg | 2 Apr 2002 14:25
Picon
Picon
Favicon

1.4.12 stem direction bug

In the following example, the automatic stem direction engine does strange 
choices that result in a weird beam vertical offset, so I have to use 
\stemUp/Down manually:

\version "1.4.12"
\score {
  \notes \relative c'' {
  \key g\major
  [d8 \times 2/3 {g16 fis e]} \times 4/6 {[d a b c d c]}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[<b8 d, g,> \times 2/3 {g'16 fis e]} % <--- here
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \times 4/6 {[<d d,> <a d,> <b d,> <c d,> <d d,> <c d,>]} |
  [<b8 d,> \times 2/3 {<b16 d, g,> d b]} \times 4/6 {[<b16 d, g,> d b
    <b16 d, g,> d b]} [<b8 d, g,> \times 2/3 {e16 d c]} \times 4/6 {[b c d c 
b a]} |
  }
}

Erik
Han-Wen Nienhuys | 2 Apr 2002 14:37
Picon

1.5.50 does not run

rz <at> daimi.au.dk writes:
> [rz <at> cartman:...lilypond/input]$ lilypond -fps example-1.ly
> GNU LilyPond 1.5.50
> Now processing: `example-1.ly'
> Parsing...Backtrace:
> 0* all-visible
> 
> ERROR: In expression all-visible:
> ERROR: Unbound variable: all-visible

remove "pdf.scm", "pdftex.scm" from lily.scm.

--

-- 

Han-Wen Nienhuys   |   hanwen <at> cs.uu.nl    | http://www.cs.uu.nl/~hanwen/
Han-Wen Nienhuys | 2 Apr 2002 14:42
Picon

1.5.50 does not run

rz <at> daimi.au.dk writes:
> [rz <at> cartman:...lilypond/input]$ lilypond -fps example-1.ly
> GNU LilyPond 1.5.50
> Now processing: `example-1.ly'
> Parsing...Backtrace:
> 0* all-visible
> 
> ERROR: In expression all-visible:
> ERROR: Unbound variable: all-visible
> 
> - same with ly2dvi...

btw, we have the development release in CVS now. You can check the
sources out using

   cvs -d :pserver:anoncvs <at> lilypond.org:/home/lilypond login
   cvs -z3 -d :pserver:anoncvs <at> lilypond.org:/home/lilypond co lilypond

(This bug was fixed in CVS)

--

-- 

Han-Wen Nienhuys   |   hanwen <at> cs.uu.nl    | http://www.cs.uu.nl/~hanwen/
Erik Sandberg | 2 Apr 2002 21:10
Picon
Picon
Favicon

programming error: Rhythmic_req has no duration (Continuing; cross thumbs)

Hi,

I still get a bunch of programming errors in 1.4.12-1, debian package, and it 
still happens after upgrading to python2.2.

The errors occur right after 
Interpreting music...
and the subject line of this email is printed 12 times before lilypond exits 
with value 2.

I have found a new example which is small enough to attach. Could anyone who 
is using Debian's 1.4.12-1 try it and see if the same error occurs? Just 
untar the attachment and do "ly2dvi score".

A weird thing is that if I add a blank line after the end of 1-mand1.ly, 
everything suddenly works fine.

Erik
Attachment (es020402.tar.bz2): application/x-bzip2, 1770 bytes
Han-Wen Nienhuys | 2 Apr 2002 22:56
Picon

programming error: Rhythmic_req has no duration (Continuing; cross thumbs)

ersa9195 <at> student.uu.se writes:
> Hi,
> 
> I still get a bunch of programming errors in 1.4.12-1, debian package, and it 
> still happens after upgrading to python2.2.
> 
> The errors occur right after 
> Interpreting music...
> and the subject line of this email is printed 12 times before lilypond exits 
> with value 2.

It's a quirky bug related to some kind of memory corruption or
lowlevel issue. We've never been able to pin it down.  As you might
have guessed, it doesn't happen on my machine. 

--

-- 

Han-Wen Nienhuys   |   hanwen <at> cs.uu.nl    | http://www.cs.uu.nl/~hanwen/

Gmane