[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Time signature before end of volta repeat
From: |
Thomas Morley |
Subject: |
Re: Re: Time signature before end of volta repeat |
Date: |
Sun, 26 Jun 2016 21:30:01 +0200 |
2016-06-26 21:27 GMT+02:00 Thomas Morley <address@hidden>:
> 2016-06-26 19:58 GMT+02:00 Imanuel Habekotte <address@hidden>:
>>
>> Thanks for trying to help Federico. Does anyone else know a solution to the
>> problem below?
>
>
> LilyPond interprets the input successively, repeats are disregarded.
>
> So your problem can be reduced to:
> { \time 3/4 R2. \time 4/4 \time 3/4 R2. }
> where you want to print two TimeSignatures at the same musical moment.
> LilyPond will _never_ do this.
> Honestly, I've never seen this before.
>
> Anyway, to get it printed as you like you'll have to work around.
> Here I choosed to hack BreathingSign.
> Ofcourse it's pure graphical and you have to repeat it in any Staff:
>
>
> \version "2.19.44"
>
> insertTime =
> #(define-music-function (fraction)(fraction?)
> #{
%% better to add:
\once
> \override BreathingSign.stencil =
> #(lambda (grob)
> (ly:grob-set-property! grob 'fraction fraction)
> (ly:grob-set-property! grob 'Y-offset '())
> (ly:grob-set-nested-property! grob
> '(space-alist staff-bar) '(extra-space . 1.0))
> (ly:time-signature::print grob))
> \breathe
> #})
>
> { \time 3/4 R2. \insertTime 4/4 \time 3/4 R2. }
>
> HTH,
> Harm