lilypond-devel
[Top][All Lists]
Advanced

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

Following voices in chords?


From: David Kastrup
Subject: Following voices in chords?
Date: Fri, 07 May 2010 15:21:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi, how would I do something like the following _properly_:

{ \clef bass  <<
                 { <e gis b>\glissando s4 <dis a b>4 }
                 \new Voice { \hideNotes <gis b e>\glissando s4 <a b dis>4  }
                 \new Voice { \hideNotes <b e gis>\glissando s4 <b dis a>4 }
              >>
}

Note that this has several deficiencies: We get clashing notecolumn
warnings, and the s4 that is required for proper length glissando lines
takes musical time.  The obvious solution, writing s4*0 instead, does
not change the spacing at all!

Note that this is already better than the snippet version for double
glissandi which attaches a glissando bar to a differently shaped
invisible voice (consequently shifting it), and which does not cater for
chords that need to rearrange noteheads in order to properly fit one
stem.  Rotating the chord notes (rather than picking just the bottom
notes for the hidden voice) and not using \\ caters for the hidden notes
being in the same place as the original ones -- hence the clashing
notecolumns!

I do not actually need this for glissandi, but for following voices from
chord to chord (and I doubt that the midi performance would be all too
hot in case \glissando is translated into midi).

-- 
David Kastrup




reply via email to

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