lilypond-user
[Top][All Lists]
Advanced

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

Re: \partial only on first measure?


From: Jan-Peter Voigt
Subject: Re: \partial only on first measure?
Date: Wed, 28 Sep 2011 09:02:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13

Hello Alberto,

in lilypond you achieve less typing with defining music-funtions:

--snip--
partialInline = #(define-music-function (parser location nom den mus)(integer? integer? ly:music?)
  #{
    \set Timing.measureLength = #(ly:make-moment $nom $den)
    $mus
    \unset Timing.measureLength
#})

\relative c' {
  \time 4/4
  \partial 4
  \repeat volta 2 { c4 | e g a } \alternative {
    { b | c b a } { \partialInline #1 #4 b | a g f }
  }
  c8 d | c1 |
}
--snip--

Cheers,
Jan-Peter

Am 27.09.2011 22:38, schrieb Alberto Simões:


On 27/09/2011 21:34, me wrote:
Use Timing.measureLength:

\new Staff \relative c' {
   \time 4/4
   c c c c |
   \set Timing.measureLength = #(ly:make-moment 1 4)
   c |
   \set Timing.measureLength = #(ly:make-moment 4 4)
   c c c c |
}

OK, I used that from time to time for psalms, but was expecting a less-typing solution :)

Good to know I'm in the good way
Thank you


2011/9/27 Alberto Simões <address@hidden
<mailto:address@hidden>>

    Hello

    I use (or abuse) of \partial whenever the author makes a smaller
    "measure" (not sure I am using the right name).

    With Lilypond 2.14, it complains that I cannot use partial after the
    start of a piece.

    What is the new approach? :)

    Thank you
    Alberto
    --
    Alberto Simoes
    CEHUM

    _________________________________________________
    lilypond-user mailing list
    address@hidden <mailto:address@hidden>
    https://lists.gnu.org/mailman/__listinfo/lilypond-user
<https://lists.gnu.org/mailman/listinfo/lilypond-user>








reply via email to

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