Re: rest placement in multi-voice piano staff

2015-03-27 Thread Flaming Hakama by Elaine

 Hi David,

  I was wondering if anyone had a clue as to how to get the eighth rest in
 voice three to be shown above the half note in voice four?

 Yes: use Lilypond’s automatic voicing:

 \new PianoStaff 
 \new Staff = upper 
 \new Voice = first { \voiceOne \pianoVoiceOne }
 \new Voice = second { \voiceTwo \pianoVoiceTwo }
 
 \new Staff = lower 
 \clef bass
 \new Voice = third { \voiceOne \pianoVoiceThree }
 \new Voice = fourth { \voiceTwo \pianoVoiceFour }
 
 

 This may also allow you to reduce or totally avoid the use of \stemUp and
 \stemDown (which are extremely rare in my scores, despite my heavy use of
 polyphony).

 Hope this helps!
 Kieren.



Yes, very much thanks.

I had intended to use the automatic voicing, but somehow got the syntax
wrong.
Nor did I realize that for voices 3 and 4, you use \voiceOne and \voiceTwo.

That explains why I had to add lots of \stemUp and \stemDown commands.
I was expecting everything to just work, and was bummed that I had to deal
with lots of cases manually.


David Elaine Alt
415 . 341 .4954   *Confusion is
highly underrated*
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rest placement in multi-voice piano staff

2015-03-27 Thread Kieren MacMillan
Hi David,

 I had intended to use the automatic voicing, but somehow got the syntax 
 wrong.   
 Nor did I realize that for voices 3 and 4, you use \voiceOne and \voiceTwo.

That’s not exactly the way I would put it…

What you call “voices 3 and 4” are actually voices 1 and 2 **in the lower 
staff**. If you have three or four actual different (polyphonic) voices in a 
single staff, then you would use \voiceThree and \voiceFour. In other words, 
each Staff context can have its own \voiceOne, \voiceTwo, etc. [Voice] contexts.

 That explains why I had to add lots of \stemUp and \stemDown commands.

Yes. And with more complex scores, you’d have to add lots of other similar 
commands (e.g., \tieUp, \stemUp), all of which Lily handles automatically when 
you use the correct structure.

Best regards,
Kieren.
___

Kieren MacMillan, composer
www:  http://www.kierenmacmillan.info
email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rest placement in multi-voice piano staff

2015-03-25 Thread Kieren MacMillan
Hi all,

Just for the benefit of anyone reading this thread after the fact…

 you can specify a placement for the rest by indicating a note\rest. in this 
 case i used g8\rest

While that is technically true, we should be encouraging the proper use of the 
\voiceX commands, which (as I’ve shown) solve the OP’s problem, and introduce a 
host of other benefits.

Best regards,
Kieren.
___

Kieren MacMillan, composer
www:  http://www.kierenmacmillan.info
email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: rest placement in multi-voice piano staff

2015-03-24 Thread Stephen MacNeil
you can specify a placement for the rest by indicating a note\rest. in this
case i used g8\rest


hope that helps


stephen



\include english.ly


pianoVoiceOne = \relative c' { fs b d2 f c' }

pianoVoiceTwo = \relative c' { s1 }

pianoVoiceThree = \relative c' { \stemDown g8\rest a fs [ d ] \stemUp b gs
e'

gs4 }

pianoVoiceFour = \relative c, { \stemDown b2 e }


 

\new PianoStaff 

\new Staff = upper 

\new Voice = first \pianoVoiceOne

\new Voice = second \pianoVoiceTwo



\new Staff = lower 

\clef bass

\new Voice = third \pianoVoiceThree

\new Voice = fourth \pianoVoiceFour







\layout { }
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rest placement in multi-voice piano staff

2015-03-24 Thread Kieren MacMillan
Hi David,

 I was wondering if anyone had a clue as to how to get the eighth rest in 
 voice three to be shown above the half note in voice four?

Yes: use Lilypond’s automatic voicing:

\new PianoStaff 
\new Staff = upper 
\new Voice = first { \voiceOne \pianoVoiceOne }
\new Voice = second { \voiceTwo \pianoVoiceTwo }

\new Staff = lower 
\clef bass
\new Voice = third { \voiceOne \pianoVoiceThree }
\new Voice = fourth { \voiceTwo \pianoVoiceFour }



This may also allow you to reduce or totally avoid the use of \stemUp and 
\stemDown (which are extremely rare in my scores, despite my heavy use of 
polyphony).

Hope this helps!
Kieren.
___

Kieren MacMillan, composer
www:  http://www.kierenmacmillan.info
email:  i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user