On Sun 06 Jan 2002 at 12:33PM -0500, [EMAIL PROTECTED] wrote: > I downloaded a few files off the internet to test my parser. I think I > understand everything that I see in the abc notation except for one thing: > there are some lines that seem to start with a square bracket ([) but there > is no closing bracket and it doesn't seem to be part of a chord. What's this > supposed to do, and which tool supports it?
This is first and second ending of a repeat and it is described in the abc 1.6 standard: |1 - first variant ending, all one symbol | [1 - first variant ending as two symbols. Perhaps the linebreak is causing your parser to have problems ? James Allwright > > B|Add fdd|add fdd|BAB gfg|ece gfe|! > [1 Add fdd|add fdd|fdB AGF|GEF GF:|! > [2 afa bgb|afa gfe|fdB AGF|GEF GF|]! >From the standard: First and second repeats ======================== First and second repeats can be generated with the symbols [1 and [2, e.g. faf gfe|[1 dfe dBA:|[2 d2e dcB|]. When adjacent to bar lines, these can be shortened to |1 and :|2, but with regard to spaces | [1 is legal, | 1 is not. To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html