Hi Tom,
Are the console warnings what concern you, or is it the output you're
getting? Certain scores of mine get error warnings like this but as
long as it compiles and the output looks like I want, I ignore the
warnings.
The output of your code looks pretty good to me. :)
Jon
Tom Cloyd wrote:
If someone has a moment to look at this and give me some idea what the
problem might be, I'd appreciate it. I've always been able to figure
this out, before, but not now. This is only 3 bars of the score, but the
problem is cropping up like dandelions!
Here's the console output I'm getting, followed by the Lilypond code -
=== begin console ===
[EMAIL PROTECTED]:~/Music/Music scores/Lilypond$ lilypond
prelude_and_adagio-Em_2.ly
GNU LilyPond 2.11.62
Processing `prelude_and_adagio-Em_2.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
MIDI output to `prelude_and_adagio-Em_2.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
warning: too many colliding rests
warning: too many colliding rests
warning: too many colliding rests
Layout output to `prelude_and_adagio-Em_2.ps'...
Converting to `./prelude_and_adagio-Em_2.pdf'...
[EMAIL PROTECTED]:~/Music/Music scores/Lilypond$
=== end console ===
===begin code ===
\version "2.11.62"
#(set-global-staff-size 20) % 20 this is said to be standard for most
scores
date = #(strftime "%Y.%m.%d" (localtime (current-time))) % define a
variable to hold the formatted date
#(define RH rightHandFinger) %assigns value to RH
\header {
% ***** centered top ***** title = "Prelude and Adagio in E minor"
subtitle = "Adagio"
subsubtitle = \markup { "2008.09.09 - version" \date } %centered below
subtitle - and smaller font instrument = "Classical Guitar" %{
centered below the subsubtitle, and at the top of pages (other than the
first page). %}
% ***** flush right *****
composer = \markup \center-column {"Tom Cloyd" \small "[EMAIL PROTECTED]"
} %flush right meter = "Adaghietto"
% ***** centered, bottom of page ***** copyright = "© 2008 Tom
Cloyd" %centered at the bottom of the first page
tagline = \markup { \small "score set with Lilipond
(http://lilypond.org/web/)"} % centered at the bottom of the last page
}
\paper {
#(set-default-paper-size "letter" 'portrait)
ragged-last-bottom = ##t % turns off vertical justify
left-margin = 0.6\in
line-width = 7\in % works better than specifying R-margin
bottom-margin = 0.7\in
top-margin = 0.7\in
}
% variables =====================================
% LH fingering orientations
sfol = \set fingeringOrientations = #'(left)
sfor = \set fingeringOrientations = #'(right)
sfod = \set fingeringOrientations = #'(down)
sfou = \set fingeringOrientations = #'(up)
% RH fingering orientations
ssfol = \set StrokeFingerOrientations = #'(left)
ssfor = \set StrokeFingerOrientations = #'(right)
ssfod = \set StrokeFingerOrientations = #'(down)
ssfou = \set StrokeFingerOrientations = #'(up)
% string number orientations
ssnol = \set stringNumberOrientations = #'(left) %(down right up)
ssnou = \set stringNumberOrientations = #'(up)
ssnod = \set stringNumberOrientations = #'(down)
ssnor = \set stringNumberOrientations = #'(right)
% VOICE ONE ======================================== melody = \relative
c' {
\clef "treble_8"
\key g \major
\time 4/4
\tempo "Adagio" %{ metronome marking will be in parentheses, if
accompanied by verbal tempo marking; or just precede it with empty
parentheses to obtain metron. marking in parens. %} \voiceOne
\sfol %LH fingering placement
%\ssfor %RH fingering placement
\ssnol %string number placement r4 < f-\tweak #'extra-offset #'(0 .
1)-4-\tweak #'extra-offset #'(0 . 1)\2 e-0 c-2\3 > < g-1 e-3 b-2\3 >2 |
r4 < a-1 fis-3 dis-4 > < b-3 g-4\2 c,-1 >2 |
r4 < fis-2 dis-3 c-\tweak #'extra-offset #'(0 . -0.5)-4-\tweak
#'extra-offset #'(0 . -0.5)\3 > < g-2 b,-3 e,-1 >\laissezVibrer s4 |
}
% VOICE THREE =======================================
tenor = \relative c' {
\voiceThree
\stemDown
\sfol %LH fingering placement
%\ssfor %RH fingering placement
\ssnol %string number placement
a,2 e |
< b'-2\6 > a |
< c-2 > e, |
}
% VOICE TWO ========================================
bass = \relative c {
\voiceTwo
\sfol %LH fingering placement
%\ssfor %RH fingering placement
\ssnol %string number placement
e2.\rest < g-4 >4 |
f2.\rest < a-2 >4 |
e2.\rest < e'-4 >8 d, |
}
% following is a template
%% -\tweak #'extra-offset #'(0 . 0)
\score {
\context Staff = "guitar" \with {
\consists "Span_arpeggio_engraver"
}
<<
%\set Staff.instrumentName="Classical Guitar" %puts name to left
of line one
\set Staff.midiInstrument="acoustic guitar (nylon)"
\set Staff.connectArpeggios = ##t
\context Voice = "melody" \melody
\context Voice = "tenor" \tenor
\context Voice = "bass" \bass
>>
\layout {
indent = 0.0\cm % remove indent on first staff
}
\midi { %causes generation of midi score
}
}
=== end code ===
--
Jonathan Kulp
http://www.jonathankulp.com
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user