bug-lilypond
[Top][All Lists]
Advanced

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

Re: abc2ly get's lost


From: Reinhold Kainhofer
Subject: Re: abc2ly get's lost
Date: Tue, 23 Aug 2011 16:23:09 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.0; i686; ; )

Am Dienstag, 23. August 2011, 13:55:28 schrieb Terry Therneau:
> Here is a snippet of a barbershop arrangement that causes "Huh?" message
> from abc2ly:
> 
> 
> %
> % Wails
> %
> [V:1][K:A] e4-|e2 (_e>d)| c4-|c2 (e2| [K:Ab] e4-|e2) (=d>_d)| c4|
> [V:2][K:A] c4-|c2 (=c>B)| A4-|A2 (c2| [K:Ab] c4-|c2) (=B>_B)| A4|
>          w:Oo,_ Oo,_ Oo,_ Oo,__ Oo,_ Oo.
> [V:3][K:A] a>e f>e| a>e f>=f| e>e f>e|
>          w:Bum ba bum ba bum ba bum ba bum ba bum ba
>          f2 (=g2| [K:Ab] a)>e f>e| a>e f>_f|  e>e f>f|
>          w:bum Oo,_ ba bum ba bum ba bum ba bum ba bum ba
> [V:4] [K:A] A4-|A4-| A4-| A2 (A2| [K:Ab] A4-|A4-|A4) |
>       w:Oo,___ Oo,___
> 
> 1. I add extra indentation for clarity; abc2ly doesn't like the lines that
> have whitespace before a "w:".  Whether this is a bug or not can easily be
> argued.

I'll push a commit shortly that ignores all whitespace at the begin of a line.


> 2. After removing the white space we still have an error with the third
> line of the baritone part (V3).

Currently, abc2ly assumes the order:
  ACCIDENTAL NOTENAME OCTAVE DURATION SLUREND

So, your "a)>e" confuses abc2ly, because the ) is before the duration...

I haven't found anything about a possible order of elements in an abc file in 
the specification.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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