Hi Urs.
In your example, if you lay the second version out as if the notes had twice
the durations they actually have, then it looks nice:
\version "16.0"
firstVersion =\relative e'' {e2. e4 | g2. cis,4 |}
secondVersion =\scaleDurations #'(2 . 1)\relative e'' {e4~ e16[ fis] e[ fis]
g4. cis,8 |}
\score{ << \new Staff \firstVersion \new Staff
\secondVersion >>}
(Note that I have corrected the beaming in the second version.)
That produces a nice result for your example. Is it what you want?
For other examples this method might be unsatisfactory. If you need to try a
different method, you might like to try spacer rests ( s4 etc).
> Date: Thu, 04 Jul 2013 16:51:55 +0200
> From: Urs Liska <[email protected]>
> To: LilyPond Users <[email protected]>
> Subject: Synchronize music of different length
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>
> Hi all,
>
> what would be an elegant way to synchronize a passage of music that is
> of different length in two staves?
>
> I need to make an example where the composer made a second version that
> compressed two bars into one. At the same time he modified the melody
> around common anchor notes
> I would like to typeset these measures in two staves so that the
> corresponding notes are aligned, ignoring the metric situation.
>
> One would be:
> (\time 4/4)
>
> \relative e'' {
> e2. e4 | g2. cis,4 |
> }
>
> The other one:
>
> \relative e'' {
> e4~ e16[ fis] e[ fis g4. cis,8 |
> }
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user