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.

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!

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.

-- 

John Atchley
----------------------------------
<http://www.guitarnut.com>
<http://www.guitarnuts.com>
So many guitars, so little time...
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to