lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

intractable collision of arpeggio and rest


From: Tom Cloyd
Subject: intractable collision of arpeggio and rest
Date: Wed, 22 May 2013 00:59:36 -0600
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

Running Lilypond 2.16.0 -

1. In the following 8 bar snippet, I am arpeggiating across the middle and upper voices. The arpeggio is colliding with the rest that's in the middle voice. I've tried about 9 ways and I cannot get the arpeggio in the right place. It needs to make room for that rest. Nothing works. Any ideas?

2. Also, is there any way to close the distance between the arpeggio and the notes to which it's applied? Seems like an awfully big gap; I'd like to lose about 30% of it.

3. Is this there any way to get more distance between the "instrument" line and the beginning of the score# It looks crowded to me.

Thanks for the help!

\version "2.16.0"

% (is Lilypond current version - checked 2013.05.12)

% template version 2013.05.15


\include "articulate.ly" % use the articulate.ly script (affects midi file - activates midi repeats, better articulation, etc.).

\include "_fingering-variables.ly" % variables needed to manage LH & RH fingering efficiently


%{NOTES -

*ToDos for this piece:

*

*

%}


#(set-global-staff-size 20) % 20 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 *****>

%dedication="dedication" %centered above title, top of page one

title = "Sarabande to Purcell's Minuet" %centered below dedication

%subtitle = "subtitle" %centered below title

subsubtitle = \markup { "(2013.04.25) - version" \date } %centered below subtitle - used as both composition date and ascension number for the coposition.

%piece = "(piece)" %{ useful only with multi-piece set given Opus number; set flush left below meter %}

instrument = "Classic Guitar" %{ centered below the subsubtitle, and at the top of pages (other than the first page). %}

% <***** flush right *****>

composer = \markup \center-column {"Tom Cloyd"} %flush right

%arranger = \markup \center-column { \italic "arranged by" \normal-text "Tom Cloyd"} %flush right

%opus = "{opus}" %flush right below arranger

% <***** centered, bottom of page *****>

copyright = "©2013 Tom Cloyd - address@hidden" %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 pages

}


\paper {

#(set-default-paper-size "letter" 'portrait)

system-system-spacing #'padding = #5 % controls padding within systems

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 = 1.4\in % needed for good printing with Okular

top-margin = 1\in

}


global = {

\clef "treble_8"

\key a \minor

\time 3/4

\tempo "Allegretto" 4=90 %{ 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. %}

}


% * VOICE >

melody = \relative c {

\voiceOne

\global

\sfol %LH fingering placement - normally, place it OUTSIDE of chord construct to keep this from having effect

\ssnou %string number placement

\ssfor %RH fingering placement - must always be in chord construct

\override Score.NonMusicalPaperColumn #'padding = #1.1

\partial 4 b'4 |

\repeat volta 2 { c c <d e,-2> |

e2 d4 |

e e\arpeggio g |

<a-4>2 ^"CIII - - - - -" g4 |


% * m 5 ===== ===== ===== =====

e d c |

g' f e |

%\break

<e f,>2. |

}

}


% * VOICE THREE =======================================

% used only when there are three parts

alto = \relative c {

\voiceThree

\stemDown

\sfol %LH fingering placement

\ssfor %RH fingering placement

\ssnol %string number placement

\partial 4 s4 |

\repeat volta 2 { f4\rest <a-3>2 |

\once \override Voice.Rest #'X-offset = #2.5 c4\rest a2 |

\once \override Voice.Rest #'X-offset = #2.5 c4\rest <b c,-\tweak #'extra-offset #'(4 . 0)-2>2\arpeggio |

\once \override Voice.Rest #'X-offset = #2.5 c4\rest

<d-\tweak #'extra-offset #'(0.5 . 0.7)-3

c-\tweak #'extra-offset #'(0 . -0.7)-1>2 |


% * m 5 ===== ===== ===== =====

f,4\rest c2 |

\once \override Voice.Rest #'X-offset = #3 c4\rest c2 |

\once \override Voice.Rest #'X-offset = #3 b'4\rest a c |

}

}


% * VOICE TWO ========================================

bass = \relative c {

\voiceTwo

\sfol %LH fingering placement - down is the default

\ssfor %RH fingering placement

\ssnod %string number placement

\partial 4 s4 |

\repeat volta 2 { a2. |

<f'-3> |

g |

f |


% * m 5 ===== ===== ===== =====

g, |

<b' e,,> |

a,2 e4 |

}

}


structure = {

\new 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 = "alto" \alto

\context Voice = "bass" \bass

>>

}


\score {

\structure

\layout {

indent = 0.0\cm % remove indent on first staff

}

}


\score {

\unfoldRepeats \articulate \structure

\midi { %causes generation of midi score\

}

}


-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<< address@hidden >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]