Re: Bug with tuples with rest?

2018-02-02 Thread Noeck
Please ignore my answer to question 1). Caagr98 has the right explanation.

Joram

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


Re: Bug with tuples with rest?

2018-02-02 Thread Caagr98
1) Lilypond won't place lyrics on rests, and not on tied or slurred notes 
(except the first). Since everything in the tuplet is disqualified by one of 
those criteria, the lyric must go on the e.
2) \relative only affects the next music expression; in this case the tuplet. 
Thus, the e isn't inside the \relative, so it's absolute.

P.S. How would a slur starting on a rest be played? I've never seen that.


On 02/02/18 18:16, Markus Grunwald wrote:
> Hello,
> 
> might be that I have found a bug:
> 
> \version "2.18.2"
> 
> { { \relative c'' \tuplet 3/2 { r8( c8 d8) } e8 }
>   \addlyrics{ Bug? }
> }
> 
> 1) The text goes to the e while it should go to the tuplet
> 2) The e is not an e''
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 

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


Re: Bug with tuples with rest?

2018-02-02 Thread Noeck
Hi Markus,

you have a strange placement of  { and }.

> \version "2.18.2"
> 
> { { \relative c'' \tuplet 3/2 { r8( c8 d8) } e8 }
>   \addlyrics{ Bug? }
> }
> 
> 1) The text goes to the e while it should go to the tuplet

addlyrics tries to find the appropriate (closest?) voice to attach the
lyricsto. Thie e8 is the last voice in your music. I recommend to use
\new Lyrics and \lyricsto instead of \addlyrics.

> 2) The e is not an e''

The relative only affects the tuplet, you need { … } around the other
notes if you want to include them.

This makes more sense:

\relative c'' {
  \tuplet 3/2 { r8( c8 d8) } e8
}


Best,
Joram

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