[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string number problem
From: |
Tom Cloyd |
Subject: |
Re: string number problem |
Date: |
Mon, 18 Aug 2008 16:45:33 -0700 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080724) |
Carl,
What a kind, instructive, helpful response! Thanks. Eager to try it -
including following the path-to-the-answer you describe (so I can learn
to help myself better).
Thanks for taking the time to spell it all out.
t.
Carl D. Sorensen wrote:
Tom Cloyd wrote:
--------------------------
OK - here's a minimal version of my problem -
[running ver. 2.10.33]
input:
====
\relative c'{ <fis-1\4>8 [(g-2) a-4] <b-1\3> [c-2 d-4] <e-1\2> [fis-3 g-4] |
}
console output:
==========
GNU LilyPond 2.10.33
Processing `test.ly'
Parsing...
warning: Not in toplevel scope
Interpreting music...
test.ly:31:36: warning: Ignoring grob for slur. avoid-slur not set?
\relative c'{ <fis-1
\4>8 [(g-2) a-4] <b-1\3> [c-2 d-4] <e-1\2> [fis-3 g-4] | }
[1]
--------------------------
The clue is in the warning message: avoid-slur not set.
The short answer -- add an override:
\relative c'{
\override StringNumber #'avoid-slur = #'around
<fis-1\4>8 [( <g-2>) a-4] <b-1\3> [c-2 d-4] <e-1\2>
[fis-3 g-4] | }
The longer question:
How do we find the override to add? (The LilyPond Index doesn't have an
entry for avoid-slur).
The longer answer:
A. Go to the docs (GDP preferably, since they're the most up-to-date) and
find the section on String Numbers.
B. Follow the Internals Reference link to StringNumber at the bottom of the
page.
C. Click on interfaces (at the bottom of the page) until I find one that has
avoid-slur as a property. It happens to be grob-interface.
D. Choose the best value for avoid-slur in this application. In my
opinion, for this usage, around is the proper value.
E. Go to the Learning Manual (part of the GDP docs, or 2.11 docs) to see
the syntax, because I can never remember how to do it right. Section 4.1.4
is what I need to remind me.
F. Add the tweak to the input. Try it, and -- it works!
HTH,
Carl
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< address@hidden >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Re: string number problem, (continued)
- Re: string number problem, Ian Hulin, 2008/08/18
- Re: string number problem, Graham Percival, 2008/08/18
- Re: string number problem, Kieren MacMillan, 2008/08/18
- Re: string number problem, Neil Puttock, 2008/08/18
- Re: string number problem, Kieren MacMillan, 2008/08/18
- Re: string number problem, Graham Percival, 2008/08/18
- Re: string number problem, Neil Puttock, 2008/08/18
- Re: string number problem, Graham Percival, 2008/08/18
- Re: string number problem, Neil Puttock, 2008/08/18
- Re: string number problem, Graham Percival, 2008/08/18
Re: string number problem,
Tom Cloyd <=
FW: string number problem, Carl D. Sorensen, 2008/08/19