Re: Two voice notes with one voice rests

2012-04-13 Thread Richard Sabey

Phil Holmes wrote
 Here's one way:
 
\relative c'' {
{ \override Rest #'staff-position = #0 d8 r d r d r d r } \\ { b8 s b 
s b s b s }  
   b d r b d r b d r b d r
}

This suggestion is fine for notes at those particular positions on the stave, 
but for higher or lower notes, a different method is needed. One way is to 
alter Rest #'staff-position at the Score level:

mus =
{
\override Score.Rest #'staff-position = #0
 { e'8 r g' r e'' r g'' r }
\\ { c'8 r e'8 r c'' r e'' r }

}

\score
{
\mus
}

Another way is to adopt Phil's method in one Voice, and use spacer rests in the 
other Voice:

mus =
{
 { \override Rest #'staff-position = #0
 e'8 r g' r e'' r g'' r
   }
\\ { c'8 s e'8 s c'' s e'' s }

}

\score
{
\mus
}


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


Two voice notes with one voice rests

2012-04-09 Thread Helge Kruse

Hello,

how can I write accords with stems like as used in two voices?

In the following example I would like to us the notes and stems from the 
first measure and the rests from the second measure.


\relative c'' {
   { d8 r d r d r d r } \\ { b8 r b r b r b r }  
  b d r b d r b d r b d r
}


Regards,
Helge

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


Re: Two voice notes with one voice rests

2012-04-09 Thread Phil Holmes
- Original Message - 
From: Helge Kruse helge.kruse-nos...@gmx.net

To: lilypond-user@gnu.org
Sent: Monday, April 09, 2012 6:17 PM
Subject: Two voice notes with one voice rests



Hello,

how can I write accords with stems like as used in two voices?

In the following example I would like to us the notes and stems from the 
first measure and the rests from the second measure.


\relative c'' {
   { d8 r d r d r d r } \\ { b8 r b r b r b r }  
  b d r b d r b d r b d r
}


Regards,
Helge


Here's one way:

\relative c'' {
   { \override Rest #'staff-position = #0 d8 r d r d r d r } \\ { b8 s b 
s b s b s }  

  b d r b d r b d r b d r
}



--
Phil Holmes



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