lilypond-user
[Top][All Lists]
Advanced

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

Re: proportional grace notes


From: Eduardo Vieira
Subject: Re: proportional grace notes
Date: Fri, 23 Jun 2006 20:56:56 -0300

Hi! I may be giving you the wrong information, but in the Program reference 
(Scheme Functions) about ly:make moment it reads: 
"Function: ly:make-moment n d gn gd 

    Create the rational number with main timing n/d, and optional grace 
timin gn/gd. 

    Moment is a point in musical time. It is consists of a pair of rationals 
(m, g), where m is the timing for the main notes, and g the timing for grace 
notes. In absence of grace notes, g is zero. 

I never tested nor dealt with this, but the solution my have to do with it. 

Regards, 

Eduardo 

----- Original Message ----- 
From: "V!ctor address@hidden" <address@hidden> 
To: <address@hidden> 
Sent: Thursday, June 22, 2006 8:02 PM 
Subject: proportional grace notes 


> 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? 
> 
> 
> Thanks, 
> 
> Victor. 
> 
> -- 
>  V!ctor address@hidden 
>  address@hidden 
> 
> -- 
> http://www.fastmail.fm - Access your email from home and the web 
> 
> 
> 
> _______________________________________________ 
> lilypond-user mailing list 
> address@hidden 
> http://lists.gnu.org/mailman/listinfo/lilypond-user 
> 



reply via email to

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