[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: efficient score and part production
From: |
David Raleigh Arnold |
Subject: |
Re: efficient score and part production |
Date: |
Tue, 14 Oct 2003 10:37:41 -0400 |
On Monday 13 October 2003 10:50 pm, Paul Scott wrote:
> I have posted variations of this before and I am at least curious
> what some of you do to save work here.
Of course I use sly. I am converting it to python, and not yet around
the bend on the learning curve, but here is a sed filter that fills
empty lines with whatever you choose.
In xxx.ly:
measureRest = {\notes s1}
(The necessity for \notes is/was? a bug.)
The filter:
# pie.sed --put into empty lines, no tabs
/%pie=/{
h
s/.*%pie=//
x
}
/^ *$/{
g
}
Sample file:
notes notes %pie=measureRest
notes %pie=somethingElse
-----end
Result:
notes notes
measureRest
measureRest
measureRest
notes
somethingElse
-----end
To use it in an xxx.ly file which is not just parts, address the
interesting portions:
/%{start%},%{end%}/{
#put stuff here
}
or use:
%pie=
daveA
--
Br`er Fox told Br`er Rabbit that the Tar Baby had dissed him, and Fox
made a
dummy out of tar and put him in Rabbit's path. When the Tar Baby
failed to
return a civil greeting, Rabbit punched him with a right, a left, both
feet and
butted him with his forehead. Along came Br`er Fox who saw that he was
thoroughly "stuck up". Br`er Fox is much smarter than Br`er Rabbit,
and in
spite of all Rabbit's pleas for help, no one is going to unstick him
and throw
him in the briar patch, so now Br`er Fox is liesurely eating Rabbit's
liver.
D. Raleigh Arnold dra@ http://www.openguitar.com address@hidden
Re: efficient score and part production,
David Raleigh Arnold <=
Re: efficient score and part production, Nicolas Sceaux, 2003/10/14