I have found that when I add the bit of code to get a laissezVibrer tie on a 
single note of a chord to a piece that has a couple of voices, the tie seems to 
leak to the other voice. When I run the attached file through Lilypond, the 
laissezVibrer tie specified in the bass voice also appears on the two 
simultaneous notes in the treble voice.

 

Nick

 

From: nick.pa...@internode.on.net [mailto:nick.pa...@internode.on.net] 
Sent: Thursday, 9 April 2009 10:41
To: lilypond-user@gnu.org; nick.pa...@internode.on.net
Subject: Re: LaissezVibrer tie on single note of chord

 

E-mail seems to have corrupted my test code:

\relative c' {
    <a e'>\laissezVibrer
    <a-\laissezVibrer e'>
    <<
    { \override LaissezVibrerTie #'direction = #DOWN a\laissezVibrer } \\
    { \stemUp e' }
    >>
}

On Thu 09/04/09 10:01 AM , nick.pa...@internode.on.net sent:

Is this possible without faking the chord by creating two voices? I tried 
putting the laissezVibrer command against a single note of the chord but 
nothing displays.

\relative c' {
    \laissezVibrer
    
    <<
    { \override LaissezVibrerTie #'direction = #DOWN a\laissezVibrer } \\
    { \stemUp e' }
    >>
}

\version "2.12.2"

treble = \relative c {
	<e' bes'>4 
	<cis a'>8. g'32( f) g8. e16 
}

bass = \relative c {
	<g g'>4 
	<<
		{ 
			\override LaissezVibrerTie #'direction = #DOWN 
			a8.\laissezVibrer 
		} \\
		{ 
			\once \override Stem #'flag-style = #'no-flag e'8. 
		}
	>>
	r16 r8. <a cis>16 
}

\score {
	\context Staff = guitar {
		\clef "treble_8"
		\key d \minor
		\time 3/4
		<<
			\context Voice = "1" { \voiceOne \treble }
			\context Voice = "2" { \voiceTwo \bass }
		>>
	}
	\layout { }
}

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to