[EMAIL PROTECTED] wrote:
|
| I have a question, though: which abc programs accept voice lines like this:
| V:1 program 1 40 volume 75
|
| I am working on the voice header for iabc right now and I'm trying
| to figure out how the other programs do it. Unfortunately this will
| be one area where I can't match all of the other programs, I am
| going to have to choose a way and go with it.
You might have that luxury. As the one who made the mistake of
telling people about my online "ABC Tune Finder", I now find that the
only thing I can do is try to learn about all the variants and try to
make my software do something sensible with them. Telling people how
their online ABC should look is rather a waste of time that could be
spent tweaking my abc2ps clone to handle what's Out There.
(Of course, then I do get accused of encouraging nonstandard usages,
but I casually ignore this. I built this tool for myself, and I find
it most useful for my own purposes if it minimizes the hand editing
that I have to do on other people's tunes. It doesn't take very many
editing sessions until I calculate that I can save time by putting
the editing into the web program.)
| I am leaning right
| now towards requiring all voice commands to be in the format V:
| name=value...
Yeah; that's a lot easier to parse, and it's what the abc2ps clones
use. Too bad everyone didn't follow it. But it's probably too late
now. We're stuck with both.
| I'm also trying to decide whether or not to allow the
| V:1 at the beginning of the line, or to require what I think is the
| way proposed in the standard, which is [V:1] to change voices.
A bare V:1 initially really only works if you disallow any params.
The brackets are useful, because they unambiguously bound the voice
declaration, and params can be included. Some likely examples of this
are [V:3 clef=treble] (for a viola player) and [V:2 nm=piccolo] (for
a flute/piccolo player).
So you should certainly recognize [V:1]. What I've worked on (but
don't quite have working yet) is allowing a bare V:1 with the warning
that the space will terminate it and no params are recognized. If you
want to include a param, you have to use [V:1 ...], which is the
general form.
ABC generators should probably always use [V:1], because there will
probably always be programs that misinterpret it if the brackets are
missing. Your ABC will be more widely usable with the brackets.
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html