i'm having trouble with notes clashing in the sor minuet score i just
added to http://pobox.com/~jeff.covey/scores.html (it's short, so i'll
insert it here as well.)
the conflicts in the middle voice are solved by turning Voice.hshift
on and off, but doing the same in the bass voice doesn't change
anything (in the last beats of measures 9 and 11, etc.). why is that?
thanks,
jeff
\header {
filename = "sor-op2-04.ly";
title = "minuet";
piece = "andante";
opus = "op. 2, no. 4";
source = "";
composer = "fernando sor";
enteredby = "jeff covey <[EMAIL PROTECTED]>";
copyright = "public domain";
}
%{
i know that
piece = "tempo";
isn't correct, but it looks better than attaching it to the first
note.
%}
\version "1.0.7";
global = \notes {
\clef violin;
\time 3/4;
\skip 2.*8; \bar ":|:";
\skip 2.*16; \bar ":|";
}
midi_stuff = {
\property Staff.midi_instrument = "acoustic guitar (nylon)"
\property Staff.transposing = -12 % guitar music actually sounds an
% octave lower than written.
}
melody = \notes \relative c'' {
\stemup
c4 c c c cis d f f f f2 e4
g e a d,2 e4 [g8. ~ fis16] f4 e e d r
% 9
d4 cis e d4. e8 f4 c b d c4. d8 e4
g g g fis2 g4 a e fis fis g [2/3 g8 ~ f d]1/1
% 17
c4 c c c cis d d d d d dis e e e e e f fis <[g8. e> c16]
e,4 <[d8. b> e16] d4 c r
}
middlevoice = \notes \relative c' {
\stemdown
e4 f g a2. b4 c d
\stemup
\property Voice.hshift = 1
d4.. b16
\property Voice.hshift = 0
c4
e \skip 4*1; c b2 c4
\stemdown
a b
\stemup
c c b \skip 4*1;
% 9
bes a a
\property Voice.hshift = 1
a2
\property Voice.hshift = 0
a4 aes g g g4.
\type Voice=melody { g8 }
g4 e' e es d2 d4 e c <c a> c b \skip 4*1;
% 17
\stemdown
e,4 f g a2. fis4 g a b2. gis4 a b c2 c4
\stemup
\skip 4*1; c4
\stemdown
f,
\stemup
f e
}
bass = \notes \relative c' {
\stemdown
c4 d e f2.
g4 a b c g c,
r c' f, g f e <d a'> <g b> c, g2 r4
% 9
g'2
\property Voice.hshift = 1
g4
\property Voice.hshift = 0
f4. e8 d4 f2
\property Voice.hshift = 1
f4
\property Voice.hshift = 0
e4. d8 c4
c' c c
\property Voice.hshift = 1
c2
\property Voice.hshift = 0
b4 c c, d g2 r4
% 17
c,4 d e f2. d4 e fis g2. e4 fis gis a2 aes4 g r g, c2 r4
}
\score {
\type Staff <
\global
\type Voice=melody { \melody }
\type Voice=middlevoice { \middlevoice }
\type Voice=bass { \bass }
>
\paper {
gourlay_maxmeasures =8.;
\translator { \BarNumberingStaffContext }
}
}
\score {
\type Staff <
\midi_stuff
\global
\melody
\middlevoice
\bass
>
\midi {
\tempo 4=80;
}
}
% EOF
--
|----------------------------------------------------------------------------|
| jeff covey [EMAIL PROTECTED] http://pobox.com/~jeff.covey/ 410-669-4926 |
|----------------------------------------------------------------------------|
| i'd give my right arm to be ambidextrous. |
|----------------------------------------------------------------------------|