John Atchley wrote:
>On Tue, 14 Nov 2000, Phil Taylor wrote:
>> BarFly doesn't require this; you can write the music either on the
>> same line as the V: field or on the following line, but the former
>> makes for compact and readable music, and I would like to retain it
>> as an option. (It's not difficult to program; you just have to treat
>> a space following the voice number as equivalent to a line end.)
>
>Doing so would blow all the abc with V:1 clef=bass (used by abcm2ps and
>very common in multi-voice abc files) right out of the water.
V:1 clef=bass blows BarFly out of the water! If you want to change
clef in BarFly you have to do it in a K: field, so you would write
that as V:1 [K:bass] or V:1 [K:clef=bass] or
V:1
K:bass
etc.
>To accomodate both barfly and abcm2ps variants you would have to scan
>ahead on the v: line until you can guess (and that's all you can do) that
>the line contains music instead of other data such as clef or octave. In the
>clef=bass example, such a search would likely find that the line contained
>MUSIC! (c is a note, l is a valid shortcut for decorations, e, f, =b, and
>a are
>all notes, s is another valid shortcut for decorations). So, you would
>then have
>to search the line for keywords such as clef=, and even then you couldn't be
>sure that you weren't interpreting music as keywords!
Yes, the two approaches are mutually incompatible.
>Finally, just to throw an even bigger wrench in the works, I'm pretty sure
>I've
>seen a bit of abc that names the voices, instead of numbering them. I.e.
>something like V: alto to switch to the voice named alto. Apparently,
>there must
>be some package out there that uses this convention.
>
Yes I've seen that. I thought that came from an early version of
abc2ps. You could do it with macros in BarFly if you really wanted
to - just define V: alto to be equivalent to V:2 or whatever.
Phil Taylor
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html