lilypond-user
[Top][All Lists]
Advanced

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

Re: Grace notes with fixed spacing


From: Sven Axelsson
Subject: Re: Grace notes with fixed spacing
Date: Wed, 29 Dec 2010 18:10:15 +0100

OK, rtfm:ing and testing a bit further.

I created a music function like this:

pgrace = #(define-music-function (parser location notes) (ly:music?)
  #{ \newSpacingSection
     \override Score.SpacingSpanner #'spacing-increment = #0.9
     % override Score.SpacingSpanner #'strict-grace-spacing = ##t
     \grace $notes
  #}
)

in order to play around with different space settings.

I then have definintions like for instance

cad = { \pgrace { \small g32[ e8 d32] } }

that previously used plain grace instead of pgrace.

In the function above I've commented out strict-grace-spacing. That
setting does more or less what I want, but causes other spacing
problems as noted in the documentation. spacing-increment doesn't help
me much.

Does anyone here have a clue of what magic settings I could plug into
the music function to get the desired non-stretchable spacing? Or
maybe it isn't even possible?

-- 
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.



reply via email to

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