[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Polyphony Note head Merging
From: |
john-nedallascg |
Subject: |
Polyphony Note head Merging |
Date: |
Tue, 21 Mar 2006 19:50:02 -0800 (PST) |
The following code generates 7 measures with two voices. What I *want* is
for the lower voice half-notes to merge with the upper voice 1/8 notes. It
does the merge as expected for the meaure with two 1/4 notes (meas 2). Can
lilypond merge the half-notes in the same fashion? I hacked this out via
looking at examples and the meaning of the "##t" is unknown to me.
\version "2.7.32"
\header {
title = "Multi-Voice for Guitar"
}
#(set-global-staff-size 18)
#(set-default-paper-size "a4")
forcedBreak = \break
\paper{
% hsize = 2\cm
top-margin = 1\cm
left-margin = 0.75\in
line-width = 7.25\in
bottom-margin = 0.75\in
between-system-space = 1\in
raggedlastbottom = ##t
}
upperVoice = {
\stemUp
\set fingeringOrientations = #'(left)
\set Staff.instrument = "Guitar 1"
\set Staff.minimumVerticalExtent = #'(0 . -10)
e,8 b8 g8 e'8 e8 b8 g8 e'8 | %1 Guitar 1
e,8 b8 g8 e'8 e8 b8 a8 c'8 | %2
e,8 b8 g8 e'8 e8 b8 a8 c'8 | %3
\break
e,8 b8 g8 e'8 e8 b8 g8 e'8 | %4
fis,8 a8 d8 c'8 g,8 g8 d8 b8 | %5
b,8 g8 c8 g8 cis8 g8 d8 g8 | %6
dis8 c'8 a8 fis'8 a,8 c'8 a8 fis'8 \bar "|." %7
\break
}
middleVoice = {
\stemDown
s1 | %Intro Middle
Voice
s1 | %2
s1 | %3
s1 | %4
s1 | %5
s1 | %6
s1 | %7
}
lowerVoice = {
\set fingeringOrientations = #'(left)
\stemDown
e,2 e2 | %Intro Lower
Voice
e,4 e,4 e2 | %2
e,2 e2 | %3
e,2 e2 | %4
fis,2 g,2 | %5
b,4 c4 cis4 d4 | %6
dis2 a,2 | %7
}
\score {
\context Staff <<
\time 4/4
\override NoteCollision #'merge-differently-dotted = ##t
\override NoteCollision #'merge-differently-headed = ##t
\key e \minor
\clef "G_8"
\context Voice = one \override TupletBracket #'number-visibility = ##f
\upperVoice
\context Voice = two \middleVoice
\context Voice = three \lowerVoice
>>
\layout {
}
\midi { \tempo 4=60
}
}
Thanks, in advance!
John
--
View this message in context:
http://www.nabble.com/Polyphony-Note-head-Merging-t1321659.html#a3525881
Sent from the Gnu - Lilypond - User forum at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Polyphony Note head Merging,
john-nedallascg <=