[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Voices, ties and rests
From: |
James Harkins |
Subject: |
Voices, ties and rests |
Date: |
Wed, 15 Jun 2011 14:34:06 +0800 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi,
Just joined the mailing list after fiddling about with lilypond off and on for
the past month or so -- now I need to produce some "real" notation so, time to
hook up to the community.
Thanks to the excellent documentation (and the easy access to it in
Frescobaldi), I've been able to figure out almost everything that I need to do.
This one has me stumped (example pasted below).
I'd like to produce the visual effect of a tie between the octave E's spanning
the bar line concluding measure 1, which also crosses from the top to the
bottom staff. I have a vague guess that the answer might be a phrasing slur
with doubleSlurs enabled, but I'm wondering if there's a better way.
Plus... after that, I want to sustain the E's as a pedal point, and it feels a
bit uncomfortable to keep all of those notes in a top-staff voice (appearing in
the bottom staff just because of \change Staff = "left". How can I switch the
notes over to write them within the "left = " block, but still have ties?
One more question (thought this would be easy to find in the manual) -- since
effectively only one layer is displayed in m2-3, I don't need the rests to be
offset upward. How do I override that behavior of \voiceOne?
Thanks... btw, I'm completely hooked on lilypond after only a little bit of
use. Everything that I hated in Finale seems to be much better handled here :)
James
~~~
\version "2.12.3"
\include "english.ly"
\paper {
#(set-paper-size "a4")
}
global = {
\key d \major
\numericTimeSignature
\time 4/4
}
right = \relative c'' {
\global
\times 2/3 { <b, b'>8 ( <d d'>8 <e e'>8 ~ }
<e e'>4 ~ <e e'>8. <d d'>16 <e e'>4 )
<<
{ \voiceOne
r4 <b a' d>8 <b a' d> <b a' d>4 r8 <b a' d>8
<b a' d>4 <b a' d> r2
}
\new Voice { \voiceThree
\change Staff = "left"
<e e'>1 ~ <e e'>1
}
>> \oneVoice
}
left = \relative c'' {
\global
% Music follows here.
\voiceTwo
d,1 ~ d1 ~ d1
}
\score {
\new PianoStaff
<<
\new Staff = "right" { \right }
\new Staff = "left" { \left }
>>
\layout {
\context {
\RemoveEmptyStaffContext
% need to hide the left-hand staff when not used
% may need to move this into staves later?
\override VerticalAxisGroup #'remove-first = ##t
}
}
}
~~~
--
James Harkins /// dewdrop world
address@hidden
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks
- Voices, ties and rests,
James Harkins <=