Melodeon.net Forums
Discussions => Tunes => ABC => Topic started by: Roger Hare on July 29, 2019, 04:55:28 PM
-
I've come across an (old) ABC file which has instructions like:
% !STAVE 0 '' @
% !INSTR 'Staff 1' 0 0 @
I've looked in GG's Making Music With ABC2, Steve Mansfield's Tutorial, Steve Merrony's
ABC Reference Card and the ABC standard and can find no reference to such instructions.
They do appear to be commented out...
Can anyone tell me what they mean please?
Thank you.
Roger.
-
I do not recognise them, and they do indeed appear to be commented out - but, maybe that is on purpose. Commented out lines are sometimes still used as messages to the programs interpreting the ABC code (eg they both end in a suspicious @ sign), so, I would guess maybe they're instructions for an older piece of software that has fallen from favour. On top of that guess, I'd think that they seem to be attempting to label said staves in some unimportant way.
-
... I would guess maybe they're instructions for an older piece of software that has fallen from favour. On top of that guess, I'd think that they seem to be attempting to label said staves in some unimportant way.
I think you may well be correct.
The text associated with the file mentions Harmony Assistant, but I can't see anything about
these directives in the HA web pages (indeed, it seems to be an entirely GUI-interface program).
I tried 'uncommenting' the lines to see what happened and (as I expected) the ABC generated
score was mangled (for instance, the A and E of STAVE were interpreted as musical notes A and E).
I think I will just delete them...
Thanks.
Roger
-
They're just some kind of aide memoire manual comments, aren't they? I use Harmony Assistant. It's entirely GUI based, though you can import and export ABC. Results can be quirky but I've never seen it generate anything like that.
-
The final answer is that this stuff is an unwanted, but harmless by-product of a program called
Music Time and some other unidentifed software used to generate the ABC files. Nothing to do
with ABC...