lilypond-user
[Top][All Lists]
Advanced

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

Re: barcheck warning when using Timing.measurePosition in polyphonic mus


From: Federico Bruni
Subject: Re: barcheck warning when using Timing.measurePosition in polyphonic music
Date: Mon, 23 Apr 2012 21:37:23 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

Il 23/04/2012 01:53, Nick Payne ha scritto:
If you replace

\set Timing.measurePosition = #(ly:make-moment -2 4)

with

\set Score.measureLength = #(ly:make-moment 2 4)

you don't get a barcheck error.

Thanks, this is what I was looking for.

I've noticed that - unlike measurePosition - measureLength settings remains also in the following bars.
I've tried to use \once \set but it doesn't work.
So I think that I have to \set it back to 4/4:

\version "2.15.36"

\new Voice \relative c'' {
  \time 4/4
  \partial 2 g2 |
  g2 g |
  \set Score.measureLength = #(ly:make-moment 2 4)
  g2 |
  % this is needed to go back to 4/4
  \set Score.measureLength = #(ly:make-moment 4 4)
  g2 g |
}




reply via email to

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