[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: override minumum and maximum barlength
From: |
Rob Canning |
Subject: |
Re: override minumum and maximum barlength |
Date: |
Wed, 14 Jan 2009 19:18:34 +0000 |
User-agent: |
Mozilla-Thunderbird 2.0.0.17 (X11/20081018) |
Rob Canning wrote:
hi
i am still working on a piece using proprtional notation - i now have
it looking the way i want except for the minimum barlength being too
short
- i would like it so even 16th notes are given plenty of space and all
greater values are relative and proportional to that.
not sure how to achive this but i think maybe my answer is here:
http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/SpacingSpanner#SpacingSpanner
though i'm not sure how to implement what i find there.
this is what i have atm:
%%% proportional note spacing
\override SpacingSpanner #'uniform-stretching = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 1 24)
i'm not sure if this code is making much difference
ok so i have tried some more and still i cant see any effect
i have now added
%%% proportional note spacing
\override SpacingSpanner #' springs-and-rods =
#ly:spanner::set-spacing-rods
\override SpacingSpanner #'uniform-stretching = ##t
\override SpacingSpanner #'shortest-duration-space = #14.4
%\set Score.proportionalNotationDuration = #(ly:make-moment 1 24)//////
having seen this in define-grobs.scm
(SpacingSpanner
. (
(springs-and-rods . ,ly:spacing-spanner::set-springs)
(common-shortest-duration .
,ly:spacing-spanner::calc-common-shortest-duration)
(average-spacing-wishes . #t)
(shortest-duration-space . 2.0)
(spacing-increment . 1.2)
(base-shortest-duration . ,(ly:make-moment 3 16))
(meta . ((class . Spanner)
(interfaces . (spacing-options-interface
spacing-spanner-interface))))))
however i cant seem to make my code to work :(
am i barking up the right tree at least?
cheers
rob
what i really need is something like this psudo code
\override Bar #'bar-length = 50
i think setting a minumum and maximum barlength will fix things well
enough for now...
cheers
rob
an ugly sample of the a full draft score is here
http://pastebin.com/m4f43e09f
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user