On Thu, Jun 22, 2006 at 10:47:02PM -0500, Trevor Ba?a wrote:
> On 6/22/06, V!ctor address@hidden <address@hidden> wrote:
> >Hi,
> >
> >I would like to have grace notes spaced proportionally to their
> >durations, like this:
> >http://music.columbia.edu/~vadan/lilypond/proportional_gracenotesB.pdf
> >
> >I thought that using proportionalNotationDuration would do it, but it
> >only affects the "real" notes. Here's what I get:
> >http://music.columbia.edu/~vadan/lilypond/proportional_gracenotes.pdf
> >with the following code:
> >
> >%
>
>*********************************************************************************
> >\version "2.9.7"
> >\include "english.ly"
> >
> >\layout{
> > \context{ \Score
> > % proportional notation ------------------
> > proportionalNotationDuration = #(ly:make-moment 1 32)
> > \override SpacingSpanner #'strict-note-spacing = ##t
> > \override SpacingSpanner #'uniform-stretching = ##t
> > }
> >}
> >
> >% THIS ...
> >\new Voice{\afterGrace c''2. { c''32 c''8 c''32 c''16} c''4 c''2 c''2}
> >% OR ...
> >\new Voice{ c''2. \grace{ c''32 c''8 c''32 c''16} c''4 c''2 c''2}
> >%
>
>*********************************************************************************
> >
> >>From looking at 6.5.7 in the manual (2.9), I can see it should be
> >possible, maybe somehow changing the 'grace note timing', but I can't
> >figure out how.
> >How could I do this? Is there an easier way?
>
> Hi Victor,
>
> I know grace notes have all sorts of interesting properties in
> LilyPond, but I haven't played around with them yet myself.
>
> Would it be possible to put the grace notes in their own voice and
> simply shrink the #'size attributes of the notes, stems, flags, etc,
> in that separate grace voice?
>
> That way the notes would *space* exactly like normal notes and you
> could manually reduce the graphic *size* of the notes.
>
> Would that work?
>
>
> --
> Trevor Bača
> address@hidden
Hi Trevor,
That works, and that's what I did to get this:
http://music.columbia.edu/~vadan/proportional_gracenotesB.pdf
but I was hoping there was an easier way... having two voices to represent one
complicates things a bit. For example, if you want to connect notes with a
glissando, like this:
http://music.columbia.edu/~vadan/proportional_gracenotes2.pdf
How do you connect to notes from different voices with the gliss?