Steven K. Mariner wrote:

>I'm having problems getting the variant ending feature to work for me.
>
>This works for 1 and 2 being different:
>
>     "A"A,2A, B,2C |1"D"D3 z3 :||2 "D"D6 |]

Your program should have flagged :|| as an error - the correct symbol for
a repeat bar is :|

>But I can't seem to find a way to indicate 1-3 are the same with 4 being
>different.  I've tried encapsulating it in quotes, brackets, parentheses...
>
>Am I missing something, or is the ABC standard missing something?

John Chambers has proposed a series of extensions to handle this, and
I tried to implement them in my own program.  It turned out to be a
nightmare to get it working in the player.  Eventually I got frustrated
with it and pulled all the code.  As far as I know, only John's abc2ps
clone implements this, and no player programs.

This is what the standard says:

" 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."

No mention of more than two endings.  As things stand at present the
only way you can do it so it will be universally understood is to use
the part-order syntax.

Put this in the tune header:

P:(AB)3AC

then write the tune like this:

[P:A] "A"A,2A, B,2C |[P:B]"D"D3 z3 ||[P:C] "D"D6 |]

Phil Taylor


To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to