lilypond-user
[Top][All Lists]
Advanced

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

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


From: Mats Bengtsson
Subject: Re: How to break timing coordination between my ossia and main staffs?
Date: Mon, 18 Sep 2006 08:34:31 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060730 SeaMonkey/1.0.4

I hope you have read the section on "Polymetric notation". It shows several
methods to modify the synchronization between staves.

Yet another alternative is to use ^\markup{\score{...}}

  /Mats

Rick Hansen (aka RickH) wrote:
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




--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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