lilypond-user
[Top][All Lists]
Advanced

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

How to break timing coordination between my ossia and main staffs?


From: Rick Hansen (aka RickH)
Subject: How to break timing coordination between my ossia and main staffs?
Date: Sun, 17 Sep 2006 20:17:58 -0700 (PDT)

I'm using a user-created staff context to "accepts" ossia notes mid-stream
(see OssiaUnsynchronized below).

I have a piece where my ossia length will have a different number of
measures than the main staff (more or fewer).  So for example if the ossia
passage has 2 measures to the main staffs 1 measure I would like the ossia
and main staffs to be oblivious to each others timing but each staff still
know its own timing.  Below is an example where I would want to see a 2
measure ossia spread under the main score freely (IOW I dont want it to add
the blank measure to the main staff):

How can I make my ossia context totally oblivious to the timing that is
going on in the main score?  So that the ossia does it's own thing and the
main staff does it's own thing measure-wise.

I tried some hacking but still could not get what I wanted.

Eventually I want my template to have 2 different kind of ossia contexts
(see OssiaUnsynchronized and OssiaSynchronized below), one with coordinated
timing (OssiaSynchronized) and one that is free form and ignores the main
staff timing (OssiaUnsynchronized the object of my question).  The latter
should simply render a chunk of music without affecting the main staff at
all (my how-to question).



Thanks for any help, the example below will run as-is:.


%EXAMPLE BEGIN

\version "2.9.17"
\include "english.ly"

% Music file

myMusic = \relative c'' {
| e4 e e e
%\set timing = ##f
<< { a b c d } \context OssiaUnsynchronized { a b c d d c b a } >>
%\set timing = ##t
| b b b b
}

% Template file

\score {

   \myMusic

   \layout {
      \context { \Score
         \remove Span_bar_engraver
         \override SpanBar #'break-visibility = #center-invisible
         \remove   System_start_delimiter_engraver
         \accepts  "OssiaUnsynchronized"
         \accepts  "OssiaSynchronized"
      }

      \context { \Staff
         \name "OssiaUnsynchronized"
         \remove "Clef_engraver"
         \remove "Time_signature_engraver"
         \remove "Key_engraver"
         \remove "Timing_translator"
      }

      \context { \Staff
         \name "OssiaSynchronized"
         \remove "Clef_engraver"
         \remove "Time_signature_engraver"
         \remove "Key_engraver"
      }
   }

}


% EXAMPLE END



-- 
View this message in context: 
http://www.nabble.com/How-to-break-timing-coordination-between-my-ossia-and-main-staffs--tf2288777.html#a6357084
Sent from the Gnu - Lilypond - User forum at Nabble.com.





reply via email to

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