>>>>> "Phil" == Phil Taylor <[EMAIL PROTECTED]> writes:

    Phil> 1.  Locate the first line of the tune.
    Phil> 2.  Remove all newlines from there on.
    Phil> 3.  Replace newlines on every fourth bar line, unless it's a :|2, in which
    Phil>     case the newline goes on the next bar line.

    Phil> Problems:

    Phil> It's going to screw up some carefully-composited abc, especially
    Phil> abcs with more or less than 4 bars per line.

Or abcs with no barlines at all.

    Phil> It's not going to be easy to make this water-tight.  In fact,
    Phil> considering that it only takes four mouse clicks and four keystrokes
    Phil> to fix the original manually, is it really worth writing all the
    Phil> code necessary to fix it automatically?

Yes, if you need to have a program print it automatically.

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (801) 365-6574 
233 Broadway, Cambridge, MA 02139
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to