lilypond-user
[Top][All Lists]
Advanced

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

Re: How to tie a note in a chord to a note outside a chord


From: Robin Bannister
Subject: Re: How to tie a note in a chord to a note outside a chord
Date: Sat, 7 Feb 2009 17:04:07 +0100

Jayaratna wrote:
This does not seem to work:
 <<{\stemUp c2^~ c4}\\{\stemDown g4 \stemUp a4_~ a}>>

Well, this looks like (part of) what you want! Or is it that you then don't see how to cope with the d2.? The manual mentions connecting ties across voices ( Snippets / Rhythms / Making an object invisible with the transparent property) but only deals with a simple case. Using that approach here probably involves a _third_ voice, which then needs some more tweaking to get things aligned. But do you know about tieWaitForNote? Try this: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
twfon = { \set tieWaitForNote = ##t }
twfoff = { \set tieWaitForNote = ##f }
\relative c''
<<
 {c4 g4 \twfon c4^~ a4_~ <a c>4 \twfoff <g bes>8 <fis a>8 <g bes>4 <a c>4}
\\ {g8 f8 e8 f8 g4 s4 d2. e4 }


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

This is quite readable. But if you insist on an exact match, replace the c4^~ with c2*1/2^~

Cheers,
Robin




reply via email to

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