lilypond-user
[Top][All Lists]
Advanced

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

Re: Free rhythm in part of a bar


From: David Kastrup
Subject: Re: Free rhythm in part of a bar
Date: Fri, 12 Jun 2020 17:31:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Peter Toye <lilypond@ptoye.com> writes:

> I need to have part only of a bar notated with free rhythm. Also other staves 
> need to be synchronised. I've tried using \cadenzaOn but then I get a 
> barcheck problem and the next bar goes odd. I can't see anything about this 
> in the snippets or manuals. A minimal example follows.
>
> There seem to be two issues:
>
> 1) How do I get the desired result, which is one bar with the first 2 
> crotchets synchronised with the bass, and the rest unsynchronised?
>
> 2) This isn't in the example, but what if I want a free section within a bar, 
> but synchronised accompaniment at the beginning and end of the bar (e.g. a 
> chord on the final note of a cadenza).
>
> \language "english"
>
> \version "2.19.83"
>
> \score {
>
>  <<
>    \new Staff {
>    \time 4/4
>    {
>     c'4 4 4 4 |
>     4 4 \cadenzaOn 8 8 8 8 8 8 8 8 8 8  \bar "|" \cadenzaOff
>     R1
>    }
>  }
>
>  \new Staff {
>   \time 4/4
>   \clef "bass"
>   {
>     c1
>     4 4 r2\fermata |
>   }
>
>  }
>
>  >>
>
> } 
> Thanks in advance,

Switch off before the last note of the cadenza.  That's not particularly
great but works.

\language "english"

\version "2.19.83"

\score {

 <<
   \new Staff {
     \time 4/4
     {
       c'4 4 4 4 |
       4 4 \cadenzaOn 8 8 8 8 8 8 8 8 8 \cadenzaOff \partial 8 8 |
       R1
     }
   }
 >>
}

-- 
David Kastrup

reply via email to

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