[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proportional grace notes
From: |
Trevor Bača |
Subject: |
Re: proportional grace notes |
Date: |
Thu, 22 Jun 2006 22:47:02 -0500 |
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