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 <al...@alfarrabio.di.uminho.pt
<mailto:al...@alfarrabio.di.uminho.pt>>

    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
    lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
    https://lists.gnu.org/mailman/__listinfo/lilypond-user
<https://lists.gnu.org/mailman/listinfo/lilypond-user>






_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to