lilypond-user
[Top][All Lists]
Advanced

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

Question on creating an "ossia" with different times?


From: Wim van Dommelen
Subject: Question on creating an "ossia" with different times?
Date: Fri, 29 Oct 2010 22:01:49 +0200

Hi,

I'm trying to create an alternative Staff ("ossia") with a changing of the times. I didn't succeed. I'll try to explain with this example. (simplified with all my rubbish deleted, just the basic notes left:-):

\version "2.10.0"

\paper {
        #(set-paper-size "a4")
        #(define dump-extents #t)
        indent = 0\mm
}

BCLOne = {
        \relative c' {
                \time 3/2
                c c d d es es |
                e e fis fis g g |
                \time 1/4
                r |
                \time 4/2
                c, c d d es es e e |
                \time 1/4
                r |
                        \break
                \time 3/2
                r c d d es es |
                \time 4/2
                e, e fis fis gis gis a a |
        }
        \bar "|."
}

BCLTwo = {
        \relative c' {
                \time 3/2
                c c d d es es |
                \time 2/2
                e e fis fis |
                \time 3/4
                g g r |
                \time 3/2
                c, c d d es es |
                \time 3/4
                e e r |
                        \break
                \time 3/2
                r c d d es es |
                \time 4/2
                e, e fis fis gis gis a a |
        }
        \bar "|."
}

\book {
        \score {
                {
                        \override Staff.TimeSignature #'style = #'()
                        \override Score.BarNumber #'break-visibility = 
#end-of-line-invisible
                        \clef violin
                        \key d \major
                        \BCLOne
                        \break
                        \BCLTwo
                }
                \layout {}
        }
}

If you run this you will get twice 7 measures. What I want and tried is to put these two on top of each other. All notes are quarter notes, the total length of the pieces is exactly the same, and if you write it out manually you can put it so that for example the third quarter of measure 10 exactly fits on measure 3. The same happens a few bars further on.

Now mixing it gets me in trouble for the change of the time (2/2, 3/4) which has a global result. Either I'm misinterpreting it, or I just don't understand how to do it.

Anyone who can help me with a solution? (or just tell me we just can't, that's fair enough!)

Regards,
Wim van Dommelen.





reply via email to

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