lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stem between note and rest?


From: David Wright
Subject: Re: Stem between note and rest?
Date: Sun, 9 Sep 2018 13:34:23 -0500
User-agent: NeoMutt/20170113 (1.7.2)

On Sun 09 Sep 2018 at 19:23:29 (+0200), Noeck wrote:
> What happens here? What is this stem between the note and the rest?
> 
> \new Staff <<
>   \relative { \voiceOne c'' d e f }
>   \relative { \voiceTwo e' f r2 }
> >>

I thought Question One would be what is \voiceOne doing?

> It can be solved by initializing the voices explicitly.
> 
> \new Staff <<
>   \new Voice \relative { \voiceOne c'' d e f }
>   \new Voice \relative { \voiceTwo e' f r2 }
> >>

So now you're no longer trying to make a chord out of a note and a rest.
(li.ly:2:31: warning: cannot have note heads and rests together on a stem)

Cheers,
David.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]